Received: (qmail 27191 invoked by uid 2012); 2 Dec 1998 17:59:02 -0000 Message-Id: <19981202175902.27190.qmail@hyperreal.org> Date: 2 Dec 1998 17:59:02 -0000 From: Tim McNeil Reply-To: tmcneil@healtheon.com To: apbugs@hyperreal.org Subject: Compiling os.c /usr/include/sys/stat.h:92: parse error before `blkcnt_t' X-Send-Pr-Version: 3.2 >Number: 3481 >Category: os-aix >Synopsis: Compiling os.c /usr/include/sys/stat.h:92: parse error before `blkcnt_t' >Confidential: no >Severity: critical >Priority: medium >Responsible: apache >State: closed >Class: sw-bug >Submitter-Id: apache >Arrival-Date: Wed Dec 2 11:10:00 PST 1998 >Last-Modified: Wed Dec 2 13:10:01 PST 1998 >Originator: tmcneil@healtheon.com >Organization: >Release: 1.3.3 >Environment: AIX 4.2 gcc version 2.7.2.2 >Description: ===> src/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: warning: `PAGESIZE' redefined /usr/include/sys/limits.h:271: warning: this is the location of the previous definition 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 2 11:12:12 PST 1998 State-Changed-Why: Your compiler is broken. You are trying to use a gcc designed for AIX 4.1.4 with AIX 4.2. You can't do that. You have to get a version of gcc designed for your version of your OS. From: shaneo@raleigh.ibm.com (Shane Owenby) To: tmcneil@healtheon.com Cc: apbugs@apache.org Subject: Re: os-aix/3481: Compiling os.c /usr/include/sys/stat.h:92: parse error before `blkcnt_t' Date: Wed, 2 Dec 1998 14:49:27 -0500 (EST) Tim McNeil Wrote: > >Number: 3481 > >Category: os-aix > >Synopsis: Compiling os.c /usr/include/sys/stat.h:92: parse error before `blkcnt_t' > >Environment: > AIX 4.2 > gcc version 2.7.2.2 > /usr/local/lib/gcc-lib/rs6000-ibm-aix4.1.4.0/2.7.2.2/include/sys/param.h:46: warning: `PAGESIZE' redefined Notice you have a version of gcc for a 4.1 machine and you are on an 4.2 machine So please install a version of gcc or xlc for your version of AIX Thanks for using Apache. >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! ]