ID: 37098 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Open Bug Type: Compile Failure Operating System: Linux PHP Version: 5CVS-2006-04-16 (CVS) New Comment:
For clarification, I'm talking about 1.99.2.10 vs. 1.99.2.11. Previous Comments: ------------------------------------------------------------------------ [2006-04-16 17:26:26] [EMAIL PROTECTED] Description: ------------ ilia's fix of /php-src/ext/standard/http_fopen_wrapper.c (Fixed bug #37045 (Fixed check for special chars for http redirects).) Seems to have introduced this problem; If I go to the previous version of that file, everything compiles fine Reproduce code: --------------- $ gcc -v Reading specs from /usr/lib/gcc-lib/i386-linux/2.95.4/specs gcc version 2.95.4 20011002 (Debian prerelease) ./configure; make Expected result: ---------------- Compiles fine. Actual result: -------------- /bin/sh /opt/cruisecontrol/projects/PHP_5_1/php5/libtool --silent --preserve-dup-deps --mode=compile gcc -Iext/standard/ -I/opt/cruisecontrol/projects/PHP_5_1/php5/ext/standard/ -DPHP_ATOM_INC -I/opt/cruisecontrol/projects/PHP_5_1/php5/include -I/opt/cruisecontrol/projects/PHP_5_1/php5/main -I/opt/cruisecontrol/projects/PHP_5_1/php5 -I/opt/libxml2/include/libxml2 -I/opt/curl/include -I/opt/cruisecontrol/projects/PHP_5_1/php5/ext/date/lib -I/usr/include/freetype2 -I/usr/include/c-client -I/usr/include/mysql -I/opt/postgres/include -I/opt/tidy/include -I/opt/libxslt/include -I/opt/cruisecontrol/projects/PHP_5_1/php5/TSRM -I/opt/cruisecontrol/projects/PHP_5_1/php5/Zend -I/usr/include -g -O2 -c /opt/cruisecontrol/projects/PHP_5_1/php5/ext/standard/http_fopen_wrapper.c -o ext/standard/http_fopen_wrapper.lo /opt/cruisecontrol/projects/PHP_5_1/php5/ext/standard/http_fopen_wrapper.c: In function `php_stream_url_wrap_http_ex': /opt/cruisecontrol/projects/PHP_5_1/php5/ext/standard/http_fopen_wrapper.c:642: `newpath' undeclared (first use in this function) /opt/cruisecontrol/projects/PHP_5_1/php5/ext/standard/http_fopen_wrapper.c:642: (Each undeclared identifier is reported only once /opt/cruisecontrol/projects/PHP_5_1/php5/ext/standard/http_fopen_wrapper.c:642: for each function it appears in.) /opt/cruisecontrol/projects/PHP_5_1/php5/ext/standard/http_fopen_wrapper.c:642: parse error before `{' /opt/cruisecontrol/projects/PHP_5_1/php5/ext/standard/http_fopen_wrapper.c:643: `l' undeclared (first use in this function) /opt/cruisecontrol/projects/PHP_5_1/php5/ext/standard/http_fopen_wrapper.c:643: `s' undeclared (first use in this function) /opt/cruisecontrol/projects/PHP_5_1/php5/ext/standard/http_fopen_wrapper.c:643: `e' undeclared (first use in this function) /opt/cruisecontrol/projects/PHP_5_1/php5/ext/standard/http_fopen_wrapper.c:644: `new_path' undeclared (first use in this function) /opt/cruisecontrol/projects/PHP_5_1/php5/ext/standard/http_fopen_wrapper.c:214: label `out' used but not defined gcc: Internal compiler error: program cc1 got fatal signal 11 make: *** [ext/standard/http_fopen_wrapper.lo] Error 1 ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=37098&edit=1