[milters] Archive

Lists Index Date Thread Search

Article: 1712
From: Christian 'CBE' Benner
Date: 2007-09-22 09:41:49 -0400
Subject: failed to compile milter-sender

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

Hi all,

I've tried since a long time again to compile the actual milter-sender.

Any hints or ideas ?

Thanks in advnce
Chris



System is kernel 2.6.22.6
latest versions of milter-sender and libsnert.

LibSnert/1.65.921
Copyright 1996, 2007 by Anthony Howe. All rights reserved.

  Platform............: Linux gcc
  Berkeley DB.........: 4.5 -ldb-4.5
  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/db4 =
-I/usr/src/milter/org/sqlite/include -D_REENTRANT -O2 -Wall =
-I${top_srcdir}/../../include
  LDFLAGS.............: -L/usr/src/milter/org/sqlite/lib -s =
-L${top_srcdir}/../../lib
  LIBS................: -lpthread -ldl



milter-sender part shows the following

milter-sender/1.15.914
Copyright 2002, 2007 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-run-user.....: milter
  --enable-run-group....: milter
  --enable-pid..........: /var/run/milter/milter-sender.pid
  --enable-socket.......: /var/run/milter/milter-sender.socket
  --enable-cache-file...: /var/cache/milter-sender.db
  --enable-cache-type...: default
  --with-sendmail.......: /etc/mail
  CFLAGS................:  -I/usr/include/db4 =
-I/usr/src/milter/org/sqlite/include -D_REENTRANT -O2 -Wall =
-I${top_srcdir}/../../include
  LDFLAGS...............:  -L/usr/src/milter/org/sqlite/lib -s =
-L${top_srcdir}/../../lib
  LIBS..................:  -lsnert -lpthread -ldl  -lmilter -ldb-4.5 =
-lsqlite3 -lrt -lpthread

make build
gcc -DMILTER_BUILD=3D`cat BUILD_ID.TXT` -DMILTER_BUILD_STRING=3D'"'`cat =
BUILD_ID.TXT`'"' \
        -I/usr/include/db4 -I/usr/src/milter/org/sqlite/include =
