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: 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: ralf at geno dot net
New email:
PHP Version: OS:

 

 [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-2017 The PHP Group
All rights reserved.
Last updated: Sun Nov 19 01:31:42 2017 UTC