ID:               11691
 Comment by:       story-erotic999 at hotmail dot com
 Reported By:      bopper at barkhof dot uni-bremen dot de
 Status:           Bogus
 Bug Type:         Compile Failure
 Operating System: AIX 4.2
 PHP Version:      4.0.6
 New Comment:

<a href=http://4uunreal-gothic-por.da.ru>erotic story</a>


Previous Comments:
------------------------------------------------------------------------

[2001-08-03 23:40:41] [EMAIL PROTECTED]

This is not PHP problem. Please report this to the Apache project.

--Jani


------------------------------------------------------------------------

[2001-06-26 06:31:17] bopper at barkhof dot uni-bremen dot 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

Reply via email to