php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #17278 Just can't compile on HP 11
Submitted: 2002-05-16 17:20 UTC Modified: 2002-08-13 22:34 UTC
From: d dot chiroli at finsiel dot it Assigned:
Status: Not a bug Package: Compile Failure
PHP Version: 4.1.2 OS: HP-UX 11.00
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: d dot chiroli at finsiel dot it
New email:
PHP Version: OS:

 

 [2002-05-16 17:20 UTC] d dot chiroli at finsiel dot 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 





 

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-06-04 09:30 UTC] luca dot fasolo at ecommerce dot 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-08-13 22:34 UTC] kalowsky@php.net
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.


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Sep 28 03:01:27 2024 UTC