Received: (qmail 9951 invoked by uid 2012); 8 Dec 1998 15:59:50 -0000 Message-Id: <19981208155950.9950.qmail@hyperreal.org> Date: 8 Dec 1998 15:59:50 -0000 From: Joseph King Reply-To: jking@umbc.edu To: apbugs@hyperreal.org Subject: On default config startup failes on Expected but saw X-Send-Pr-Version: 3.2 >Number: 3508 >Category: os-aix >Synopsis: On default config startup failes on Expected but saw >Confidential: no >Severity: critical >Priority: medium >Responsible: apache >State: closed >Class: sw-bug >Submitter-Id: apache >Arrival-Date: Tue Dec 8 08:00:00 PST 1998 >Last-Modified: Sun Dec 13 15:00:05 PST 1998 >Originator: jking@umbc.edu >Organization: >Release: 1.3.3 >Environment: AIX rsumbc1 3 4 000052764C00 xlC.rte 3.6.4.0 C C Set ++ for AIX Application >Description: On ./configure ; make ; make install startup fails with this error ----------- $apachectl configtest Syntax error on line 108 of /usr/local/apache/etc/srm.conf: Expected but saw ----------- >How-To-Repeat: apachectl start apachectl configtest ./httpd >Fix: Sorry... no. >Audit-Trail: State-Changed-From-To: open-closed State-Changed-By: marc State-Changed-When: Tue Dec 8 09:17:13 PST 1998 State-Changed-Why: This is already reported numerous times in the bugdb. It is due to a broken compiler doing incorrect things. Please use gcc or check with IBM to see if a fix is available for the AIX compiler. From: shaneo@raleigh.ibm.com (Shane Owenby) To: jking@umbc.edu Cc: apbugs@apache.org Subject: Re: os-aix/3508: On default config startup failes on Expected but saw Date: Tue, 8 Dec 1998 12:11:06 -0500 (EST) Joseph King Wrote: > > xlC.rte 3.6.4.0 C C Set ++ for AIX Application > ----------- > $apachectl configtest > Syntax error on line 108 of /usr/local/apache/etc/srm.conf: > Expected but saw The version of the C compiler you have from IBM has a bug in it, which is seen from this small code segment... static const char a[] = "astring"; const char *const g = a; int main() { const char *const b = a; printf("%p %p\n",g,b); } They are to be providing an official PTF or APAR sometime this century. I know a fix is available as I have a backdoor one. I will change this PR to analyzed, and provide you with the URL for the fix when available. Thanks for using Apache ( in the meantime use gcc ). Shane Owenby IBM State-Changed-From-To: closed-analyzed State-Changed-By: shaneo@raleigh.ibm.com State-Changed-When: Tue Dec 8 09:21:50 PST 1998 State-Changed-Why: Changed to analyzed so the APAR or PTF from IBM can be sent when available. Thanks for using Apache. State-Changed-From-To: analyzed-closed State-Changed-By: shaneo@raleigh.ibm.com State-Changed-When: Sun Dec 13 15:00:05 PST 1998 State-Changed-Why: The AIX compiler problem which gave the error of "on Expected but saw " has been fixed. + A set of PTF's which correct the problem are available from: + http://service.software.ibm.com/support/rs6000 + The PTF's are: U462005, U462006, U462007, and U462023 through + U462030. The PTF's have been tested and do indeed fix the problem. 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! ]