php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #17 new_connection - multiple definition
Submitted: 1998-01-28 09:49 UTC Modified: 1998-01-28 11:13 UTC
From: ralf at geno dot net Assigned:
Status: Closed Package: Misbehaving function
PHP Version: 3.0b3 OS: Linux 2.0.33
Private report: No CVE-ID:
 [1998-01-28 09:49 UTC] ralf at geno dot net
http_main.o and 

in /usr/local/lib/libldap.a(request.o) 

both use 'new_connection'

PHP 3.0b3 using the LDAP-module based on UoM SLAPD 3.31 and Apache 1.2.5


Any workarounds ???

Bye,
Ralf Kuehnbaum


configureline:
# ./configure  --with-apache=/home/projekte/src/apache_1.2.5 --with-adabas=/usr

Linker-error:
/usr/local/lib/libldap.a(request.o): In function `new_connection':
request.o(.text+0x380): multiple definition of `new_connection'
http_main.o(.text+0x1770): first defined here
/usr/i486-linux/bin/ld: Warning: size of symbol `new_connection' changed from 16
4 to 759 in request.o

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1998-01-28 11:13 UTC] rasmus
This will be fixed in the next beta release of Apache.

The workaround is simply to rename the function in the Apache source
files.  It is actually only called from within the file where it is defined, so
technically you could just make it static.
 
PHP Copyright © 2001-2014 The PHP Group
All rights reserved.
Last updated: Sat Apr 19 04:01:55 2014 UTC