php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #2941 compile fails with imap and sybase-ct (other function than reported before)
Submitted: 1999-12-09 10:05 UTC Modified: 2001-02-10 15:37 UTC
From: filip at yellowquest dot com Assigned:
Status: Closed Package: Compile Failure
PHP Version: 3.0.12 OS: linux 2.2.5 redhat
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: filip at yellowquest dot com
New email:
PHP Version: OS:

 

 [1999-12-09 10:05 UTC] filip at yellowquest dot com
      -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

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-02-23 12:57 UTC] sas at cvs dot php dot net
Well, both the imap and sybase-ct libraries use the same symbol name. We cannot do anything about this. It is up to the authors of the respective libraries to choose symbol names.
 [2001-02-10 15:37 UTC] jimw@php.net
i presume this has been sorted out.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Tue May 06 15:01:30 2025 UTC