[milters] Archive

Lists Index Date Thread Search

Article: 663
From: Marcus Sobchak
Date: 2005-07-27 15:45:39 -0400
Subject: problems building milter-ahead on debian woody

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

Hi,

I've problems to build milter-ahead on debian woody. configuring and building 
libsnert is running through without problems. libmilter-dev is version 
8.12.3-7.1. Here is the milter-ahead output:

:~/install/snert_ahead/com/snert/src/milter-ahead# ./configure
platform is... Linux
this Linux is a Debian 3.0
Reading Package Lists... Done
Building Dependency Tree... Done
Sorry, gcc is already the newest version.
Sorry, libc6-dev is already the newest version.
0 packages upgraded, 0 newly installed, 0 to remove and 0  not upgraded.
checking for autoconf... no

Generating files...

configure: creating ./config.status
config.status: creating manual.shtml
config.status: creating startup.sh
config.status: creating sample.mc
config.status: creating install.sh
config.status: creating makefile
config.status: creating config.h

milter-ahead/0.9.85
Copyright 2004, 2005 by Anthony Howe. All rights reserved.

  Platform..............: Linux gcc
  LibSnert..............: yes
  --prefix..............: /usr/local
  --datadir.............: ${prefix}/share
  --localstatedir.......: /var
  --exec_prefix.........: ${prefix}
  --sbindir.............: ${exec_prefix}/sbin
  --libexecdir..........: ${exec_prefix}/libexec
  --enable-smtp-port....: 25
  --enable-run-user.....: milter
  --enable-run-group....: milter
  --enable-pid..........: /var/run/milter-ahead.pid
  --enable-socket.......: /var/run/milter-ahead.socket
  --enable-cache-file...: /var/cache/milter-ahead
  --enable-cache-type...: default
  --with-sendmail.......: /etc/mail
  CFLAGS................:  -D_REENTRANT -g -I${top_srcdir}/../../include
  LDFLAGS...............:  -L${top_srcdir}/../../lib
  LIBS..................:  -lsnert -ldb-4.1 -lpam -lrt -lpthread

:~/install/snert_ahead/com/snert/src/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.1 -lpam -lrt -lpthrea
d
In file included from ../../include/com/snert/lib/mail/smf.h:24,
                 from milter-ahead.c:129:
