[milters] Archive

Lists Index Date Thread Search

Article: 601
From: Denis Dowling
Date: 2005-06-02 22:29:47 -0400
Subject: Re: Undefined reference to 'smf......'

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

Hi
I am trying to compile milter-ahead 0.9 but receive the following error during the make
build process.

[root@ns1 milter-ahead]# make build
gcc -DMILTER_BUILD=`cat BUILD_ID.TXT` -DMILTER_BUILD_STRING='"'`cat
BUILD_ID.TXT`'"' \
-D_REENTRANT -g -I./../../include  -L./../../lib  -o milter-ahead milter-ahead.c -lsnert
-ldb-4.2 -lrt -lpam -lpthread
/tmp/ccE6ei2I.o(.text+0xe): In function `printline':
/usr/src/com/snert/src/milter-ahead/milter-ahead.c:226: undefined reference to
`smfLogDetail'
/tmp/ccE6ei2I.o(.text+0x2df): In function `getSmtpResponse':
/usr/src/com/snert/src/milter-ahead/milter-ahead.c:337: undefined reference to
`smfLogDetail'
/tmp/ccE6ei2I.o(.text+0x331):/usr/src/com/snert/src/milter-ahead/milter-ahead.c:341:
undefined reference to `smfLogDetail'
/tmp/ccE6ei2I.o(.text+0x3f3): In function `cacheGet':
/usr/src/com/snert/src/milter-ahead/milter-ahead.c:371: undefined reference to `smfMutex'
/tmp/ccE6ei2I.o(.text+0x468):/usr/src/com/snert/src/milter-ahead/milter-ahead.c:376:
undefined reference to `smfMutex'
/tmp/ccE6ei2I.o(.text+0x500):/usr/src/com/snert/src/milter-ahead/milter-ahead.c:385:
undefined reference to `smfLogDetail'
/tmp/ccE6ei2I.o(.text+0x58d): In function `cachePut':
/usr/src/com/snert/src/milter-ahead/milter-ahead.c:400: undefined reference to `smfMutex'
/tmp/ccE6ei2I.o(.text+0x606):/usr/src/com/snert/src/milter-ahead/milter-ahead.c:405:
undefined reference to `smfMutex'
/tmp/ccE6ei2I.o(.text+0x65a):/usr/src/com/snert/src/milter-ahead/milter-ahead.c:408:
undefined reference to `smfLogDetail'
/tmp/ccE6ei2I.o(.text+0x6e0): In function `cacheExpireEntries':
/usr/src/com/snert/src/milter-ahead/milter-ahead.c:423: undefined reference to
`smfLogDetail'
/tmp/ccE6ei2I.o(.text+0x757): In function `cacheGarbageCollect':
/usr/src/com/snert/src/milter-ahead/milter-ahead.c:434: undefined reference to `smfMutex'
/tmp/ccE6ei2I.o(.text+0x7a2):/usr/src/com/snert/src/milter-ahead/milter-ahead.c:439:
undefined reference to `smfLogDetail'
/tmp/ccE6ei2I.o(.text+0x7da):/usr/src/com/snert/src/milter-ahead/milter-ahead.c:443:
undefined reference to `smfLogDetail'
/tmp/ccE6ei2I.o(.text+0x825):/usr/src/com/snert/src/milter-ahead/milter-ahead.c:449:
undefined reference to `smfLogDetail'
/tmp/ccE6ei2I.o(.text+0x893):/usr/src/com/snert/src/milter-ahead/milter-ahead.c:456:
undefined reference to `smfMutex'
/tmp/ccE6ei2I.o(.text+0x8f2): In function `filterOpen':
/usr/src/com/snert/src/milter-ahead/milter-ahead.c:476: undefined reference to
`smfOpenProlog'
/tmp/ccE6ei2I.o(.text+0x8fe):/usr/src/com/snert/src/milter-ahead/milter-ahead.c:478:
undefined reference to `smfLogDetail'
/tmp/ccE6ei2I.o(.text+0x919):/usr/src/com/snert/src/milter-ahead/milter-ahead.c:479:
undefined reference to `smfNoQueue'
/tmp/ccE6ei2I.o(.text+0x959):/usr/src/com/snert/src/milter-ahead/milter-ahead.c:484:
undefined reference to `smfi_setpriv'
/tmp/ccE6ei2I.o(.text+0x99d):/usr/src/com/snert/src/milter-ahead/milter-ahead.c:491:
undefined reference to `smfNoQueue'
/tmp/ccE6ei2I.o(.text+0x9c1):/usr/src/com/snert/src/milter-ahead/milter-ahead.c:497:
undefined reference to `smfNullWorkspaceError'


There are many more lines to the output above but I have only included the above. I am
using Red Hat Enterprise 4 with the RPM versions of sendmail and sendmail-devel which
include the libmilter library.

Any ideas?

Thanks
Denis

Lists Index Date Thread Search