httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From (Rob Hartill)
Subject Please help me !! (fwd)
Date Fri, 21 Jun 1996 14:37:09 GMT

Not acked.


Message-Id: <>
Date: Fri, 21 Jun 96 16:18:06 0200
From: Gerd Frenzel <>
X-Mailer: Mozilla 1.1N (X11; I; SunOS 5.4 sun4c)
MIME-Version: 1.0
Subject: Please help me !!
X-URL: file:/cha01/disk5/usr1/stud/2/s550762/www/apache_1.0.5/src/Makefile
Content-Type: multipart/mixed;

This is a multi-part message in MIME format.

Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset=us-ascii


Trying to compile Apache 1.0.5 on a sunOS5.4, I allways get the following Error

	sun06-s550762-> make
	gcc -c -O2 -DSUNOS4 alloc.c
	In file included from alloc.c:62:
	conf.h:341: conflicting types for `setrlimit'
	/usr/include/sys/resource.h:70: previous declaration of `setrlimit'
	*** Error code 1
	make: Fatal error: Command failed for target `alloc.o'

Are you able to give me a hint, what went wrong?
I hope this question is not too stupid or even unanswerable, because I don't
know anything about C, C++ and these things...

Thanks a lot for your help!

Here is my makefile:

Content-Transfer-Encoding: 7bit
Content-Type: text/plain

# Makefile automatically generated from Makefile.tmpl
# and configuration file by Apache config script. 
# Hand-edited changes will be lost if the config script
# is re-run.
CC= gcc
  mod_mime.o \
  mod_access.o \
  mod_auth.o \
  mod_negotiation.o \
  mod_include.o \
  mod_dir.o \
  mod_cgi.o \
  mod_userdir.o \
  mod_alias.o \
  mod_log_common.o \
  mod_asis.o \

# Apache makefile template (well, suffix).

# This is combined with the information in the "Configuration" file
# by the configure script to make the actual Makefile.

OBJS= alloc.o http_main.o http_core.o http_config.o http_request.o \
  http_log.o http_protocol.o rfc931.o util.o util_script.o modules.o $(MODULES)

	$(CC) -c $(CFLAGS) $(AUX_CFLAGS) $<

all: httpd

httpd: $(OBJS)

	rm -f httpd $(OBJS) *pure*

	# Assure a semi-sensible configuration going out...
	cp Makefile.orig Makefile
	cp modules.c.orig modules.c
	tar cvf dist.tar README INSTALL CHANGES TODO API.html \
		Configuration Configure Makefile.tmpl Makefile *.h *.c

#Core code
$(OBJS): Makefile httpd.h alloc.h conf.h

http_config.o http_core.o http_main.o util.o: http_conf_globals.h
http_config.o http_core.o http_main.o: http_config.h http_log.h
http_log.o http_protocol.o http_request.o modules.o: http_config.h
http_config.o http_core.o http_protocol.o http_request.o: http_core.h
http_protocol.o http_request.o util_script.o: http_log.h
http_core.o http_main.o http_protocol.o http_request.o: http_main.h
http_core.o http_main.o http_protocol.o http_request.o: http_protocol.h
http_config.o http_main.o http_request.o: http_request.h
http_main.o: scoreboard.h

$(MODULES): http_config.h
mod_dld.o: http_conf_globals.h
mod_ai_backcompat.o mod_auth.o mod_auth_dbm.o mod_cgi.o mod_dir.o: http_core.h
mod_imap.o mod_include.o mod_negotiation.o: http_core.h
mod_asis.o mod_auth.o mod_auth_dbm.o mod_cgi.o mod_dir.o: http_core.h
mod_imap.o mod_include.o mod_negotiation.o: http_log.h
mod_asis.o mod_cgi.o mod_dir.o mod_imap.o mod_include.o: http_main.h
mod_asis.o mod_auth.o mod_auth_dbm.o mod_cgi.o mod_dir.o: http_protocol.h
mod_imap.o mod_include.o: http_protocol.h
mod_cgi.o mod_dir.o mod_imap.o mod_include.o mod_negotiation.o: http_request.h
mod_asis.o mod_cgi.o mod_dir.o mod_imap.o mod_include.o: util_script.h

util.o: http_conf_globals.h
util_script.o: http_core.h http_main.h http_protocol.h util_script.h


----- End of forwarded message from Gerd Frenzel -----

Rob Hartill (
The Internet Movie Database (IMDb)
           ...more movie info than you can poke a stick at.

View raw message