php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #19425 Compiler chokes using --with-isapi / compiler warnings
Submitted: 2002-09-15 17:08 UTC Modified: 2002-09-16 08:16 UTC
From: tony at consultant dot idps dot co dot uk Assigned:
Status: Closed Package: Other web server
PHP Version: 4.2.3 OS: Linux 2.4.18
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: tony at consultant dot idps dot co dot uk
New email:
PHP Version: OS:

 

 [2002-09-15 17:08 UTC] tony at consultant dot idps dot co dot 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

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-09-16 08:16 UTC] sniper@php.net
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.


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun Feb 25 08:01:27 2024 UTC