You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apache-bugdb@apache.org by David Shaw <sp...@theresistance.net> on 1999/09/17 14:45:38 UTC

config/5029: Cannot compile 1.3.9, even with default options and no extra modules

>Number:         5029
>Category:       config
>Synopsis:       Cannot compile 1.3.9, even with default options and no extra modules
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    apache
>State:          open
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Fri Sep 17 05:50:01 PDT 1999
>Last-Modified:
>Originator:     spam2@theresistance.net
>Organization:
apache
>Release:        1.3.9
>Environment:
uname output:
Linux beholder.theresistance.net 2.2.1 #101 Fri Feb 5 16:17:12 EST 1999 ppc unkn
own

gcc -v output:
gcc version egcs-2.90.25 980302 (egcs-1.0.2 prerelease) 

System info:
LinuxPPC R4 (based on Red Hat 5 with the older glibc)
2.2.1 Kernel
PowerPC 604e/200
>Description:
I am running 1.3.4 on this machine and it compiled just fine.  Here is what happens when i try to compile on LinuxPPC R4:

[root@beholder apache_1.3.9]# ./configure --prefix=/usr/local/etc/apache
Configuring for Apache, Version 1.3.9
 + using installation path layout: Apache (config.layout)
Creating Makefile
Creating Configuration.apaci in src
Creating Makefile in src
 + configured for Linux platform
 + setting C compiler to gcc
 + setting C pre-processor to gcc -E
 + checking for system header files
 + adding selected modules
 + checking sizeof various data types
 + doing sanity check on compiler and options
Creating Makefile in src/support
Creating Makefile in src/regex
Creating Makefile in src/os/unix
Creating Makefile in src/ap
Creating Makefile in src/main
Creating Makefile in src/lib/expat-lite
Creating Makefile in src/modules/standard
[root@beholder apache_1.3.9]# make
===> src
make[1]: Entering directory `/usr/src/apache_1.3.9'
make[2]: Entering directory `/usr/src/apache_1.3.9/src'
===> src/regex
make[3]: Nothing to be done for `all'.
<=== src/regex
===> src/os/unix
gcc -c  -I../../os/unix -I../../include   -DLINUX=2 -DUSE_HSREGEX -DUSE_EXPAT -I
../../lib/expat-lite `../../apaci` os.c
In file included from ../../include/ap_config.h:1045,
                 from os.c:6:
/usr/include/sys/socket.h:146: warning: `struct msghdr' declared inside paramete
r list
/usr/include/sys/socket.h:146: warning: its scope is only this definition or dec
laration,
/usr/include/sys/socket.h:146: warning: which is probably not what you want.
/usr/include/sys/socket.h:150: warning: `struct msghdr' declared inside paramete
r list
In file included from /usr/include/netinet/in.h:27,
                 from ../../include/ap_config.h:1050,
                 from os.c:6:
/usr/include/linux/in.h:109: parse error before `sa_family_t'
/usr/include/linux/in.h:109: warning: no semicolon at end of struct or union
/usr/include/linux/in.h:116: parse error before `}'
make[3]: *** [os.o] Error 1
make[2]: *** [subdirs] Error 1
make[2]: Leaving directory `/usr/src/apache_1.3.9/src'
make[1]: *** [build-std] Error 2
make[1]: Leaving directory `/usr/src/apache_1.3.9'
make: *** [build] Error 2
[root@beholder apache_1.3.9]#
>How-To-Repeat:
Any LinuxPPC R4 system with the original software should be able to duplicate it.
>Fix:
I'd be happy to help debug the problem if given some direction.
>Audit-Trail:
>Unformatted:
[In order for any reply to be added to the PR database, you need]
[to include <ap...@Apache.Org> in the Cc line and make sure the]
[subject line starts with the report component and number, with ]
[or without any 'Re:' prefixes (such as "general/1098:" or      ]
["Re: general/1098:").  If the subject doesn't match this       ]
[pattern, your message will be misfiled and ignored.  The       ]
["apbugs" address is not added to the Cc line of messages from  ]
[the database 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!     ]