Re: fnmatch build issue

From: Date: Tue, 23 Apr 2002 03:02:42 +0000
Subject: Re: fnmatch build issue
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-83189@lists.php.net to get a copy of this message
Should be fixed now.. --Jani On Sun, 21 Apr 2002, Wez Furlong wrote: >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. > > --

« previous php.dev (#83189) next »