Problems installing Apache 1.0.5 on SunOS 5.4 Generic_101945-10 sun4m sparc

Problems installing Apache 1.0.5 on SunOS 5.4 Generic_101945-10 sun4m sparc

Post by Luca Passa » Fri, 31 May 1996 04:00:00



Hi, Gurus

I have problems installing Apache 1.0.5 on a SunOS 5.4
Generic_101945-10 sun4m sparc.

I think that the problem depends on:
============================================================================
conf.h:82: warning: `FCNTL_SERIALIZED_ACCEPT' redefined
*Initialization*:1: warning: this is the location of the previous definition

gcc -Wall -c -g -DSOLARIS2 -DFCNTL_SERIALIZED_ACCEPT http_core.c
In file included from httpd.h:61,

from http_core.c:56:

conf.h:82: warning: `FCNTL_SERIALIZED_ACCEPT' redefined

*Initialization*:1: warning: this is the location of the previous definition
gcc -Wall -c -g -DSOLARIS2 -DFCNTL_SERIALIZED_ACCEPT http_config.c
In file
included from httpd.h:61,

from http_config.c:72:
conf.h:82: warning: `FCNTL_SERIALIZED_ACCEPT' redefined
*Initialization*:1: warning: this is the location of the previous definition
============================================================================

But I'm not sure. I'm using gcc version 2.6 (no way cc is going to work)

from the Makefile

# For Solaris 2.
AUX_CFLAGS= -DSOLARIS2 -DFCNTL_SERIALIZED_ACCEPT
EXTRA_LIBS= -lsocket -lnsl

if I don't use this option (`FCNTL_SERIALIZED_ACCEPT') the build aborts during
the linking:

=============================================================================
gcc -Wall  -o httpd alloc.o http_main.o http_core.o http_config.o
http_request.o  http_log.o http_pro
tocol.o rfc931.o util.o util_script.o modules.o mod_mime.o mod_access.o
mod_alias.o mod_cgi.o mod_inc
lude.o  mod_dir.o mod_auth.o mod_auth_dbm.o mod_negotiation.o mod_userdir.o  
mod_log_common.o mod_asi
s.o -lsocket -lnsl
Undefined                       first referenced
 symbol                             in file
imap_module                         modules.o
ld: fatal: Symbol referencing errors. No output written to httpd
*** Error code 1
make: Fatal error: Command failed for target `httpd'
============================================================================

Any hints?

Thanx for attention

 
 
 

1. Apache Install Problem - Solaris 2.5.1 (SunOS 5.4) - ld -G: bad flag

Problems installing (actually, just 'make'-ing the Apache s-ware) on
Solaris 2.5.1 with SunOS 5.4

Configure runs fine. The first make however fails on the following
command:

ld -G -o mod_env.so mod_env.lo

With the error:

ld -G: bad flag

Doesn't seem to want to use the shared object flag. No clue how to
circumvent this (does mod_env.lo really need to be a shared object?).

Any suggestions are really appreciated. This is the first time I've ever
attempted to install Apache and it's been a tad confusing so far.

Thanks in advance,
Ian

--
Ian R. Chesal
Geopower Technologies Inc.
http://www.geopower.com

2. Online Linux User/Support Group

3. showrev -p for SunOS 5.4 Generic_101945-36 sun4m sparc doesn't work in Single user mode

4. IIIRRRR CLAIMS THE MIGHTY VICTORY

5. Patch for ASPPP on SunOS 5.4 (Sparc)

6. FoxBase arithmetic bug

7. Problems installing SONY Magneto-Optical Disk ( SunOS 5.4 )

8. How to allow relaying for certain domains

9. Unix utility tr (translate) behaves differently on SUNos 5.4 & SUNos 5.5.1

10. Difference between Sparc 2, Sparc 10 and Ultra Sparc 10

11. installing a new hard disk under SunOS 5.4

12. 108528-19 and up crashes sun4m (Sparc 10)

13. installing Solaris 2.2 and SunOS 4.1.3 on Sparc 10 Model 40