php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #897 conflicting objects
Submitted: 1998-11-04 22:29 UTC Modified: 1998-11-04 22:36 UTC
From: mhazen at franklin dot uga dot edu Assigned:
Status: Closed Package: Compile Failure
PHP Version: 3.0.5 OS: Redhat Linux
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: mhazen at franklin dot uga dot edu
New email:
PHP Version: OS:

 

 [1998-11-04 22:29 UTC] mhazen at franklin dot uga dot edu
When compiling Apache 1.3.3 with PHP, I've come across a problem. It seems that two of the options I am including use functions of the same name, which conflict with each other... these are the IMAP support (Uwash IMAP 4.4) and Sybase-CT: both have a function called 'net_close'.

/admin/src/imap/imap-4.4/lib/c-client.a(mail.o): In function `net_close':
/admin/src/imap/imap-4.4/c-client/mail.c:4564: multiple definition of
`net_close'
/usr/local/sybase/lib/libsybtcl.a(net_clos.o)(.text+0x0): first defined
here
make[2]: *** [target_static] Error 1

Also: it seems there is a problem with the php3 config and this setup... with the standard dist. of the imap4.4 code, there are no 'lib' and 'include' dirs under c-client after the make; php3 by default looks for these directories I resolved this my making links which point back into c-client (which is where the desired items exist).

Hope I'm not missing something... I've checked this backwards & forwards! ::grin::



Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1998-11-04 22:36 UTC] rasmus
The Sybase-IMAP conflict has been brought up before.  There is nothing we can do about this.  A future version of the IMAP library will address this hopefully.  For now you will have to edit the imap code and change the name of that function yourself.

As for the cclient library and header files?  Again, the IMAP stuff doesn't have any sort of installation standard.  The PHP docs tell you to copy copy the appropriate files to /usr/local/include and /usr/local/lib.  If you check the bottom of the IMAP manual section you will see these instructions: http://www.php.net/manual/ref.imap.php3
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu May 09 04:01:31 2024 UTC