Received: (qmail 21885 invoked by uid 2012); 24 Dec 1998 03:47:38 -0000 Message-Id: <19981224034738.21884.qmail@hyperreal.org> Date: 24 Dec 1998 03:47:38 -0000 From: Ted Eisenberg Reply-To: ted@teddy.law.cornell.edu To: apbugs@hyperreal.org Subject: failure to compile Apache 1.3.3 in AIX 4.2.5 X-Send-Pr-Version: 3.2 >Number: 3580 >Category: os-aix >Synopsis: failure to compile Apache 1.3.3 in AIX 4.2.5 >Confidential: no >Severity: serious >Priority: medium >Responsible: apache >State: closed >Class: sw-bug >Submitter-Id: apache >Arrival-Date: Wed Dec 23 19:50:01 PST 1998 >Last-Modified: Wed Dec 23 21:59:54 PST 1998 >Originator: ted@teddy.law.cornell.edu >Organization: >Release: 1.3.3 >Environment: AIX 4.2.5 uname yields "AIX teddy 2 4 000061174600" compiler =gcc gcc -v yields "Reading specs from /usr/local/lib/gcc-lib/rs6000-ibm-aix4.1.4.0/2.7.2.2/specs gcc version 2.7.2.2" >Description: output from make command follows. I was able to compile in AIX 3.2.5 using earlier version of gcc. So Configuration files are not the problem Here is tht output from make in 4.2.5: ===> regex Target "all" is up to date. Target "lib" is up to date. <=== regex ===> os/unix gcc -c -I../../os/unix -I../../include -DAIX=42 -U__STR__ -DAIX_BIND\ _PROCESSOR -DUSE_HSREGEX `../../apaci` os.c In file included from ../../include/ap_config.h:96, from os.c:6: /usr/local/lib/gcc-lib/rs6000-ibm-aix4.1.4.0/2.7.2.2/include/sys/param.h:46: wa\ rning: `PAGESIZE' redefined /usr/include/sys/limits.h:271: warning: this is the location of the previous de\ finition In file included from ../../include/ap_config.h:85, from os.c:6: /usr/include/sys/stat.h:92: parse error before `blkcnt_t' /usr/include/sys/stat.h:92: warning: no semicolon at end of struct or union /usr/include/sys/stat.h:107: parse error before `}' make: 1254-004 The error code from the last command is 1. >How-To-Repeat: >Fix: >Audit-Trail: State-Changed-From-To: open-closed State-Changed-By: marc State-Changed-When: Wed Dec 23 21:59:54 PST 1998 State-Changed-Why: As your output clearly shows, you are using AIX 4.2.5 with a 4.1.4 compiler. You need a version of gcc designed for your version of your OS. >Unformatted: [In order for any reply to be added to the PR database, ] [you need to include in the Cc line ] [and leave the subject line UNCHANGED. This is not done] [automatically because of the potential for mail loops. ] [If you do not include this Cc, your reply may be ig- ] [nored unless you are responding to an explicit request ] [from a developer. ] [Reply only with text; DO NOT SEND ATTACHMENTS! ]