🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: comp.sys.sgi.misc
2 messages
2 total messages Started by Philip Hunt Wed, 04 Nov 1998 00:00
problem compiling Apache
#389
Author: Philip Hunt
Date: Wed, 04 Nov 1998 00:00
63 lines
2664 bytes
I'm having problems compiling Apache 1.3.3 on an SG O2
running IRIX 6.5.

When I type:

   ./configure --prefix=/usr/local/www

(as recommended in the documentation), I 


I have a configuration script, called config.phil, which attempts 
to use the Gnu gcc compiler to compile it. my script looks like 
this:


#!/bin/sh

CC="/usr/local/gnu/bin/gcc" \
./configure \
   --prefix=/usr/local/www \
   --enable-module=so \
   --enable-rule=SHARED_CORE 

#end


(I have tried removing the --enable-module and --enable-rule
options, with no effect).
When I run my script, I get:


locke:~phil/ftpin/apache_1.3.3# ./config.phil
Configuring for Apache, Version 1.3.3
Creating Makefile
Creating Configuration.apaci in src
Creating Makefile in src
 + configured for SGI IRIX-32 platform
 + setting C pre-processor to /usr/local/gnu/bin/gcc -E
 + checking for system header files
 + adding selected modules
 + enabling generation of Apache core as DSO
collect2: ld returned 4 exit status
ld32: FATAL 12: Expecting n32 objects: /usr/lib/crt1.o is o32.
make: *** [dummy] Error 1
 + doing sanity check on compiler and options
** A test compilation with your Makefile configuration
** failed. This is most likely because your C compiler
** is not ANSI. Apache requires an ANSI C Compiler, such
** as gcc. The above error message from your compiler
** will also provide a clue.
 Aborting!


It seems that the problem is with ld32. Is GCC (the version
I'm using is 2.7.2.2) incompatible with this? What are 'n32'
and 'o32'? Do I need to use the GNU linker with GCC, and not 
ld32?



-- 
Phil Hunt                   phil@oyster.co.uk
Oyster Systems Ltd    http://www.oyster.co.uk
Re: problem compiling Apache
#390
Author: tstyles
Date: Wed, 04 Nov 1998 00:00
44 lines
2073 bytes
In article <36408116.F1E4FB29@oyster.co.uk>,
  Philip Hunt <phil@oyster.co.uk> wrote:
> I'm having problems compiling Apache 1.3.3 on an SG O2
> running IRIX 6.5.
>
> When I type:
>
>    ./configure --prefix=/usr/local/www
>
> (as recommended in the documentation), I
>
> I have a configuration script, called config.phil, which attempts
> to use the Gnu gcc compiler to compile it. my script looks like
> this:
>
> #!/bin/sh
>
> CC="/usr/local/gnu/bin/gcc" \
> ./configure \
>    --prefix=/usr/local/www \
>    --enable-module=so \
>    --enable-rule=SHARED_CORE
>
> #end
[snip]
>
> It seems that the problem is with ld32. Is GCC (the version
> I'm using is 2.7.2.2) incompatible with this? What are 'n32'
> and 'o32'? Do I need to use the GNU linker with GCC, and not
> ld32?
>

Well I check the C Standard and it had nothing to say about this, so your best
bet is to post to news:gnu.gcc.help


--
Tristan Styles

Failure is not an option
It is Standard Operating Procedure

-----------== Posted via Deja News, The Discussion Network ==----------
http://www.dejanews.com/       Search, Read, Discuss, or Start Your Own    
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads