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 2000/03/10 21:17:50 UTC

os-linux/5853: cannot compile apacher on LinuxPPC R4

>Number:         5853
>Category:       os-linux
>Synopsis:       cannot compile apacher on LinuxPPC R4
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    apache
>State:          open
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Fri Mar 10 12:20:00 PST 2000
>Closed-Date:
>Last-Modified:
>Originator:     spam2@theresistance.net
>Release:        1.3.12
>Organization:
apache
>Environment:
Linux beholder 2.2.1 #101 Fri Feb 5 16:17:12 EST 1999 ppc unknown

gcc version egcs-2.90.25 980302 (egcs-1.0.2 prerelease)
>Description:
Apache will not compile on LinuxPPC R4.  I get the following error:

gcc -c  -I../../os/unix -I../../include   -DLINUX=2 -DUSE_HSREGEX -DUSE_EXPAT -I
../../lib/expat-lite -DNO_DL_NEEDED `../../apaci` os.c
In file included from ../../include/ap_config.h:1076,
                 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:1081,
                 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.12/src'
make[1]: *** [build-std] Error 2
make[1]: Leaving directory `/usr/src/apache_1.3.12'
make: *** [build] Error 2
[root@beholder apache_1.3.12]
>How-To-Repeat:
Try to compile the latest apache on LinuxPPC.  I know that 1.3.4 was compileable since that is the last version I installed.
>Fix:
No, but I would be happy to provide access to my server to someone in the Apache group who was qualified to fix it.
>Release-Note:
>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!     ]