php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #2222 compiler options wrong for HP ANSI C
Submitted: 1999-09-02 14:02 UTC Modified: 1999-09-16 10:10 UTC
From: tm at blom dot co dot id Assigned:
Status: Closed Package: Compile Failure
PHP Version: 4.0 Beta 2 OS: HPUX 10.20
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: tm at blom dot co dot id
New email:
PHP Version: OS:

 

 [1999-09-02 14:02 UTC] tm at blom dot co dot id
Making all in libzend
        cc -DHAVE_CONFIG_H -I. -I/store/store/bise04/php/src-4.0b2-hp700ux10/./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/store/store/bise04/apache/src-1.3.9-hp700ux10//src/include -I/store/store/bise04/apache/src-1.3.9-hp700ux10//src/os/unix    -I../.. -I../../libzend    -Ae -Ae  -D_HPUX_SOURCE -g -c apache.c
-------------------------------------

In libzend the '-Ae' option is missing, thus no Ansi 
support and the compilation fails.

Also, while it doesn't really cause any problems, for
the rest of the compilation, -Ae is given twice to cc.

-D_HPUX_SOURCE is also defined automatically when you 
use -Ae, so it can be removed as well as long as -Ae
is used.

Terje Marthinussen
tm@blom.co.id

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1999-09-16 10:10 UTC] sas at cvs dot php dot net
fixed in CVS
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Sun Oct 11 13:00:01 2026 UTC