From nobody@hyperreal.com Wed Apr 16 03:46:07 1997 Received: (from nobody@localhost) by hyperreal.com (8.8.4/8.8.4) id DAA00896; Wed, 16 Apr 1997 03:46:07 -0700 (PDT) Message-Id: <199704161046.DAA00896@hyperreal.com> Date: Wed, 16 Apr 1997 03:46:07 -0700 (PDT) From: Andreas Jaekel Reply-To: tabalon@bbtt.de To: apbugs@hyperreal.com Subject: failed compiling ( http_main.c ) X-Send-Pr-Version: 3.2 >Number: 402 >Category: os-solaris >Synopsis: failed compiling ( http_main.c ) >Confidential: no >Severity: non-critical >Priority: medium >Responsible: apache >State: closed >Class: sw-bug >Submitter-Id: apache >Arrival-Date: Wed Apr 16 03:50:01 1997 >Last-Modified: Sun Jun 29 18:12:58 PDT 1997 >Originator: tabalon@bbtt.de >Organization: >Release: 1.2b8 >Environment: SunOS atom 5.4 Generic_101945-41 sun4m sparc Reading specs from /usr/local/lib/gcc-lib/sparc-sun-solaris2.4/2.6.3/specs gcc version 2.6.3 >Description: After editing src/Configuration (no chanegs) and running ./Configure apache wouldn't compile. It stopped with: gcc -c -Iregex -O2 -DSOLARIS2 http_main.c http_main.c:159: parse error before `jmpbuffer' http_main.c:159: warning: data definition has no type or storage class http_main.c:160: parse error before `restart_buffer' http_main.c:160: warning: data definition has no type or storage class *** Error code 1 make: Fatal error: Command failed for target `http_main.o' >How-To-Repeat: I don't know why this problem occurs in the first place. I fixed it the simple way, but it makes no sense. See "way to fix". >Fix: What I did: I included the definition typedef int sigjmp_buf[_SIGJBLEN]; (which I took from /usr/include/setjmp.h) into http_main.c at line 157. It makes no sense since setjmp.h IS ALREADY included into http_main.c (see line 88) but it worked. I'd be happy to hear from you if you know why this happened. %0 >Audit-Trail: State-Changed-From-To: open-analyzed State-Changed-By: dgaudet State-Changed-When: Sat Apr 19 14:52:42 PDT 1997 State-Changed-Why: This could easily be a headerfile mismatch between gcc's header files and the system header files. You should try upgrading gcc and/or using the sun compiler (if you have it). Or try running fixincludes again (part of the gcc installation procedure). Take a look in /usr/local/lib/gcc-lib/sparc-sun-solaris2.4/2.6.3 for gcc's headers and see if they match up with what you're seeing in /usr/include. Dean State-Changed-From-To: analyzed-closed State-Changed-By: dgaudet State-Changed-When: Sun Jun 29 18:12:58 PDT 1997 State-Changed-Why: Assuming user solved problem on their own. Dean >Unformatted: