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
 [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.
 [2019-11-14 19:11 UTC] nikic@php.net
Automatic comment from SVN on behalf of nikic
Revision: http://svn.php.net/viewvc/?view=revision&revision=348297
Log: Add missing MB_CASE_UPPER_SIMPLE constant

Patch by BenMorel.

Closes php/doc-en#17.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue Mar 19 02:01:28 2024 UTC