Subject: | |
From: | |
Reply To: | |
Date: | Fri, 16 Apr 1999 13:06:17 -0700 |
Content-Type: | text/plain |
Parts/Attachments: |
|
|
I'm attempting to compile Apache and the new JServ extensions on an MPE6.0
system. Lars Appel has done an outstanding job of documenting the steps for
compiling, and I've followed the steps closely. However I have hit a bump
during the make for Apache 1.3.4. It appears that GNU gcc has a problem. I'm
using the GNUCORE and GNUGCC freeware for MPE6.0 from Mark Klein's web site.
On my first compile, I found that file
/usr/local/lib/gcc-lib/hppa1.0-hp-mpeix/egcs-2.91.57/include/signal.h was trying
to include <sys/signal.h>. However, signal.h is really located in /usr/include.
My quick and dirty workaround was to copy /usr/include/signal.h to
/usr/include/sys/signal.h. This corrected the "No such file or directory"
error.
On my second compile, I encounter a different error with the Apache ap_signal
code:
ap_signal.c: In function `ap_signal':
ap_signal.c:68: storage size of `act' isn't known
ap_signal.c:68: storage size of `oact' isn't known
Shown below is the partial output of the Apache make.
true libos.a
<=== src/os/unix
===> src/ap
gcc -c -I../os/unix -I../include -D_POSIX_SOURCE -D_SOCKET_SOURCE -I/IX/PUB/mpe
/inc -DMPE -D_POSIX_SOURCE -D_SOCKET_SOURCE -DUSE_HSREGEX `../apaci` ap_execve.
c
gcc -c -I../os/unix -I../include -D_POSIX_SOURCE -D_SOCKET_SOURCE -I/IX/PUB/mpe
/inc -DMPE -D_POSIX_SOURCE -D_SOCKET_SOURCE -DUSE_HSREGEX `../apaci` ap_cpystrn
.c
gcc -c -I../os/unix -I../include -D_POSIX_SOURCE -D_SOCKET_SOURCE -I/IX/PUB/mpe
/inc -DMPE -D_POSIX_SOURCE -D_SOCKET_SOURCE -DUSE_HSREGEX `../apaci` ap_signal.
c
ap_signal.c: In function `ap_signal':
ap_signal.c:68: storage size of `act' isn't known
ap_signal.c:68: storage size of `oact' isn't known
ap_signal.c:77: `SIG_ERR' undeclared (first use in this function)
ap_signal.c:77: (Each undeclared identifier is reported only once
ap_signal.c:77: for each function it appears in.)
gcc: Internal compiler error: program cc1 got fatal signal 33
make[3]: *** [ap_signal.o] Error 1
make[2]: *** [subdirs] Error 1
make[2]: Leaving directory `/IX/PUB/apache/src'
make[1]: *** [build-std] Error 2
make[1]: Leaving directory `/IX/PUB/apache'
make: *** [build] Error 2
shell/iX>
Have any of you Posix gurus seen this before? Thanks for your assistance.
Steve Donnelly
-----------------------------------------------
Expeditors International - Information Services
|
|
|