You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Rob Hartill <ha...@lanl.gov> on 1995/09/12 04:36:18 UTC
Re: Compiling Apache 0.8.13 under NEXTSTEP
RLIMIT_NOFILE was introduced .12 -> .13 (for BSD).
The following is from c.i.www.servers.unix
If you have a solution, please post it in the newsgroup also.
steve@biostat.ucsf.edu wrote:
>Has anyone successfully done this? I have had no problem with
>the other 0.8 versions, but for 0.8.13, I get the following errors:
>
>cc -c -O2 -DNEXT http_config.c
>http_config.c: In function `init_virtual_host':
>http_config.c:632: `RLIMIT_NOFILE' undeclared (first use this function)
>http_config.c:632: (Each undeclared identifier is reported only once
>http_config.c:632: for each function it appears in.)
>*** Exit 1
>
>Any suggestions would be appreciated.
>
>Stephen Shiboski <st...@biostat.ucsf.edu>
>Division of Biostatistics
>University of California, San Francisco
>
Re: Compiling Apache 0.8.13 under NEXTSTEP
Posted by Brian Behlendorf <br...@organic.com>.
On my BSDI 2.0 system I have in /usr/include/sys/resource.h:
| #define RLIMIT_NOFILE 8 /* number of open files */
resource.h is included if BSD is defined, and "RLIMIT_NOFILE" is only
reached if BSD is defined, so we have a system out there defining
BSD > 0 but not RLIMIT_NOFILE. I also see in resource.h:
| #define RLIMIT_OFILE RLIMIT_NOFILE /* compat */
What OS is this problem on?
Sheesh, time to write that bug report form handler.
Brian
On Mon, 11 Sep 1995, Rob Hartill wrote:
> RLIMIT_NOFILE was introduced .12 -> .13 (for BSD).
>
> The following is from c.i.www.servers.unix
>
> If you have a solution, please post it in the newsgroup also.
>
>
> steve@biostat.ucsf.edu wrote:
> >Has anyone successfully done this? I have had no problem with
> >the other 0.8 versions, but for 0.8.13, I get the following errors:
> >
> >cc -c -O2 -DNEXT http_config.c
> >http_config.c: In function `init_virtual_host':
> >http_config.c:632: `RLIMIT_NOFILE' undeclared (first use this function)
> >http_config.c:632: (Each undeclared identifier is reported only once
> >http_config.c:632: for each function it appears in.)
> >*** Exit 1
> >
> >Any suggestions would be appreciated.
> >
> >Stephen Shiboski <st...@biostat.ucsf.edu>
> >Division of Biostatistics
> >University of California, San Francisco
> >
>
>
--=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=--
brian@organic.com brian@hyperreal.com http://www.[hyperreal,organic].com/