ID: 41029 Updated by: [EMAIL PROTECTED] Reported By: dgrimes at scvl dot com -Status: Open +Status: Feedback Bug Type: Compile Failure Operating System: Tru64 V5.1 PHP Version: 5.2.1 New Comment:
va_arg() declaration is missing? Previous Comments: ------------------------------------------------------------------------ [2007-04-09 16:54:16] dgrimes at scvl dot com Description: ------------ Receiving the following error during compile: /usr/include/arpa/nameser_compat.h:164:1: warning: "INT16SZ" redefined In file included from /user01/dgrimes/cdev/php-5.2.1/ext/standard/php_standard.h:26, from /user01/dgrimes/cdev/php-5.2.1/ext/standard/basic_functions.c:27: /user01/dgrimes/cdev/php-5.2.1/ext/standard/dns.h:51:1: warning: this is the location of the previous definition /user01/dgrimes/cdev/php-5.2.1/ext/standard/basic_functions.c: In function `php_ini_get_option': /user01/dgrimes/cdev/php-5.2.1/ext/standard/basic_functions.c:5548: parse error before "zval" /user01/dgrimes/cdev/php-5.2.1/ext/standard/basic_functions.c:5548: parse error before "zval" /user01/dgrimes/cdev/php-5.2.1/ext/standard/basic_functions.c:5548: parse error before ')' token /user01/dgrimes/cdev/php-5.2.1/ext/standard/basic_functions.c:5549: parse error before "int" /user01/dgrimes/cdev/php-5.2.1/ext/standard/basic_functions.c:5549: parse error before "int" /user01/dgrimes/cdev/php-5.2.1/ext/standard/basic_functions.c:5549: parse error before ')' token /user01/dgrimes/cdev/php-5.2.1/ext/standard/basic_functions.c: In function `copy_request_variable': /user01/dgrimes/cdev/php-5.2.1/ext/standard/basic_functions.c:6228: parse error before "char" /user01/dgrimes/cdev/php-5.2.1/ext/standard/basic_functions.c:6228: parse error before "char" /user01/dgrimes/cdev/php-5.2.1/ext/standard/basic_functions.c:6228: parse error before ')' token /user01/dgrimes/cdev/php-5.2.1/ext/standard/basic_functions.c:6229: parse error before "uint" /user01/dgrimes/cdev/php-5.2.1/ext/standard/basic_functions.c:6229: parse error before "uint" /user01/dgrimes/cdev/php-5.2.1/ext/standard/basic_functions.c:6229: parse error before ')' token make: *** [ext/standard/basic_functions.lo] Error 1 Reproduce code: --------------- Compile Options: gcc version 3.1 make 3.79 CC="gcc" CXX="g++" CFLAGS="-pthread -O4 -ansi_alias -ansi_args" CXXFLAGS="-pthread -O4 -ansi_alias -ansi_args" export CC CXX CFLAGS CXXFLAGS Configure options: configure \ --with-mysql=/usr/local/mysql \ --with-oracle \ --with-libxml-dir=/user01/dgrimes/libxml2 \ --with-xsl=/user01/dgrimes/libxslt \ --with-zlib-dir=/usr/local \ --with-freetype-dir=/usr/local \ --with-png-dir=/usr/local \ --with-tiff-dir=/usr/local \ --with-jpeg-dir=/usr/local \ --with-gd \ --without-sqlite \ --without-pdo-sqlite \ --enable-ftp \ --enable-soap \ --enable-sysvsem \ --enable-sysvshm \ --disable-reflection Let me know if there is any additional information you require. Thanks, Dean ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=41029&edit=1