/usr/include/libmilter/mfapi.h:117: warning: `SMFI_VERSION' redefined
../../include/com/snert/lib/mail/smf.h:21: warning: this is the location of 
the previous definition
/tmp/ccaIG5Vt.o: In function `filterOpen':
/root/install/snert_ahead/com/snert/src/milter-ahead/milter-ahead.c:484: 
undefined reference to `smfi_setpriv'
/tmp/ccaIG5Vt.o: In function `filterMail':
/root/install/snert_ahead/com/snert/src/milter-ahead/milter-ahead.c:509: 
undefined reference to `smfi_getpriv'
/root/install/snert_ahead/com/snert/src/milter-ahead/milter-ahead.c:512: 
undefined reference to `smfi_getsymval'
/tmp/ccaIG5Vt.o: In function `filterRcpt':
/root/install/snert_ahead/com/snert/src/milter-ahead/milter-ahead.c:541: 
undefined reference to `smfi_getpriv'
/root/install/snert_ahead/com/snert/src/milter-ahead/milter-ahead.c:547: 
undefined reference to `smfi_getsymval'
/root/install/snert_ahead/com/snert/src/milter-ahead/milter-ahead.c:548: 
undefined reference to `smfi_getsymval'
/root/install/snert_ahead/com/snert/src/milter-ahead/milter-ahead.c:549: 
undefined reference to `smfi_getsymval'
/root/install/snert_ahead/com/snert/src/milter-ahead/milter-ahead.c:550: 
undefined reference to `smfi_getsymval'
/root/install/snert_ahead/com/snert/src/milter-ahead/milter-ahead.c:697: 
undefined reference to `smfi_getsymval'
/tmp/ccaIG5Vt.o:/root/install/snert_ahead/com/snert/src/milter-ahead/milter-ahead.c:697: 
more undefined references to                  `smfi_getsymval' follow
/tmp/ccaIG5Vt.o: In function `filterClose':
/root/install/snert_ahead/com/snert/src/milter-ahead/milter-ahead.c:795: 
undefined reference to `smfi_getpriv'
/tmp/ccaIG5Vt.o: In function `options':
/root/install/snert_ahead/com/snert/src/milter-ahead/milter-ahead.c:906: 
undefined reference to `smfi_settimeout'
/tmp/ccaIG5Vt.o: In function `main':
/root/install/snert_ahead/com/snert/src/milter-ahead/milter-ahead.c:950: 
undefined reference to `smfi_settimeout'
./../../lib/libsnert.a(smf.o): In function `smfReplyV':
/root/install/snert_ahead/com/snert/src/lib/mail/smf.c:201: undefined 
reference to `smfi_setreply'
./../../lib/libsnert.a(smf.o): In function `smfAccessMail':
/root/install/snert_ahead/com/snert/src/lib/mail/smf.c:470: undefined 
reference to `smfi_getsymval'
./../../lib/libsnert.a(smf.o): In function `smfHeaderSet':
/root/install/snert_ahead/com/snert/src/lib/mail/smf.c:705: undefined 
reference to `smfi_chgheader'
/root/install/snert_ahead/com/snert/src/lib/mail/smf.c:707: undefined 
reference to `smfi_addheader'
./../../lib/libsnert.a(smf.o): In function `smfHeaderRemove':
/root/install/snert_ahead/com/snert/src/lib/mail/smf.c:713: undefined 
reference to `smfi_chgheader'
./../../lib/libsnert.a(smf.o): In function `smfOpenProlog':
/root/install/snert_ahead/com/snert/src/lib/mail/smf.c:758: undefined 
reference to `smfi_getsymval'
/root/install/snert_ahead/com/snert/src/lib/mail/smf.c:767: undefined 
reference to `smfi_getsymval'
/root/install/snert_ahead/com/snert/src/lib/mail/smf.c:767: undefined 
reference to `smfi_getsymval'
./../../lib/libsnert.a(smf.o): In function `smfCloseEpilog':
/root/install/snert_ahead/com/snert/src/lib/mail/smf.c:813: undefined 
reference to `smfi_setpriv'
./../../lib/libsnert.a(smf.o): In function `smfMainStart':
/root/install/snert_ahead/com/snert/src/lib/mail/smf.c:1038: undefined 
reference to `smfi_setdbg'
/root/install/snert_ahead/com/snert/src/lib/mail/smf.c:1088: undefined 
reference to `smfi_register'
/root/install/snert_ahead/com/snert/src/lib/mail/smf.c:1097: undefined 
reference to `smfi_register'
/root/install/snert_ahead/com/snert/src/lib/mail/smf.c:1102: undefined 
reference to `smfi_setconn'
/root/install/snert_ahead/com/snert/src/lib/mail/smf.c:1166: undefined 
reference to `smfi_main'
collect2: ld returned 1 exit status
make: *** [milter-ahead] Error 1

------------------------

configure output of libsnert, building ends with DONE.

configure: creating ./config.status
config.status: creating version.h.in
config.status: creating version.sh
config.status: creating makefile
config.status: creating type/makefile
config.status: creating util/makefile
config.status: creating mail/makefile
config.status: creating crc/makefile
config.status: creating sys/makefile
config.status: creating io/makefile
config.status: creating ../tools/makefile
config.status: creating ../../include/com/snert/lib/version.h

LibSnert/1.49.743
Copyright 1996, 2005 by Anthony Howe. All rights reserved.

  Platform..........: Linux gcc
  pthread & mutex...: yes yes
  Semaphore.........: SYSTEMV_API
  Shared Memory.....: SYSTEMV_API
  Time..............: POSIX_API
  Berkeley DB.......: yes
  libmilter.........: yes
  CFLAGS............: -D_REENTRANT -g -I${top_srcdir}/../../include
  LDFLAGS...........: -L${top_srcdir}/../../lib
  LIBS..............: -ldb-4.1 -lpam -lrt -lpthread


Lists Index Date Thread Search