Hi, I am trying to compile Apache 1.3.33 source on Solaris
10. Following are the versions of various required software installed on this
box:- GNU make: 3.80 gcc: 3.3.2 After the successful execution of the configure script, I am
getting errors on executing the “make” command. The error snapshot
is as follows:- bash-3.00$ make ===> src make[1]: Entering directory
`/home/agent6qa/Installables/apache1333/apache_1.3.3 3' make[2]: Entering directory `/home/agent6qa/Installables/apache1333/apache_1.3.3 3/src' ===> src/regex make[3]: Nothing to be done for `all'. <=== src/regex ===> src/os/unix gcc -c -I../../os/unix -I../../include -DSOLARIS2=2100
-DUSE_HSREGEX -DUSE_EX PAT -I../../lib/expat-lite -DNO_DL_NEEDED `../../apaci` os.c In file included from /usr/include/sys/wait.h:24, from ../../include/ap_config.h:1079, from os.c:21: /usr/include/sys/siginfo.h:259: error: parse error before
"ctid_t" /usr/include/sys/siginfo.h:292: error: parse error before
'}' token /usr/include/sys/siginfo.h:294: error: parse error before
'}' token /usr/include/sys/siginfo.h:390: error: parse error before
"ctid_t" /usr/include/sys/siginfo.h:392: error: conflicting types for
`__proc' /usr/include/sys/siginfo.h:261: error: previous declaration
of `__proc' /usr/include/sys/siginfo.h:398: error: conflicting types for
`__fault' /usr/include/sys/siginfo.h:267: error: previous declaration
of `__fault' /usr/include/sys/siginfo.h:404: error: conflicting types for
`__file' /usr/include/sys/siginfo.h:273: error: previous declaration
of `__file' /usr/include/sys/siginfo.h:420: error: conflicting types for
`__prof' /usr/include/sys/siginfo.h:287: error: previous declaration
of `__prof' /usr/include/sys/siginfo.h:424: error: conflicting types for
`__rctl' /usr/include/sys/siginfo.h:291: error: previous declaration
of `__rctl' /usr/include/sys/siginfo.h:426: error: parse error before
'}' token /usr/include/sys/siginfo.h:428: error: parse error before
'}' token /usr/include/sys/siginfo.h:432: error: parse error before
"k_siginfo_t" /usr/include/sys/siginfo.h:437: error: parse error before
'}' token In file included from /usr/include/sys/procset.h:24, from /usr/include/sys/wait.h:25, from ../../include/ap_config.h:1079, from os.c:21: /usr/include/sys/signal.h:85: error: parse error before
"siginfo_t" In file included from ../../include/ap_config.h:1079, from os.c:21: /usr/include/sys/wait.h:86: error: parse error before
"siginfo_t" In file included from ../../include/ap_config.h:1096, from os.c:21: /usr/include/signal.h:111: error: parse error before
"siginfo_t" /usr/include/signal.h:113: error: parse error before
"siginfo_t" make[3]: *** [os.o] Error 1 make[2]: *** [subdirs] Error 1 make[2]: Leaving directory
`/home/agent6qa/Installables/apache1333/apache_1.3.33 /src' make[1]: *** [build-std] Error 2 make[1]: Leaving directory
`/home/agent6qa/Installables/apache1333/apache_1.3.33 ' make: *** [build] Error 2 -bash-3.00$ which gcc /usr/local/bin/gcc Please suggest a solution since on the same box I am stuck
with openssl compilation as well. Openssl version 0.9.7d. Perminder Vohra Project Manager Extn: 6235
|