Re: [users@httpd] Apache 1.3.33 compilation problem on Solaris 10

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Try using Sun's stock GCC which is a newer version (v3.4.3) of what you
have at Sunfreeware... in /usr/sfw/bin/gcc


Perminder Singh Vohra wrote:

> 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 /*//*//*/
>
> **************** CAUTION - Disclaimer *****************
> This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended
> solely for the use of the addressee(s). If you are not the intended
> recipient, please notify the sender by e-mail and delete the original
> message. Further, you are not to copy, disclose, or distribute this
> e-mail or its contents to any other person and any such actions are
> unlawful. This e-mail may contain viruses. Infosys has taken every
> reasonable precaution to minimize this risk, but is not liable for any
> damage you may sustain as a result of any virus in this e-mail. You
> should carry out your own virus checks before opening the e-mail or
> attachment. Infosys reserves the right to monitor and review the
> content of all messages sent to or from this e-mail address. Messages
> sent to or from this e-mail address may be stored on the Infosys
> e-mail system.
> ***INFOSYS******** End of Disclaimer ********INFOSYS***
>

-- 

°(((=((===°°°(((===========================================

begin:vcard
fn:Ricardo Stella
n:Stella;Ricardo
org:Rider University
adr;dom:;;2083 Lawrenceville Rd;Lawrenceville;NJ;08648
version:2.1
end:vcard


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx

[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux