Bug #2941: compile fails with imap and sybase-ct (other function than reported before)

From: Date: Thu, 09 Dec 1999 15:05:49 +0000
Subject: Bug #2941: compile fails with imap and sybase-ct (other function than reported before)
Groups: php.dev 
Request: Send a blank email to php-dev+get-13519@lists.php.net to get a copy of this message
From: filip@yellowquest.com Operating system: linux 2.2.5 redhat PHP version: 3.0.12 PHP Bug Type: Compile Failure Bug description: compile fails with imap and sybase-ct (other function than reported before) -o httpd buildmark.o modules.o modules/standard/libstandard.a modules/php3 /libphp3.a main/libmain.a ./os/unix/libos.a ap/libap.a regex/libregex.a lib/expa t-lite/libexpat.a -Wl,-rpath,/usr/lib/mysql /root/imap-4.5/lib/c-client.a -lgd -L/usr/lib/mysql -lmysqlclient -Lmodules/php3 -L../modules/php3 -L../../modules /php3 -lmodphp3 -L/usr/local/sybase//lib -L/usr/local/sybase//lib -lsybdb -lpam -lm -ldl -lcrypt -lnsl -lresolv -lm -lcrypt -ldb /usr/local/sybase//lib/libsybdb.a(tcp_io.o): In function `tcp_open': tcp_io.o(.text+0x0): multiple definition of `tcp_open' /root/imap-4.5/lib/c-client.a(osdep.o):/root/imap-4.5/c-client/tcp_unix.c:128: f irst defined here /usr/bin/ld: Warning: size of symbol `tcp_open' changed from 919 to 1243 in tcp_ io.o /usr/local/sybase//lib/libsybdb.a(tcp_io.o): In function `tcp_close': tcp_io.o(.text+0x774): multiple definition of `tcp_close' /root/imap-4.5/lib/c-client.a(osdep.o):/root/imap-4.5/c-client/tcp_unix.c:554: f irst defined here /usr/bin/ld: Warning: size of symbol `tcp_close' changed from 371 to 186 in tcp_ io.o collect2: ld returned 1 exit status make[2]: *** [target_static] Error 1 make[2]: Leaving directory `/usr/src/apache_1.3.9/src' make[1]: *** [build-std] Error 2 make[1]: Leaving directory `/usr/src/apache_1.3.9' make: *** [build] Error 2 [root@fritz apache_1.3.9]# -------------------------------------------------------------------- proposed solution tcp_open ->tcp_open2 tcp_close ->tcp_close2 in mail.c in tcp_unix.c in tcp.h in the c-client of imap could resolve this problem

« previous php.dev (#13519) next »