You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Randy Terbush <ra...@zyzzyva.com> on 1996/06/21 19:38:42 UTC
Re: Please help me !! (fwd)
------- Blind-Carbon-Copy
To: s550762@tfh-berlin.de
Subject: Re: Please help me !! (fwd)
In-reply-to: robh's message of Fri, 21 Jun 1996 08:37:09 -0600.
<199606211437.IAA08111>
X-uri: http://www.zyzzyva.com/
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Date: Fri, 21 Jun 1996 12:38:42 -0500
From: Randy Terbush <ra...@zyzzyva.com>
You need to use the SOLARIS2 define to compile on Solaris.
Try commenting out the AUX_CFLAGS define you are using and
uncommenting the definition for SOLARIS2.
> 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.
------- End of Blind-Carbon-Copy