#19425 [Opn->Csd]: Compiler chokes using --with-isapi / compiler warnings

From: Date: Mon, 16 Sep 2002 13:16:38 +0000
Subject: #19425 [Opn->Csd]: Compiler chokes using --with-isapi / compiler warnings
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-19454@lists.php.net to get a copy of this message
ID: 19425 Updated by: sniper@php.net Reported By: tony@consultant.idps.co.uk -Status: Open +Status: Closed -Bug Type: Compile Failure +Bug Type: Other web server Operating System: Linux 2.4.18 PHP Version: 4.2.3 New Comment: This bug has been fixed in CVS. In case this was a PHP problem, snapshots of the sources are packaged every three hours; this change will be in the next snapshot. You can grab the snapshot at http://snaps.php.net/. In case this was a documentation problem, the fix will show up soon at http://www.php.net/manual/. In case this was a PHP.net website problem, the change will show up on the PHP.net site and on the mirror sites in short time. Thank you for the report, and for helping us make PHP better. Previous Comments: ------------------------------------------------------------------------ [2002-09-15 17:08:30] tony@consultant.idps.co.uk I'm trying to compile php-4.2.3 using the option --with-isapi. When the compiler reaches the ISAPI section, it gives the following errors. make[3]: Entering directory `/usr/local/src/php-4.2.3-isapi/sapi/isapi' /bin/sh /usr/local/src/php-4.2.3-isapi/libtool --silent --mode=compile gcc -I. -I/usr/local/src/php-4.2.3-isapi/sapi/isapi -I/usr/local/src/php-4.2.3-isapi/main -I/usr/local/src/php-4.2.3-isapi -I/usr/local/zeus/web/include -I/usr/local/src/php-4.2.3-isapi/Zend -I/usr/local/ssl/include -I/usr/include/libxml2 -I/usr/include/mysql -I/usr/include/pgsql -I/usr/local/src/php-4.2.3-isapi/ext/xml/expat -D_REENTRANT -I/usr/local/src/php-4.2.3-isapi/TSRM -g -O2 -pthread -DZTS -prefer-pic -c php4isapi.c php4isapi.c: In function `init_request_info': php4isapi.c:654: warning: assignment discards qualifiers from pointer target type php4isapi.c:655: warning: assignment discards qualifiers from pointer target type php4isapi.c:656: warning: assignment discards qualifiers from pointer target type php4isapi.c: In function `HttpExtensionProc': php4isapi.c:746: `sapi_globals' undeclared (first use in this function) php4isapi.c:746: (Each undeclared identifier is reported only once php4isapi.c:746: for each function it appears in.) make[3]: *** [php4isapi.lo] Error 1 make[3]: Leaving directory `/usr/local/src/php-4.2.3-isapi/sapi/isapi' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/usr/local/src/php-4.2.3-isapi/sapi/isapi' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/local/src/php-4.2.3-isapi/sapi' make: *** [all-recursive] Error 1 I'm no expert, but the errors look to me to be generated by the php4isapi.c rather than anything else. I could be wrong, I frequently am. Any pointers would be appreciated. Regards ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=19425&edit=1

« previous php.bugs (#19454) next »