Bug #17278 Updated: Just can't compile on HP 11

From: Date: Tue, 04 Jun 2002 13:30:26 +0000
Subject: Bug #17278 Updated: Just can't compile on HP 11
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-9465@lists.php.net to get a copy of this message
ID: 17278 Updated by: luca.fasolo@ecommerce.it Reported By: d.chiroli@finsiel.it Status: Open Bug Type: Compile Failure Operating System: HP-UX 11.00 PHP Version: 4.1.2 New Comment: I'm trying to compile PHP 4.2.1 with HP's cc compiler (I can't use gcc because with this compiler I wasn't able to build mod_ssl). I've this (similar?) problem: # cat configLuca CC=cc CFLAGS="+e -O2" ./configure -with-apxs=/usr/local/apache/bin/apxs make fails with: /bin/sh ../libtool --silent --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I../main -DHPUX11 -D_HPUX_SOURCE -DMOD_SSL=208107 -DUSE_HSREGEX -DEAPI -DUSE_EXPAT -I../TSRM +e -O2 -prefer-pic -c ./zend_execute.c cc: "zend_execute.c", line 70: error 1000: Unexpected symbol: "*". cc: panic 2017: Cannot recover from earlier errors, terminating. *** Error exit code 1 In line 70 there's: static inline zval *_get_zval_ptr ... Perhaps I'm missing some flags to cc, but perhaps there's a more general problem with HP-UX 11.0: can somebody help? Thanks in advance. Previous Comments: ------------------------------------------------------------------------ [2002-05-16 17:20:21] d.chiroli@finsiel.it We are trying to setup the following environment: - HP-UX 11 - HP Linux Porting Kit (i.e. libhplx) - gcc.depot 3.0.4 - Oracle 8i - Sablot 0.9 - expat-1.95.2 plus bison binutils perl ... and HP patches too After makeinstalling Apache 1.3.12 we use the following configure : --prefix=/APAPHP/PHP \ --with-config-file-path=/APAPHP \ --with-apxs=/APAPHP/bin/apxs\ --enable-track-vars \ --with-oci8=/oracle/app/oracle/product/8.1.7 \ --with-oracle=/oracle/app/oracle/product/8.1.7 \ --enable-magic-quotes \ --enable-debugger \ --enable-xslt \ --with-xslt-sablot The configure looks fine, but we cannot go any further, on the following error when we try to compile PHP: -------------------------------------------------- Making all in Zend /bin/sh ../libtool --silent --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../main -DHPUX11 -DUSE_HSRE GEX -DUSE_EXPAT -I../TSRM -g -O2 -prefer-pic -c zend_operators.c zend_operators.c: In function `multi_convert_to_long_ex': zend_operators.c:563: warning: passing arg 1 of `__builtin_stdarg_start' from incompatible pointer type zend_operators.c:570: warning: passing arg 1 of `__builtin_va_end' from incompatible pointer type zend_operators.c:566: first argument to va_arg' not of type va_list' zend_operators.c: In function `multi_convert_to_double_ex': zend_operators.c:578: warning: passing arg 1 of `__builtin_stdarg_start' from incompatible pointer type zend_operators.c:585: warning: passing arg 1 of `__builtin_va_end' from incompatible pointer type zend_operators.c:581: first argument to va_arg' not of type va_list' zend_operators.c: In function `multi_convert_to_string_ex': zend_operators.c:593: warning: passing arg 1 of `__builtin_stdarg_start' from incompatible pointer type zend_operators.c:600: warning: passing arg 1 of `__builtin_va_end' from incompatible pointer type zend_operators.c:596: first argument to va_arg' not of type va_list' cd Zend*** Error exit code 1 Stop. *** Error exit code 1 ----------------------------------------------------------- Any help ? Pls! Thanks in advance ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=17278&edit=1

« previous php.bugs (#9465) next »