I'm getting the following messages when building HEAD: PHPDEV/ext/standard/file.c -fPIC -DPIC -o ext/standard/file.lo In file included from /usr/include/apache/fnmatch.h:38, from /home/wez/src/php/PHPDEV/ext/standard/file.c:104: /usr/include/apache/ap_config.h:1096: warning: `closesocket' redefined /home/wez/src/php/PHPDEV/main/php_network.h:32: warning: this is the location of the previous definition In file included from /usr/include/apache/fnmatch.h:38, from /home/wez/src/php/PHPDEV/ext/standard/file.c:104: /usr/include/apache/ap_config.h:1316: warning: `XtOffsetOf' redefined /home/wez/src/php/PHPDEV/main/php.h:361: warning: this is the location of the previous definition /home/wez/src/php/PHPDEV/ext/standard/file.c: In function `zif_fnmatch': /home/wez/src/php/PHPDEV/ext/standard/file.c:2222: warning: implicit declaration of function `fnmatch'
Apparently, it's picking up /usr/include/apache/fnmatch.h rather than /usr/include/fnmatch.h, and that includes the ap_config.h file which conflicts (harmlessly) with definitions in main/php_network.h PHP still builds, but these messages are a bit of a pain. --Wez. -- Wez Furlong The Brain Room Ltd. -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php