Hi folks,
I'm trying to compile exim-4.42 with the latest exiscan patch (-27) on a
Debian sarge build. I had some compile errors having to do with SRS and
Brightmail (which I don't use) and I was able to work around that. Now I get
this error near the end of the build:
awk '{ print ($1+1) }' cnumber.h > cnumber.temp
rm -f cnumber.h; mv cnumber.temp cnumber.h
gcc -c -O -DSPF -I/usr/local/include version.c
rm -f exim
gcc -o exim version.o \
pcre/libpcre.a \
routers/routers.a transports/transports.a lookups/lookups.a \
auths/auths.a \
-lresolv -lnsl -lcrypt \
-L/usr/local/lib -lspf2 -ldb -ldb -lmysqlclient -lssl -lcrypto
/usr/lib/gcc-lib/i486-linux/3.3.4/../../../crt1.o(.text+0x18): In function `_start':
./sysdeps/i386/elf/start.S:98: undefined reference to `main'
version.o(.text+0x9): In function `version_init':
: undefined reference to `version_cnumber'
version.o(.text+0x2f): In function `version_init':
: undefined reference to `version_string'
version.o(.text+0x39): In function `version_init':
: undefined reference to `exiscan_version_string'
version.o(.text+0x6a): In function `version_init':
: undefined reference to `version_date'
version.o(.text+0xa4): In function `version_init':
: undefined reference to `version_date'
version.o(.text+0xc0): In function `version_init':
: undefined reference to `version_date'
version.o(.text+0xd5): In function `version_init':
: undefined reference to `version_date'
version.o(.text+0xea): In function `version_init':
: undefined reference to `version_date'
collect2: ld returned 1 exit status
make[1]: *** [exim] Error 1
make[1]: Leaving directory `/usr/local/src/mail/exim-4.42/build-Linux-i386'
make: *** [go] Error 2
I've tried 3 different versions of gcc and I always get this error. Can anyone
point me in the right direction?
PS I was able to compile just fine without the exiscan patch. I posted this
same question to the exiscan list as I wasn't sure which venue would be best
for this question.
Thanks,
mikeS
--
Michael Sprague | mfs@???
Partner | System and Network Engineering (SaNE), LLC
use STD::disclaimer;