[milters] Archive

Lists Index Date Thread Search

Article: 1785
From: Jiri Lorman
Date: 2007-10-21 11:51:18 -0400
Subject: libsnert compilation problem

Removal...........: milters-request@milter.info?subject=remove
More information..: http://www.milter.info/#Support
--------------------------------------------------------

Hallo Anthony,

I run on my unix (RH) machine your libsnert-1.4 and milter-limit-0.13
allready.

Today I am trying to get new libsnert-1.65 to compile but whatever I tried
I always end up with - see bellow.


***************************************************************
==> /zalohy/src/com/snert/src/lib/../tools
***************************************************************

gcc  -I/usr/include/db3 -I/zalohy/src/org/sqlite/include -D_REENTRANT -O2
-Wall -I./../../include   -L/zalohy/src/org/sqlite/lib -s -L./../../lib  -o
ansi ansi.c
gcc  -I/usr/include/db3 -I/zalohy/src/org/sqlite/include -D_REENTRANT -O2
-Wall -I./../../include   -L/zalohy/src/org/sqlite/lib -s -L./../../lib  -o
flip flip.c -lsnert
gcc  -I/usr/include/db3 -I/zalohy/src/org/sqlite/include -D_REENTRANT -O2
-Wall -I./../../include   -L/zalohy/src/org/sqlite/lib -s -L./../../lib  -o
smtpout smtpout.c -lsnert  -lpthread -ldl
./../../lib/libsnert.a(socket2.o)(.text+0x428): In function
`socketAddressCreate':
: undefined reference to `VectorGet'
./../../lib/libsnert.a(socket2.o)(.text+0x451): In function
`socketAddressCreate':
: undefined reference to `VectorDestroy'
..... 
: undefined reference to `VectorAdd'
collect2: ld returned 1 exit status
make[1]: *** [smtpout] Error 1
make[1]: Leaving directory `/zalohy/src/com/snert/src/tools'
make: *** [build] Error 2


My ./configure output:
LibSnert/1.65.921
Copyright 1996, 2007 by Anthony Howe. All rights reserved.

  Platform............: Linux gcc
  Berkeley DB.........: 3.2 -ldb-3.2
  POSIX Threads.......: yes yes
  SQLite3.............: yes
  Sendmail libmilter..: yes
  Semaphore API.......: SYSTEMV_API
  Shared Memory API...: SYSTEMV_API
  Time API............: POSIX_API
  CFLAGS..............: -I/usr/include/db3 -I/zalohy/src/org/sqlite/include
-D_REENTRANT -O2 -Wall -I${top_srcdir}/../../include
  LDFLAGS.............: -L/zalohy/src/org/sqlite/lib -s
-L${top_srcdir}/../../lib
  LIBS................: -lpthread -ldl

Please, tell me where is problem...  Thank you very much for help!

Jiri Lorman



-- Binary/unsupported file stripped by Ecartis --
-- Type: application/octet-stream
-- File: make.out



Lists Index Date Thread Search