-D_REENTRANT -O2 -Wall -I./../../include  =
-L/usr/src/milter/org/sqlite/lib -s -L./../../lib  -o milter-sender =
milter-sender.c -lsnert -lpthread -ldl  -lmilter -ldb-4.5 -lsqlite3 -lrt =
-lpthread
/tmp/ccs6GcAR.o: In function `main':
milter-sender.c:(.text+0x1a): undefined reference to `smfOptFile'
milter-sender.c:(.text+0x24): undefined reference to `smfOptPidFile'
milter-sender.c:(.text+0x2e): undefined reference to `smfOptRunUser'
milter-sender.c:(.text+0x38): undefined reference to `smfOptRunGroup'
milter-sender.c:(.text+0x42): undefined reference to `smfOptWorkDir'
milter-sender.c:(.text+0x4c): undefined reference to =
`smfOptMilterSocket'
milter-sender.c:(.text+0x60): undefined reference to `smfOptTable'
milter-sender.c:(.text+0x7c): undefined reference to `smfOptTable'
milter-sender.c:(.text+0x95): undefined reference to `smfOptFile'
milter-sender.c:(.text+0xa7): undefined reference to `smfOptHelp'
milter-sender.c:(.text+0xb5): undefined reference to `smfOptQuit'
milter-sender.c:(.text+0xc3): undefined reference to `smfOptRestart'
milter-sender.c:(.text+0xd4): undefined reference to `smfOptPidFile'
milter-sender.c:(.text+0xed): undefined reference to =
`smfOptMilterTimeout'
milter-sender.c:(.text+0xfa): undefined reference to `smfOptVerbose'
milter-sender.c:(.text+0x102): undefined reference to `smfSetLogDetail'
milter-sender.c:(.text+0x123): undefined reference to `smfOptVerbose'
milter-sender.c:(.text+0x12b): undefined reference to `smfSetLogDetail'
milter-sender.c:(.text+0x1d0): undefined reference to `smfOptDaemon'
milter-sender.c:(.text+0x1f0): undefined reference to `smfLogDetail'
milter-sender.c:(.text+0x240): undefined reference to `smfSetFileOwner'
milter-sender.c:(.text+0x24f): undefined reference to `smfMutex'
milter-sender.c:(.text+0x281): undefined reference to `smfOptAccessDb'
milter-sender.c:(.text+0x2c0): undefined reference to `smfLogDetail'
milter-sender.c:(.text+0x2cc): undefined reference to `smfLogDetail'
milter-sender.c:(.text+0x305): undefined reference to `smfMainStart'
milter-sender.c:(.text+0x319): undefined reference to `smfOptFile'
milter-sender.c:(.text+0x31f): undefined reference to `smfOptFile'
milter-sender.c:(.text+0x333): undefined reference to `smfOptTable'
milter-sender.c:(.text+0x34f): undefined reference to `smfOptTable'
milter-sender.c:(.text+0x35c): undefined reference to `smfOptFile'
milter-sender.c:(.text+0x374): undefined reference to `smfOptTable'
milter-sender.c:(.text+0x3b8): undefined reference to =
`smfStartBackgroundProcess'
milter-sender.c:(.text+0x3d2): undefined reference to `smfLogDetail'
milter-sender.c:(.text+0x3fb): undefined reference to `smfOptAccessDb'
milter-sender.c:(.text+0x536): undefined reference to `smfLogDetail'
milter-sender.c:(.text+0x55e): undefined reference to `smfOptAccessDb'
milter-sender.c:(.text+0x573): undefined reference to `smfOptTable'
milter-sender.c:(.text+0x598): undefined reference to `smfOptPidFile'
/tmp/ccs6GcAR.o: In function `mxStatus':
milter-sender.c:(.text+0x60a): undefined reference to `smfLog'
/tmp/ccs6GcAR.o: In function `setReply':
milter-sender.c:(.text+0x64e): undefined reference to `smfReplyV'
/tmp/ccs6GcAR.o: In function `filterData':
milter-sender.c:(.text+0x6f0): undefined reference to `smfLog'
milter-sender.c:(.text+0x6f8): undefined reference to `smMacro_if_addr'
/tmp/ccs6GcAR.o: In function `cachePut':
milter-sender.c:(.text+0x805): undefined reference to `smfMutex'
milter-sender.c:(.text+0x835): undefined reference to `smfMutex'
milter-sender.c:(.text+0x885): undefined reference to `smfLog'
/tmp/ccs6GcAR.o: In function `cacheGet':
milter-sender.c:(.text+0x99c): undefined reference to `smfMutex'
milter-sender.c:(.text+0x9c5): undefined reference to `smfMutex'
milter-sender.c:(.text+0xa37): undefined reference to `smfLog'
/tmp/ccs6GcAR.o: In function `filterUnknown':
milter-sender.c:(.text+0xb45): undefined reference to `smfLog'
milter-sender.c:(.text+0xb80): undefined reference to `smfAccessClient'
milter-sender.c:(.text+0xbfd): undefined reference to =
`smfNullWorkspaceError'
milter-sender.c:(.text+0xc77): undefined reference to `smfMutex'
milter-sender.c:(.text+0xca3): undefined reference to `smfMutex'
milter-sender.c:(.text+0xce4): undefined reference to `smfLog'
/tmp/ccs6GcAR.o: In function `filterClose':
milter-sender.c:(.text+0xea6): undefined reference to `smfCloseEpilog'
milter-sender.c:(.text+0xeec): undefined reference to `smfLog'
milter-sender.c:(.text+0xf0b): undefined reference to `smfNoQueue'
milter-sender.c:(.text+0xf23): undefined reference to `smfLog'
milter-sender.c:(.text+0xf39): undefined reference to `smfMutex'
milter-sender.c:(.text+0xf69): undefined reference to `smfLog'
milter-sender.c:(.text+0xfa9): undefined reference to `smfLog'
milter-sender.c:(.text+0xfc5): undefined reference to `smfMutex'
/tmp/ccs6GcAR.o: In function `cacheExpireEntries':
milter-sender.c:(.text+0x1141): undefined reference to `smfLog'
/tmp/ccs6GcAR.o: In function `filterEndMessage':
milter-sender.c:(.text+0x11de): undefined reference to `smfLog'
milter-sender.c:(.text+0x1259): undefined reference to `smfLog'
milter-sender.c:(.text+0x12e4): undefined reference to `smfLog'
milter-sender.c:(.text+0x12f6): undefined reference to `smMacro_if_name'
milter-sender.c:(.text+0x1313): undefined reference to `smMacro_if_addr'
milter-sender.c:(.text+0x1386): undefined reference to =
`smMacro_auth_authen'
milter-sender.c:(.text+0x13ef): undefined reference to =
`smfNullWorkspaceError'
milter-sender.c:(.text+0x1406): undefined reference to `smfUndefined'
/tmp/ccs6GcAR.o: In function `filterHeader':
milter-sender.c:(.text+0x1475): undefined reference to `smfLog'
milter-sender.c:(.text+0x14eb): undefined reference to `smfPrecedence'
/tmp/ccs6GcAR.o: In function `mxListPrune':
milter-sender.c:(.text+0x1570): undefined reference to `smfLog'
milter-sender.c:(.text+0x157b): undefined reference to `smMacro_if_addr'
milter-sender.c:(.text+0x15d8): undefined reference to `smfLog'
milter-sender.c:(.text+0x1658): undefined reference to `smfLog'
milter-sender.c:(.text+0x16d4): undefined reference to `smfUndefined'
/tmp/ccs6GcAR.o: In function `getSmtpResponse':
milter-sender.c:(.text+0x1789): undefined reference to `smfLog'
milter-sender.c:(.text+0x18a0): undefined reference to `smfLog'
/tmp/ccs6GcAR.o: In function `thisHostName':
milter-sender.c:(.text+0x18cf): undefined reference to `smMacro_if_name'
milter-sender.c:(.text+0x1933): undefined reference to `smfLog'
/tmp/ccs6GcAR.o: In function `printline':
milter-sender.c:(.text+0x19bf): undefined reference to `smfLog'
/tmp/ccs6GcAR.o: In function `mxCommand':
milter-sender.c:(.text+0x1af9): undefined reference to `smfLog'
/tmp/ccs6GcAR.o: In function `mxClose':
milter-sender.c:(.text+0x1c5e): undefined reference to `smfLog'
/tmp/ccs6GcAR.o: In function `mxConnect':
milter-sender.c:(.text+0x1cb4): undefined reference to `smfLog'
milter-sender.c:(.text+0x1cdd): undefined reference to =
`smfOptInterfaceIp'
milter-sender.c:(.text+0x1e95): undefined reference to `smMacro_if_addr'
/tmp/ccs6GcAR.o: In function `filterRcpt':
milter-sender.c:(.text+0x2048): undefined reference to `smfLog'
milter-sender.c:(.text+0x2087): undefined reference to `smfAccessRcpt'
milter-sender.c:(.text+0x2155): undefined reference to `smfLog'
milter-sender.c:(.text+0x221c): undefined reference to `smfLog'
milter-sender.c:(.text+0x239a): undefined reference to =
`smfNullWorkspaceError'
milter-sender.c:(.text+0x23d7): undefined reference to `smfLog'
milter-sender.c:(.text+0x2676): undefined reference to `smfLog'
milter-sender.c:(.text+0x26c2): undefined reference to `smfLog'
milter-sender.c:(.text+0x26ea): undefined reference to `smfLog'
milter-sender.c:(.text+0x2776): undefined reference to `smfLog'
/tmp/ccs6GcAR.o:milter-sender.c:(.text+0x280c): more undefined =
references to `smfLog' follow
/tmp/ccs6GcAR.o: In function `filterMail':
milter-sender.c:(.text+0x2b17): undefined reference to =
`smMacro_auth_authen'
milter-sender.c:(.text+0x2b4a): undefined reference to `smfAccessAuth'
milter-sender.c:(.text+0x2b80): undefined reference to `smfAccessMail'
milter-sender.c:(.text+0x2c40): undefined reference to `smfLog'
milter-sender.c:(.text+0x2c98): undefined reference to =
`smfNullWorkspaceError'
milter-sender.c:(.text+0x2cb3): undefined reference to `smfNoQueue'
milter-sender.c:(.text+0x2d42): undefined reference to `smfLog'
milter-sender.c:(.text+0x2da0): undefined reference to `smfLog'
milter-sender.c:(.text+0x2def): undefined reference to `smfLog'
milter-sender.c:(.text+0x2fae): undefined reference to `smfLog'
milter-sender.c:(.text+0x306c): undefined reference to `smMacro_if_addr'
milter-sender.c:(.text+0x30f5): undefined reference to `smfLog'
milter-sender.c:(.text+0x3304): undefined reference to `smfLog'
milter-sender.c:(.text+0x3468): undefined reference to `smfLog'
milter-sender.c:(.text+0x34f0): undefined reference to `smfLog'
milter-sender.c:(.text+0x3589): undefined reference to `smfLog'
/tmp/ccs6GcAR.o:milter-sender.c:(.text+0x374b): more undefined =
references to `smfLog' follow
/tmp/ccs6GcAR.o: In function `filterHelo':
milter-sender.c:(.text+0x38b2): undefined reference to `smfNoQueue'
milter-sender.c:(.text+0x38c1): undefined reference to `smfNoQueue'
milter-sender.c:(.text+0x38e1): undefined reference to `smfLog'
milter-sender.c:(.text+0x38e9): undefined reference to `smMacro_if_addr'
milter-sender.c:(.text+0x3951): undefined reference to `smfLog'
milter-sender.c:(.text+0x3957): undefined reference to `smfUndefined'
milter-sender.c:(.text+0x399f): undefined reference to `smfAccessHost'
milter-sender.c:(.text+0x3a60): undefined reference to `smfLog'
milter-sender.c:(.text+0x3b00): undefined reference to `smfLog'
milter-sender.c:(.text+0x3c04): undefined reference to `smfUndefined'
milter-sender.c:(.text+0x3c38): undefined reference to `smfLog'
milter-sender.c:(.text+0x3c70): undefined reference to `smfLog'
milter-sender.c:(.text+0x3d36): undefined reference to `smfLog'
milter-sender.c:(.text+0x3d3e): undefined reference to `smMacro_if_name'
milter-sender.c:(.text+0x3d5a): undefined reference to `smMacro_if_addr'
milter-sender.c:(.text+0x3ddd): undefined reference to `smfLog'
milter-sender.c:(.text+0x3de5): undefined reference to `smMacro_if_addr'
milter-sender.c:(.text+0x3dfa): undefined reference to `smMacro_if_name'
milter-sender.c:(.text+0x3f0e): undefined reference to =
`smfNullWorkspaceError'
milter-sender.c:(.text+0x3f23): undefined reference to `smfUndefined'
milter-sender.c:(.text+0x3f64): undefined reference to `smfUndefined'
milter-sender.c:(.text+0x3f70): undefined reference to `smfUndefined'
milter-sender.c:(.text+0x40c1): undefined reference to `smfUndefined'
milter-sender.c:(.text+0x40cb): undefined reference to `smfUndefined'
milter-sender.c:(.text+0x419e): undefined reference to `smfLog'
milter-sender.c:(.text+0x4210): undefined reference to `smfLog'
/tmp/ccs6GcAR.o: In function `filterOpen':
milter-sender.c:(.text+0x4259): undefined reference to `smfLog'
milter-sender.c:(.text+0x428f): undefined reference to `smfLog'
milter-sender.c:(.text+0x42cd): undefined reference to `smfNoQueue'
milter-sender.c:(.text+0x42ec): undefined reference to `smfOpenProlog'
milter-sender.c:(.text+0x4324): undefined reference to `smfLog'
/tmp/ccs6GcAR.o: In function `atExitCleanUp':
milter-sender.c:(.text+0x4467): undefined reference to `smfMutex'
milter-sender.c:(.text+0x4491): undefined reference to `smfMutex'
milter-sender.c:(.text+0x44b5): undefined reference to `smfNoQueue'
milter-sender.c:(.text+0x44fa): undefined reference to `smfNoQueue'
/tmp/ccs6GcAR.o: In function `filterData':
milter-sender.c:(.text+0x77e): undefined reference to =
`smfNullWorkspaceError'
/tmp/ccs6GcAR.o: In function `filterHeader':
milter-sender.c:(.text+0x1524): undefined reference to =
`smfNullWorkspaceError'
/tmp/ccs6GcAR.o: In function `atExitCleanUp':
milter-sender.c:(.text+0x44df): undefined reference to =
`smfAtExitCleanUp'
collect2: ld gab 1 als Ende-Status zur=FCck
make: *** [milter-sender] Fehler 1

Lists Index Date Thread Search