Article View: comp.sys.sgi.misc
Article #389problem compiling Apache
From: Philip Hunt
Date: Wed, 04 Nov 1998 00:00
Date: Wed, 04 Nov 1998 00:00
63 lines
2664 bytes
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
Technical Details
Message-ID:
<36408116.F1E4FB29@oyster.co.uk>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 11318c,efaf816b0df7a595,start X-Google-Attributes: gid11318c,public X-Google-Thread: 100159,efaf816b0df7a595,start X-Google-Attributes: gid100159,public X-Google-Thread: 1014db,efaf816b0df7a595,start X-Google-Attributes: gid1014db,public X-Google-Thread: 114ad1,efaf816b0df7a595,start X-Google-Attributes: gid114ad1,public From: Philip Hunt <phil@oyster.co.uk> Subject: problem compiling Apache Date: 1998/11/04 Message-ID: <36408116.F1E4FB29@oyster.co.uk> X-Deja-AN: 408337358 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=us-ascii X-Complaints-To: abuse@cableinet.net X-Trace: news1.cableinet.co.uk 910196609 23585 195.188.206.37 (4 Nov 1998 16:23:29 GMT) Organization: Oyster Systems Ltd Mime-Version: 1.0 NNTP-Posting-Date: 4 Nov 1998 16:23:29 GMT Newsgroups: comp.sys.sgi.misc,gnu.gcc.help,comp.lang.c,comp.infosystems.servers.unix