You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Harry Xu <ha...@faith-inc.com> on 2002/03/11 01:07:39 UTC

Installing 1.3.22 on Solaris 8

Hi, thanks in advance,

I have installed a SunOS 5.8,and now I am trying to install a apache-1.3.22
and I've found nexts errors:

gcc -c  -I../os/unix -I../include   -DSOLARIS2=280 -DUSE_EXPAT -I../lib/expa
t-lite -DNO_DL_NEEDED `../apaci` ap_cpystrn.c
gcc -c  -I../os/unix -I../include   -DSOLARIS2=280 -DUSE_EXPAT -I../lib/expa
t-lite -DNO_DL_NEEDED `../apaci` ap_execve.c
gcc -c  -I../os/unix -I../include   -DSOLARIS2=280 -DUSE_EXPAT -I../lib/expa
t-lite -DNO_DL_NEEDED `../apaci` ap_fnmatch.c
gcc -c  -I../os/unix -I../include   -DSOLARIS2=280 -DUSE_EXPAT -I../lib/expa
t-lite -DNO_DL_NEEDED `../apaci` ap_getpass.c
gcc -c  -I../os/unix -I../include   -DSOLARIS2=280 -DUSE_EXPAT -I../lib/expa
t-lite -DNO_DL_NEEDED `../apaci` ap_md5c.c
gcc -c  -I../os/unix -I../include   -DSOLARIS2=280 -DUSE_EXPAT -I../lib/expa
t-lite -DNO_DL_NEEDED `../apaci` ap_signal.c
gcc -c  -I../os/unix -I../include   -DSOLARIS2=280 -DUSE_EXPAT -I../lib/expa
t-lite -DNO_DL_NEEDED `../apaci` ap_slack.c
gcc -c  -I../os/unix -I../include   -DSOLARIS2=280 -DUSE_EXPAT -I../lib/expa
t-lite -DNO_DL_NEEDED `../apaci` ap_snprintf.c
/usr/ccs/bin/as: "/var/tmp/ccDqZ0yd.s", line 3318: error: unknown opcode
".subsection"
/usr/ccs/bin/as: "/var/tmp/ccDqZ0yd.s", line 3318: error: statement syntax
/usr/ccs/bin/as: "/var/tmp/ccDqZ0yd.s", line 3442: error: unknown opcode
".previous"
/usr/ccs/bin/as: "/var/tmp/ccDqZ0yd.s", line 3442: error: statement syntax
make[3]: *** [ap_snprintf.o] Error 1
make[2]: *** [subdirs] Error 1
make[2]: Leaving directory
`/export/home/usrt/tarfile/apache/apache_1.3.22/src'
make[1]: *** [build-std] Error 2
make[1]: Leaving directory `/export/home/usrt/tarfile/apache/apache_1.3.22'
make: *** [build] Error 2

I am using gcc3.0.3, what is the problem? can somebody help me?

Harry


---------------------------------------------------------------------
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@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


RE: Installing 1.3.22 on Solaris 8

Posted by Joshua Slive <jo...@slive.ca>.
> From: dmccabe@dna.mcgill.ca [mailto:dmccabe@dna.mcgill.ca]On
> Ok, you are using GCC 3.x from GNU, and the as (assembler) from Sun. The
> docs
> for GCC 3.x explicitly tell you that you _cannot_ use the other
> Sun compiler
> tools with GCC 3.x. You _must_ install and use the GNU compiler tools,
> meaning
> their gas, and gmake, and everything else.

Can you point me to that reference in the GCC docs?  I'd like to get some
definitive info about this problem.

Thanks.

Joshua.


---------------------------------------------------------------------
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@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


RE: Installing 1.3.22 on Solaris 8

Posted by Harry Xu <ha...@faith-inc.com>.
Thank you very much!
It works.
I'v successfully installed apache after re-installed the gcc2.95.3.

Thanks again!

Harry

-----Original Message-----
From: dmccabe@dna.mcgill.ca [mailto:dmccabe@dna.mcgill.ca]On Behalf Of David
McCabe
Sent: Tuesday, March 12, 2002 2:15 AM
To: users@httpd.apache.org
Subject: Re: Installing 1.3.22 on Solaris 8


Harry Xu wrote:
>
> /usr/ccs/bin/as: "/var/tmp/ccDqZ0yd.s", line 3318: error: unknown opcode
> ".subsection"

> I am using gcc3.0.3, what is the problem? can somebody help me?

Ok, you are using GCC 3.x from GNU, and the as (assembler) from Sun. The
docs
for GCC 3.x explicitly tell you that you _cannot_ use the other Sun compiler
tools with GCC 3.x. You _must_ install and use the GNU compiler tools,
meaning
their gas, and gmake, and everything else.

If you don't want to do that, (like me:) then use GCC 2.95.x. That is what I
use, (2.95.3 in Solaris Package format from sunfreeware.com, available for
Solaris 6, 7, and 8) and Apache 1.3.19, 1.3.20, 1.3.22, and 1.3.23 all
compile
and run fine on Solaris 8, in either dynamic or static builds.

--
David McCabe                    Senior Systems Analyst
Network and Communications Services, McGill University
Montreal, Quebec, Canada        david.mccabe@mcgill.ca

---------------------------------------------------------------------
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@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org



---------------------------------------------------------------------
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@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: Installing 1.3.22 on Solaris 8

Posted by David McCabe <da...@mcgill.ca>.
Harry Xu wrote:
> 
> /usr/ccs/bin/as: "/var/tmp/ccDqZ0yd.s", line 3318: error: unknown opcode
> ".subsection"

> I am using gcc3.0.3, what is the problem? can somebody help me?

Ok, you are using GCC 3.x from GNU, and the as (assembler) from Sun. The docs
for GCC 3.x explicitly tell you that you _cannot_ use the other Sun compiler
tools with GCC 3.x. You _must_ install and use the GNU compiler tools, meaning
their gas, and gmake, and everything else.

If you don't want to do that, (like me:) then use GCC 2.95.x. That is what I
use, (2.95.3 in Solaris Package format from sunfreeware.com, available for
Solaris 6, 7, and 8) and Apache 1.3.19, 1.3.20, 1.3.22, and 1.3.23 all compile
and run fine on Solaris 8, in either dynamic or static builds.
 
--
David McCabe                    Senior Systems Analyst
Network and Communications Services, McGill University
Montreal, Quebec, Canada        david.mccabe@mcgill.ca

---------------------------------------------------------------------
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@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org