#17278 [Opn->Bgs]: Just can't compile on HP 11
| From: | kalowsky@php.net | Date: | Wed, 14 Aug 2002 02:34:57 +0000 |
| Subject: | #17278 [Opn->Bgs]: Just can't compile on HP 11 | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-16681@lists.php.net to get a copy of this message | ||
ID: 17278
Updated by: kalowsky@php.net
Reported By: d.chiroli@finsiel.it
-Status: Open
+Status: Bogus
Bug Type: Compile Failure
Operating System: HP-UX 11.00
PHP Version: 4.1.2
New Comment:
Thank you for taking the time to report a problem with PHP.
Unfortunately you are not using a current version of PHP --
the problem might already be fixed. Please download a new
PHP version from http://www.php.net/downloads.php
If you are able to reproduce the bug with one of the latest
versions of PHP, please change the PHP version on this bug report
to the version you tested and change the status back to "Open".
Again, thank you for your continued support of PHP.
Previous Comments:
------------------------------------------------------------------------
[2002-06-04 09:30:25] luca.fasolo@ecommerce.it
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.
------------------------------------------------------------------------
[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