www-apache-bugdb mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andreas Jaekel <taba...@bbtt.de>
Subject os-solaris/402: failed compiling ( http_main.c )
Date Wed, 16 Apr 1997 10:50:01 GMT

>Number:         402
>Category:       os-solaris
>Synopsis:       failed compiling ( http_main.c )
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    apache (Apache HTTP Project)
>State:          open
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Wed Apr 16 03:50:01 1997
>Originator:     tabalon@bbtt.de
>Organization:
apache
>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:
>Unformatted:



Mime
View raw message