|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2004-11-23 08:50 UTC] touv at ouvaton dot org
Description: ------------ When I try to compile PHP, cc freeze at this point : % export CC=cc % export CFLAGS="-O +DS2.0 +DA2.0W" % ./configure --with-libxml-dir=/usr/local/libs/libxml2-2.6.9-64 (...) % make (...) cc -Iext/standard/ -I/tmp/php-5.0.2/ext/standard/ -DPHP_ATOM_INC -I/tmp/php-5.0.2/include -I/tmp/php-5.0.2/main -I/tmp/php-5.0.2 -I/tmp/php-5.0.2/Zend -I/usr/local/libs/libxml2-2.6.9-64/include/libxml2 -I/usr/local/libs/libiconv-1.9.1-64/include -I/usr/include -I/usr/include/X11 -I/usr/contrib/include -I/usr/contrib/include/X11 -I/usr/local/libs/zlib-1.1.4-64/include -I/usr/local/libs/libxml2-2.6.9-64/include -I/tmp/php-5.0.2/TSRM -w -O +DS2.0 +DA2.0W -c /tmp/php-5.0.2/ext/standard/http_fopen_wrapper.c -o ext/standard/http_fopen_wrapper.o && echo > ext/standard/http_fopen_wrapper.lo PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Nov 22 09:00:02 2025 UTC |
I try with php5-STABLE-200412161530 version and I have the same problem. But if I replace this lines (around line 443 in http_fopen_wrapper.c) : ------------------------------------------ p = http_header_line; while(*p) { while(*p == '\n' || *p == '\r') { *p = '\0'; p--; found_eol = 1; } if (found_eol) break; p++; } ----------------------------------------- by this lines : ----------------------------------------- p = http_header_line; while(*p) { while(*p == '\n' || *p == '\r') { *p = '\0'; p--; goto bughpux; } p++; } bughpux: ------------------------------------------------ It's work... But after that have a other compiling problem, in a other file ...