|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2001-05-27 23:24 UTC] sniper@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Thu Oct 23 08:00:02 2025 UTC |
with apache 1.3.9 ----> php configure ./configure \ -with-informix=/usr/informix \ -without-mysql \ --with-apxs=/usr/local/apache/bin/apxs \ >configure.log 2>&1 ----> error Making all in apache /bin/sh /software/SOFTWARE/php-4.0.4pl1/libtool --silent --mode=compile gcc -I. -I/software/SOFTWARE/php-4.0.4p l1/sapi/apache -I/software/SOFTWARE/php-4.0.4pl1/main -I/software/SOFTWARE/php-4.0.4pl1 -I/usr/local/apache/include -I/s oftware/SOFTWARE/php-4.0.4pl1/Zend -I/usr/informix/incl/esql -I/software/SOFTWARE/php-4.0.4pl1/ext/xml/expat/xmltok -I/s oftware/SOFTWARE/php-4.0.4pl1/ext/xml/expat/xmlparse -I/software/SOFTWARE/php-4.0.4pl1/TSRM -DAIX=43 -DAIX_BIND_PROCESS OR -DUSE_HSREGEX -DUSE_EXPAT -D__H_LOCALEDEF -DXML_BYTE_ORDER=21 -O2 -I/usr/informix/incl/esql -c sapi_apache.c In file included from /usr/local/apache/include/ap_config.h:115, from /usr/local/apache/include/httpd.h:71, from sapi_apache.c:32: /usr/local/apache/include/os.h:137: conflicting types for `dlopen' /usr/include/dlfcn.h:27: previous declaration of `dlopen' /usr/local/apache/include/os.h:139: conflicting types for `dlsym' /usr/include/dlfcn.h:28: previous declaration of `dlsym' /usr/local/apache/include/os.h:140: conflicting types for `dlerror' /usr/include/dlfcn.h:30: previous declaration of `dlerror' In file included from /usr/local/apache/include/ap_config.h:1055, from /usr/local/apache/include/httpd.h:71, from sapi_apache.c:32: /usr/include/arpa/inet.h:152: warning: `struct ether_addr' declared inside parameter list /usr/include/arpa/inet.h:152: warning: its scope is only this definition or declaration, which is probably not what you want. /usr/include/arpa/inet.h:153: warning: `struct ether_addr' declared inside parameter list /usr/include/arpa/inet.h:154: warning: `struct ether_addr' declared inside parameter list /usr/include/arpa/inet.h:159: warning: `struct sockaddr_dl' declared inside parameter list /usr/include/arpa/inet.h:160: warning: `struct sockaddr_dl' declared inside parameter list /usr/include/arpa/inet.h:161: warning: `struct sockaddr_dl' declared inside parameter list make: 1254-004 The error code from the last command is 1. Stop. ----->Turnover: modify php-4.0.4pl1/Zend/zend.h /* tsa * #ifdef HAVE_DLFCN_H * # include <dlfcn.h> * #endif */ void *dlopen(const char *, int); int dlclose(void *); void *dlsym(void *, const char *); const char *dlerror(void); /* tsa */ modify apache_1.3.9/src/os/unix/os.h #ifdef AIX /* tsa * #if AIX < 43 */ #undef HAVE_DLFCN_H /* tsa * #endif */ #endif