>Number: 3321
>Category: general
>Synopsis: Compilation problems
>Confidential: no
>Severity: critical
>Priority: medium
>Responsible: apache
>State: open
>Class: sw-bug
>Submitter-Id: apache
>Arrival-Date: Sat Oct 31 07:10:00 PST 1998
>Last-Modified:
>Originator: [EMAIL PROTECTED]
>Organization:
apache
>Release: 1.3.2
>Environment:
Linux Suse 5.2
gcc 2.7.2.1
uname -a = Linux myserver 2.0.33 #2 Mon May 18 19:25:29 MEST 1998 i486 unknown
>Description:
The compilation doesn't work. I have out-commented some modules in the
Configuration file, but none added. ./Configure runs through but the subsequent
make yields parsing errors. Apache 1.2 was installed with the Linux package and
runs. Here is a screenshot of make:
myserver:/usr/local/apache_1.3.2/src # make
===> regex
sh ./mkh -i _REGEX_H_ regex2.h regcomp.c regerror.c regexec.c regfree.c >
../include/hsregex.h
sh ./mkh -p regcomp.c >regcomp.ih
gcc -I. -I../os/unix -I../include -DLINUX=2 -DUSE_HSREGEX -DPOSIX_MISTAKE
-c regcomp.c -o regcomp.o
gcc -I. -I../os/unix -I../include -DLINUX=2 -DUSE_HSREGEX -DPOSIX_MISTAKE
-c regexec.c -o regexec.o
gcc -I. -I../os/unix -I../include -DLINUX=2 -DUSE_HSREGEX -DPOSIX_MISTAKE
-c regerror.c -o regerror.o
gcc -I. -I../os/unix -I../include -DLINUX=2 -DUSE_HSREGEX -DPOSIX_MISTAKE
-c regfree.c -o regfree.o
rm -f libregex.a
ar cr libregex.a regcomp.o regexec.o regerror.o regfree.o
ranlib libregex.a
<=== regex
===> os/unix
gcc -c -I../../os/unix -I../../include -DLINUX=2 -DUSE_HSREGEX os.c
In file included from ../../include/ap_config.h:915,
from os.c:6:
/usr/include/netinet/in.h:1: parse error before `/'
/usr/include/netinet/in.h:16: numeric constant contains digits beyond the radix
In file included from /usr/include/arpa/inet.h:73,
from ../../include/ap_config.h:919,
from os.c:6:
/usr/include/netinet/in.h:1: parse error before `/'
/usr/include/netinet/in.h:16: numeric constant contains digits beyond the radix
make[1]: *** [os.o] Error 1
make: *** [subdirs] Error 1
What is wrong ? Thank you for help.
>How-To-Repeat:
type make after ./Configure
>Fix:
>Audit-Trail:
>Unformatted:
[In order for any reply to be added to the PR database, ]
[you need to include <[EMAIL PROTECTED]> 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! ]