[milters] Archive

Lists Index Date Thread Search

Article: 1783
From: J.P van Oijen
Date: 2007-10-18 19:08:57 -0400
Subject: libsnert problems compile

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


Hello,

I am trying to get libsnert to compile but whatever I tried I always end up with :

(I checked info archive and google but could not find a reference who can
point me the right way)

gcc version 2.95.3
Old slackware box

gcc  -I/usr/include/db3 -D_REENTRANT -O2 -Wall -I./../../include   -s
-L./../../lib  -o smtpout smtpout.c -lsnert  -lpthread -ldl 
./../../lib/libsnert.a(socket2.o): In function `socketAddressCreate':
socket2.o(.text+0x3c5): undefined reference to `VectorGet'
socket2.o(.text+0x3f2): undefined reference to `VectorDestroy'
./../../lib/libsnert.a(Dns.o): In function `DnsGetRecordList':
Dns.o(.text+0xf00): undefined reference to `VectorCreate'
Dns.o(.text+0xf1b): undefined reference to `VectorSetDestroyEntry'
Dns.o(.text+0xf98): undefined reference to `VectorDestroy'
Dns.o(.text+0xfa9): undefined reference to `VectorAdd'
Dns.o(.text+0xfc2): undefined reference to `VectorDestroy'
./../../lib/libsnert.a(Dns.o): In function `DnsIsCircularReference':
Dns.o(.text+0x102c): undefined reference to `VectorGet'
Dns.o(.text+0x1055): undefined reference to `VectorLength'
Dns.o(.text+0x1079): undefined reference to `VectorAdd'
./../../lib/libsnert.a(Dns.o): In function `DnsResolve':
Dns.o(.text+0x10e0): undefined reference to `VectorGet'
./../../lib/libsnert.a(Dns.o): In function `DnsResolveAnswers':
Dns.o(.text+0x11ac): undefined reference to `VectorGet'
Dns.o(.text+0x12b0): undefined reference to `VectorGet'
Dns.o(.text+0x12c5): undefined reference to `VectorDestroy'
Dns.o(.text+0x12f3): undefined reference to `VectorRemove'
Dns.o(.text+0x1317): undefined reference to `VectorLength'
Dns.o(.text+0x1328): undefined reference to `VectorRemoveSome'
./../../lib/libsnert.a(Dns.o): In function `DnsReadResolvConf':
Dns.o(.text+0x138b): undefined reference to `VectorCreate'
Dns.o(.text+0x13a6): undefined reference to `VectorSetDestroyEntry'
Dns.o(.text+0x141a): undefined reference to `VectorLength'
Dns.o(.text+0x142f): undefined reference to `VectorReplace'
Dns.o(.text+0x1439): undefined reference to `VectorAdd'
Dns.o(.text+0x1445): undefined reference to `VectorDestroy'
Dns.o(.text+0x1481): undefined reference to `VectorDestroy'
./../../lib/libsnert.a(Dns.o): In function `DnsCheckEtcHosts':
Dns.o(.text+0x150c): undefined reference to `VectorLength'
Dns.o(.text+0x1526): undefined reference to `VectorGet'
Dns.o(.text+0x155b): undefined reference to `VectorCreate'
Dns.o(.text+0x1576): undefined reference to `VectorSetDestroyEntry'
Dns.o(.text+0x1599): undefined reference to `VectorAdd'
Dns.o(.text+0x16c8): undefined reference to `VectorDestroy'
./../../lib/libsnert.a(Dns.o): In function `DnsSetNameServers':
Dns.o(.text+0x1722): undefined reference to `VectorRemoveAll'
Dns.o(.text+0x1748): undefined reference to `VectorAdd'
./../../lib/libsnert.a(Dns.o): In function `DnsInit':
Dns.o(.text+0x177c): undefined reference to `VectorDestroy'
Dns.o(.text+0x179e): undefined reference to `VectorCreate'
Dns.o(.text+0x17bc): undefined reference to `VectorSetDestroyEntry'
Dns.o(.text+0x17f2): undefined reference to `VectorAdd'
Dns.o(.text+0x1803): undefined reference to `VectorRemoveAll'
Dns.o(.text+0x1835): undefined reference to `VectorCreate'
Dns.o(.text+0x18de): undefined reference to `VectorAdd'
./../../lib/libsnert.a(Dns.o): In function `DnsFini':
Dns.o(.text+0x197c): undefined reference to `VectorDestroy'
./../../lib/libsnert.a(Dns.o): In function `DnsOpen':
Dns.o(.text+0x19c8): undefined reference to `VectorBase'
Dns.o(.text+0x19d9): undefined reference to `VectorLength'
Dns.o(.text+0x1a11): undefined reference to `VectorCreate'
Dns.o(.text+0x1a2f): undefined reference to `VectorSetDestroyEntry'
./../../lib/libsnert.a(Dns.o): In function `DnsClose':
Dns.o(.text+0x1b9d): undefined reference to `VectorDestroy'
./../../lib/libsnert.a(Dns.o): In function `DnsGet':
Dns.o(.text+0x206f): undefined reference to `VectorGet'
Dns.o(.text+0x209d): undefined reference to `VectorRemove'
Dns.o(.text+0x20c4): undefined reference to `VectorRemoveAll'
Dns.o(.text+0x20ed): undefined reference to `VectorAdd'
Dns.o(.text+0x215c): undefined reference to `VectorDestroy'
Dns.o(.text+0x2198): undefined reference to `VectorSort'
Dns.o(.text+0x21aa): undefined reference to `VectorLength'
Dns.o(.text+0x21b7): undefined reference to `VectorRemoveSome'
Dns.o(.text+0x21d8): undefined reference to `VectorRemoveAll'
./../../lib/libsnert.a(Dns.o): In function `DnsGet2':
Dns.o(.text+0x228a): undefined reference to `VectorDestroy'
./../../lib/libsnert.a(TextSplit.o): In function `TextSplit':
TextSplit.o(.text+0x15): undefined reference to `VectorCreate'
TextSplit.o(.text+0x30): undefined reference to `VectorSetDestroyEntry'
TextSplit.o(.text+0x3c): undefined reference to `VectorAdd'
collect2: ld returned 1 exit status
make[1]: *** [smtpout] Error 1
make[1]: Leaving directory `/hd2b/downloads/snert/com/snert/src/tools'
make: *** [build] Error 2

Lists Index Date Thread Search