From nobody@hyperreal.com Tue Apr 8 15:48:27 1997 Received: (from nobody@localhost) by hyperreal.com (8.8.4/8.8.4) id PAA01276; Tue, 8 Apr 1997 15:48:27 -0700 (PDT) Message-Id: <199704082248.PAA01276@hyperreal.com> Date: Tue, 8 Apr 1997 15:48:27 -0700 (PDT) From: Felix Koop Reply-To: koop@heidelbg.ibm.com To: apbugs@hyperreal.com Subject: cannot compile, error in conf.h X-Send-Pr-Version: 3.2 >Number: 333 >Category: os-aix >Synopsis: cannot compile, error in conf.h >Confidential: no >Severity: serious >Priority: medium >Responsible: apache >State: closed >Class: sw-bug >Submitter-Id: apache >Arrival-Date: Tue Apr 8 15:50:01 1997 >Last-Modified: Mon Jun 30 23:20:34 PDT 1997 >Originator: koop@heidelbg.ibm.com >Organization: >Release: 1.2b8/1.2b7 >Environment: AIX 4.2 native compiler >Description: I have to comment out line 155 of file conf.h: typedef int rlim_t; in order to get the server compiled. If I do not comment it out, I get the error cc -c -O2 -DAIX -U__STR__ alloc.c "/usr/include/sys/resource.h", line 70.17: 1506-334 (S) Identifier rlim_t has already been defined on line 155 of "conf.h". >How-To-Repeat: >Fix: >Audit-Trail: From: Marc Slemko To: apbugs@apache.org Subject: Re: os-aix/333: cannot compile, error in conf.h (fwd) Date: Thu, 10 Apr 1997 21:02:01 -0600 (MDT) This should be able to be checked by parsing the output of /usr/bin/oslevel, if it exists. If not, then it is < v4.x. Otherwise, it returns something in the form: 4.1.4.0 (with no whitespace at the start) 4.1 needs the typedef, apparently 4.2 doesn't. Have access to a 4.1.4 box, no 4.2. State-Changed-From-To: open-analyzed State-Changed-By: marc State-Changed-When: Tue Apr 22 08:03:05 PDT 1997 State-Changed-Why: Valid problem, need to add special case code to detect versions of AIX that have rlim_t vs. those that don't. State-Changed-From-To: analyzed-closed State-Changed-By: marc State-Changed-When: Mon Jun 30 23:20:34 PDT 1997 State-Changed-Why: A patch has been applied to the source to fix the rlim_t problem on AIX 4.2. >Unformatted: