You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apache-bugdb@apache.org by Chris Craft <cc...@cncc.cc.co.us> on 1997/08/07 18:50:01 UTC
config/977: Won't compile - http_main.c:158: syntax error before `jmpbuffer' \n http_main.c:158: warning: data definition has no type or storage class
>Number: 977
>Category: config
>Synopsis: Won't compile - http_main.c:158: syntax error before `jmpbuffer' \n http_main.c:158: warning: data definition has no type or storage class
>Confidential: no
>Severity: critical
>Priority: medium
>Responsible: apache (Apache HTTP Project)
>State: open
>Class: sw-bug
>Submitter-Id: apache
>Arrival-Date: Thu Aug 7 09:50:01 1997
>Originator: ccraft@cncc.cc.co.us
>Organization:
apache
>Release: 1.2.1
>Environment:
# uname -a
NetBSD vax 1.2G NetBSD 1.2G (VS) #0: Sun Jun 15 12:08:31 MEST 1997 bertram@g
roucho.bbb.sub.org:/u/src/sys/arch/vax/compile/VS vax
# gcc --version
2.7.2.2
# grep '\-I' Configuration
EXTRA_INCLUDES=-I/usr/include/machine -I/usr/include/sys
#
>Description:
# ./Configure
Using config file: Configuration
Using Makefile template file: Makefile.tmpl
+ configured for FreeBSD/NetBSD platform
+ setting C compiler to gcc
+ setting C compiler optimization-level to -O2
# make
gcc -c -I/usr/include/machine -I/usr/include/sys -O2 alloc.c
gcc -c -I/usr/include/machine -I/usr/include/sys -O2 http_main.c
http_main.c:158: syntax error before `jmpbuffer'
http_main.c:158: warning: data definition has no type or storage class
*** Error code 1
Stop.
#
>How-To-Repeat:
Run ./Configure from apache.1.2.1/src with the extra
includes as above, then run make on a VAXstation2000
running NetBSD 1.2G.
(Note: I added "#include "/usr/include/unistd.h" to
alloc.c to get this far.)
>Fix:
Missing ifdef or ifndef somewhere?
>Audit-Trail:
>Unformatted: