httpd-dev mailing list archives

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

Not acked.

-=-=-

Message-Id: <199606211517.QAA05994@compute.tfh-berlin.de>
Date: Fri, 21 Jun 96 16:18:06 0200
Sender: s550762@tfh-berlin.de
From: Gerd Frenzel <s550762@tfh-berlin.de>
X-Mailer: Mozilla 1.1N (X11; I; SunOS 5.4 sun4c)
MIME-Version: 1.0
To: apache-bugs@apache.org
Subject: Please help me !!
X-URL: file:/cha01/disk5/usr1/stud/2/s550762/www/apache_1.0.5/src/Makefile
Content-Type: multipart/mixed;
	boundary="-------------------------------29212818312456"

This is a multi-part message in MIME format.

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

Hello!

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

	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!
bye..
	Gerd

Here is my makefile:

---------------------------------29212818312456
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
CFLAGS= -O2
LFLAGS=
EXTRA_LIBS=
AUX_CFLAGS= -DSUNOS4
MODULES=\
  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 \
  mod_imap.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)

.c.o:
	$(CC) -c $(CFLAGS) $(AUX_CFLAGS) $<

all: httpd

httpd: $(OBJS)
	$(CC) $(LFLAGS) $(AUX_LFLAGS) -o httpd $(OBJS) $(EXTRA_LIBS) $(AUX_LIBS)

clean:
	rm -f httpd $(OBJS) *pure*

dist.tar: 
	# 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

#Dependencies
#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
$(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

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

---------------------------------29212818312456--

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

-- 
Rob Hartill (robh@imdb.com)
The Internet Movie Database (IMDb)  http://www.imdb.com/
           ...more movie info than you can poke a stick at.

Mime
View raw message