ID: 31199 Updated by: [EMAIL PROTECTED] Reported By: laurent dot faillie at st dot com -Status: Assigned +Status: Feedback Bug Type: Compile Failure Operating System: HPUX 10.20 PHP Version: 4.3.10 Assigned To: derick New Comment:
Please try using this CVS snapshot: http://snaps.php.net/php4-STABLE-latest.tar.gz For Windows: http://snaps.php.net/win32/php4-win32-STABLE-latest.zip Previous Comments: ------------------------------------------------------------------------ [2004-12-20 16:17:53] laurent dot faillie at st dot com It fails also later w/ another problem : /bin/sh /projets/depots/php-4.3.10/libtool --silent --preserve-dup-deps --mode=compile gcc -I/usr/local/apache2/include -D_XOPEN_SOURCE_EXTENDED -D_REENTRANT -I/usr/local/apache2/include -I/usr/local/apache2/include -Isapi/apache2handler/ -I/projets/depots/php-4.3.10/sapi/apache2handler/ -DPHP_ATOM_INC -I/projets/depots/php-4.3.10/include -I/projets/depots/php-4.3.10/main -I/projets/depots/php-4.3.10 -I/projets/depots/php-4.3.10/Zend -I/usr/local/include -I/usr/local/pgsql/include -I/projets/depots/php-4.3.10/ext/xml/expat -I/projets/depots/php-4.3.10/TSRM -g -O2 -prefer-pic -c /projets/depots/php-4.3.10/sapi/apache2handler/sapi_apache2.c -o sapi/apache2handler/sapi_apache2.lo In file included from /projets/depots/php-4.3.10/main/php_network.h:58, from /projets/depots/php-4.3.10/ext/standard/fsock.h:38, from /projets/depots/php-4.3.10/ext/standard/php_standard.h:44, from /projets/depots/php-4.3.10/sapi/apache2handler/sapi_apache2.c:33: /usr/include/netinet/in.h:96: error: conflicting types for `u_int' /opt/TWWfsw/gcc33/lib/gcc-lib/hppa2.0-hp-hpux10.20/3.3/include/sys/types.h:302: error: previous declaration of `u_int' gmake: *** [sapi/apache2handler/sapi_apache2.lo] Error 1 This time, the cause is #define in_addr_t u_int in /projets/depots/php-4.3.10/main/php_config.h => I think it's a problem w/ configure scripts. As soon as this 2 bugs are corrected, PHP 4.3.10 compiles successfully under HP-UX 10.20 Bye Laurent ------------------------------------------------------------------------ [2004-12-20 14:02:17] laurent dot faillie at st dot com Description: ------------ Compilation problem found on HP-UX 10.20 (I haven't tested w/ more recent HP-UX). * php-4.3.10/Zend/zend_strtod.c fails to compile as u_int32_t isn't defined anywere. The workaround is to add #ifdef __hpux__ #include <model.h> typedef uint32_t u_int32_t; #endif somewhere in the begining of zend_strtod.c. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=31199&edit=1