#19425 [NEW]: Compiler chokes using --with-isapi / compiler warnings
| From: | tony at consultant dot idps dot co dot uk | Date: | Sun, 15 Sep 2002 22:08:30 +0000 |
| Subject: | #19425 [NEW]: Compiler chokes using --with-isapi / compiler warnings | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-19416@lists.php.net to get a copy of this message | ||
From: tony@consultant.idps.co.uk
Operating system: Linux 2.4.18
PHP version: 4.2.3
PHP Bug Type: Compile Failure
Bug description: Compiler chokes using --with-isapi / compiler warnings
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 bug report at http://bugs.php.net/?id=19425&edit=1
--
Try a CVS snapshot: http://bugs.php.net/fix.php?id=19425&r=trysnapshot
Fixed in CVS: http://bugs.php.net/fix.php?id=19425&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=19425&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=19425&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=19425&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=19425&r=support
Expected behavior: http://bugs.php.net/fix.php?id=19425&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=19425&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=19425&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=19425&r=globals