|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[1999-07-20 23:58 UTC] jeff dot wiseman at alliedsignal dot com
Trying to install Zend 4.0 beta on HP-UX 10.20, configure step completes successfully, but get following when running make:
Making all in libzend
cc -DHAVE_CONFIG_H -I. -I/opt/php-4.0b1/./libzend -I. -g -g -c zend-parser.c
cc: "zend_alloc.h", line 57: warning 5: "const" will become a keyword.
cc: "zend_alloc.h", line 57: error 1000: Unexpected symbol: "char".
cc: error 2017: Cannot recover from earlier errors, terminating.
*** Error exit code 1
Stop.
Making all in ext
Making all in apache
cc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../libzend -I../../TSRM -I/opt/apache/src/include -I/opt/apache/src/os/unix -I/u
sr/local/include -I/cmsrep/d1/ora8/HP804/rdbms/demo -I/cmsrep/d1/ora8/HP804/network/public -I/cmsrep/d1/ora8/HP804/plsql/public
-I../.. -I../../libzend -g -g -c apache.c
cpp: "php_config.h", line 173: warning 2001: Redefinition of macro BROKEN_SPRINTF.
cc: "../../libzend/zend_alloc.h", line 57: warning 5: "const" will become a keyword.
cc: "../../libzend/zend_alloc.h", line 57: error 1000: Unexpected symbol: "char".
cc: error 2017: Cannot recover from earlier errors, terminating.
*** Error exit code 1
Stop.
*** Error exit code 1
Stop.
*** Error exit code 1
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Tue Dec 16 04:00:01 2025 UTC |
The suggested fix, using CFLAGS=-Dconst, failed to resolve the problem. However, the comment about requiring an ANSI compilation flag led me to try CFLAGS=-Aa. This also failed, but man described an "extended" option, -Ae, described in the cc man pages as follows: e Extended ANSI mode. Same as -Aa -D_HPUX_SOURCE +e. This would define the names (macros and typedefs) provided by the HPUX Operating System and, in addition, allow the following extensions: $ characters in identifier names, sized enums, sized bit-fields, and 64-bit integral type long long. Additional extensions may be added to this option in the future. This option resulted in a successful compile of all of the linzend objects, but resulted in the following failure during the apache make: cc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../libzend -I../../TSRM -I/opt/apache/src/include -I/opt/apache/src/os/uni x -I/usr/local/include -I/cmsrep/d1/ora8/HP804/rdbms/demo -I/cmsrep/d1/ora8/HP804/network/public -I/cmsrep/d1/ora8/HP80 4/plsql/public -I../.. -I../../libzend -Ae -g -c apache.c cpp: "php_config.h", line 173: warning 2001: Redefinition of macro BROKEN_SPRINTF. cc: "/usr/include/sys/unistd.h", line 219: error 1711: Inconsistent parameter list declaration for "getopt". cc: "/usr/include/sys/unistd.h", line 235: error 1711: Inconsistent parameter list declaration for "getpass". cc: "/usr/include/sys/unistd.h", line 238: error 1711: Inconsistent parameter list declaration for "rename". *** Error exit code 1 Stop. *** Error exit code 1 I will open a separate bug report for this one. Thanks, Jeff