Bug #11691 Updated: Compiling fails with Apache 1.3.20 and 1.3.9
| From: | sniper@php.net | Date: | Sat, 04 Aug 2001 03:40:41 +0000 |
| Subject: | Bug #11691 Updated: Compiling fails with Apache 1.3.20 and 1.3.9 | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-62045@lists.php.net to get a copy of this message | ||
ID: 11691
Updated by: sniper
Reported By: bopper@barkhof.uni-bremen.de
Old Status: Open
Status: Bogus
Bug Type: Compile Failure
Operating System: AIX 4.2
PHP Version: 4.0.6
New Comment:
This is not PHP problem. Please report this to the Apache project.
--Jani
Previous Comments:
------------------------------------------------------------------------
[2001-06-26 06:31:17] bopper@barkhof.uni-bremen.de
Configure: ./configure --prefix=/opt/php-4.0.6 --with-apache=/opt/apache_1.3.20
--with-mysql=/opt/mysql-3.22.30 --disable-shared
Compiling with gcc (v. 2.8.0):
gcc -I. -I/opt/php-4.0.6/sapi/apache -I/opt/php-4.0.6/main -I/opt/php-4.0.6 ... ... ...
-I/opt/php-4.0.6/TSRM ... -I/opt/apache_1.3.20/src/os/unix -DSUPPORT_UTF8 -DXML_BYTE_ORDER=21 -O2
-c sapi_apache.c && touch sapi_apache.lo
In file included from /opt/apache_1.3.20/src/include/ap_config.h:114,
from /opt/apache_1.3.20/src/include/httpd.h:72,
from sapi_apache.c:32:
/opt/apache_1.3.20/src/os/unix/os.h:123: conflicting types for `dlerror'
/usr/include/dlfcn.h:36: previous declaration of `dlerror'
I have found the declarations in _apache_/src/os/unix/os.h:
#ifdef AIX | #if AIX < 43 | #undef HAVE_DLFCN_H
#endif | #endif
#ifdef HAVE_DLFCN_H
#include <dlfcn.h>
#else
void *dlopen(const char *, int);
int dlclose(void *);
void *dlsym(void *, const char *);
const char *dlerror(void);
#endif
It looks like the compiler includes dlfcn.h nevertheless!
What can I do to fix it?
------------------------------------------------------------------------
Edit this bug report at http://bugs.php.net/?id=11691&edit=1