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: gcc -Wall -c -g -DSOLARIS2 -DFCNTL_SERIALIZED_ACCEPT http_core.c from http_core.c:56: conf.h:82: warning: `FCNTL_SERIALIZED_ACCEPT' redefined *Initialization*:1: warning: this is the location of the previous definition from http_config.c:72: 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. if I don't use this option (`FCNTL_SERIALIZED_ACCEPT') the build aborts during =========================================================================== Any hints? Thanx for attention
===========================================================================
conf.h:82: warning: `FCNTL_SERIALIZED_ACCEPT' redefined
*Initialization*:1: warning: this is the location of the previous definition
In file included from httpd.h:61,
gcc -Wall -c -g -DSOLARIS2 -DFCNTL_SERIALIZED_ACCEPT http_config.c
In file
included from httpd.h:61,
conf.h:82: warning: `FCNTL_SERIALIZED_ACCEPT' redefined
*Initialization*:1: warning: this is the location of the previous definition
===========================================================================
AUX_CFLAGS= -DSOLARIS2 -DFCNTL_SERIALIZED_ACCEPT
EXTRA_LIBS= -lsocket -lnsl
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'
===========================================================================