[exim] strange compile error (exim 4.62, gcc 3.4.4)

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: jackalek
Ημερομηνία:  
Προς: exim-users
Αντικείμενο: [exim] strange compile error (exim 4.62, gcc 3.4.4)
Witaj exim-users!

I got this error, I try to change gcc from version 3.3 to 3.4, no
effect.

klej:/usr/src/exim4/exim-4.62# make
`Makefile' is up to date.

make[1]: Entering directory `/usr/src/exim4/exim-4.62/build-Linux-i386'
make[2]: Entering directory `/usr/src/exim4/exim-4.62/build-Linux-i386/pcre'
make[2]: Nie nic do roboty w `all'.
make[2]: Leaving directory `/usr/src/exim4/exim-4.62/build-Linux-i386/pcre'

make[2]: Entering directory `/usr/src/exim4/exim-4.62/build-Linux-i386/lookups'
make[2]: `lookups.a' jest aktualne.
make[2]: Leaving directory `/usr/src/exim4/exim-4.62/build-Linux-i386/lookups'

make[2]: Entering directory `/usr/src/exim4/exim-4.62/build-Linux-i386/routers'
make[2]: `routers.a' jest aktualne.
make[2]: Leaving directory `/usr/src/exim4/exim-4.62/build-Linux-i386/routers'

make[2]: Entering directory `/usr/src/exim4/exim-4.62/build-Linux-i386/transports'
make[2]: `transports.a' jest aktualne.
make[2]: Leaving directory `/usr/src/exim4/exim-4.62/build-Linux-i386/transports'

make[2]: Entering directory `/usr/src/exim4/exim-4.62/build-Linux-i386/auths'
make[2]: `auths.a' jest aktualne.
make[2]: Leaving directory `/usr/src/exim4/exim-4.62/build-Linux-i386/auths'


awk '{ print ($1+1) }' cnumber.h > cnumber.temp
rm -f cnumber.h; mv cnumber.temp cnumber.h
gcc version.c
rm -f exim
gcc -o exim
/usr/lib/libc_nonshared.a(elf-init.oS)(.gnu.linkonce.t.__i686.get_pc_thunk.bx+0x0): In function `__i686.get_pc_thunk.bx':
: multiple definition of `__i686.get_pc_thunk.bx'
/usr/lib/perl/5.8/auto/DynaLoader/DynaLoader.a(DynaLoader.o)(.gnu.linkonce.t.__i686.get_pc_thunk.bx+0x0): first defined here
collect2: ld returned 1 exit status
make[1]: *** [exim] Błąd 1
make[1]: Leaving directory `/usr/src/exim4/exim-4.62/build-Linux-i386'
make: *** [go] Błąd 2
klej:/usr/src/exim4/exim-4.62#


my gcc:

klej:~# gcc -v
Reading specs from /usr/lib/gcc/i486-linux/3.4.4/specs
Configured with: ../src/configure -v --enable-languages=c,c++,java,f77,pascal,objc,ada,treelang --prefix=/usr --libexecdir=/usr/lib --with-gxx-include-dir=/usr/include/c++/3.4 --enable-shared --with-system-zlib --enable-nls --without-included-gettext --program-suffix=-3.4 --enable-__cxa_atexit --enable-libstdcxx-allocator=mt --enable-clocale=gnu --enable-libstdcxx-debug --enable-java-gc=boehm --enable-java-awt=gtk --disable-werror i486-linux
Thread model: posix
gcc version 3.4.4 20050314 (prerelease) (Debian 3.4.3-13)
klej:~#


klej:~# uname -a
Linux klej.net 2.4.31-grsec #1 pią lip 8 21:28:00 CEST 2005 i686 GNU/Linux
klej:~#



My Makefile

BIN_DIRECTORY=/usr/sbin
CONFIGURE_FILE=/etc/exim4/exim.conf
EXIM_USER=mail
SPOOL_DIRECTORY=/var/spool/exim4
ROUTER_ACCEPT=yes
ROUTER_DNSLOOKUP=yes
ROUTER_IPLITERAL=yes
ROUTER_MANUALROUTE=yes
ROUTER_QUERYPROGRAM=yes
ROUTER_REDIRECT=yes
TRANSPORT_APPENDFILE=yes
TRANSPORT_AUTOREPLY=yes
TRANSPORT_PIPE=yes
TRANSPORT_SMTP=yes
LOOKUP_DBM=yes
LOOKUP_LSEARCH=yes
AUTH_CRAM_MD5=yes
AUTH_PLAINTEXT=yes
AUTH_SPA=yes
SUPPORT_TLS=yes
TLS_LIBS=-lssl -lcrypto
LOG_FILE_PATH=/var/log/exim4/%slog
EXICYCLOG_MAX=10
COMPRESS_COMMAND=/usr/bin/gzip
COMPRESS_SUFFIX=gz
ZCAT_COMMAND=/usr/bin/zcat
EXIM_PERL=perl.o
SUPPORT_PAM=yes
USE_TCP_WRAPPERS=yes
EXTRALIBS_EXIM=-L/usr/lib -lpam -lwrap
NO_SYMLINK=yes
PID_FILE_PATH=/var/run/exim/exim.pid
WITH_CONTENT_SCAN=yes
WITH_OLD_DEMIME=yes


It is my first exim complie error which I can not resolve using google
:-/

my last working exim is:

klej:/usr/src/exim4/exim-4.62/Local# telnet klej.net 25
Trying 83.16.109.82...
Connected to klej.net.
Escape character is '^]'.
220 klej.net ESMTP Exim 4.52 Fri, 26 May 2006 01:12:47 +0200
quit
221 klej.net closing connection
Connection closed by foreign host.
klej:/usr/src/exim4/exim-4.62/Local#




ps.
sorry for my poor english grammar, I still learning



-- 
Pozdrowienia,
 Slawek                          mailto:jackalek@list.pl