You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Graham Leggett <mi...@sharp.fm> on 2002/03/09 08:14:00 UTC

httpd-2.0 CVS HEAD build fails

Hi all,

When I build Apache like so:

./configure  --prefix=/opt/local/apache2 --enable-proxy --enable-cache

It fails like so:

/bin/sh
/home/minfrin/src/apache/sandbox/proxy/httpd-2.0-2/srclib/apr/libtool
--silent --mode=compile gcc  -g -O2 -pthread    -DLINUX=2 -D_REENTRANT
-D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE
-DAP_HAVE_DESIGNATED_INITIALIZER   -I.
-I/home/minfrin/src/apache/sandbox/proxy/httpd-2.0-2/os/unix
-I/home/minfrin/src/apache/sandbox/proxy/httpd-2.0-2/server/mpm/prefork
-I/home/minfrin/src/apache/sandbox/proxy/httpd-2.0-2/modules/http
-I/home/minfrin/src/apache/sandbox/proxy/httpd-2.0-2/modules/proxy
-I/home/minfrin/src/apache/sandbox/proxy/httpd-2.0-2/include
-I/home/minfrin/src/apache/sandbox/proxy/httpd-2.0-2/srclib/apr/include
-I/home/minfrin/src/apache/sandbox/proxy/httpd-2.0-2/srclib/apr-util/include
-I/home/minfrin/src/apache/sandbox/proxy/httpd-2.0-2/modules/dav/main
-I/home/minfrin/src/apache/sandbox/proxy/httpd-2.0-2/srclib/apr-util/include
-I/home/minfrin/src/apache/sandbox/proxy/httpd-2.0-2/srclib/apr-util/xml/expat/lib
-prefer-non-pic -static -c prefork.c && touch prefork.lo
prefork.c: In function `prefork_pre_config':
prefork.c:1221: `APR_PROC_DETACH_FOREGROUND' undeclared (first use in
this function)
prefork.c:1221: (Each undeclared identifier is reported only once
prefork.c:1221: for each function it appears in.)
prefork.c:1221: `APR_PROC_DETACH_DAEMONIZE' undeclared (first use in
this function)
prefork.c:1221: too many arguments to function `apr_proc_detach'
make[4]: *** [prefork.lo] Error 1
make[4]: Leaving directory
`/home/minfrin/src/apache/sandbox/proxy/httpd-2.0-2/server/mpm/prefork'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory
`/home/minfrin/src/apache/sandbox/proxy/httpd-2.0-2/server/mpm/prefork'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/home/minfrin/src/apache/sandbox/proxy/httpd-2.0-2/server/mpm'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/home/minfrin/src/apache/sandbox/proxy/httpd-2.0-2/server'
make: *** [all-recursive] Error 1

Regards,
Graham
-- 
-----------------------------------------
minfrin@sharp.fm		"There's a moon
					over Bourbon Street
						tonight..."

Re: httpd-2.0 CVS HEAD build fails

Posted by Jeff Trawick <tr...@attglobal.net>.
Graham Leggett <mi...@sharp.fm> writes:

> Hi all,
> 
> When I build Apache like so:
> 
> ./configure  --prefix=/opt/local/apache2 --enable-proxy --enable-cache
> 
> It fails like so:
> 
> prefork.c: In function `prefork_pre_config':
> prefork.c:1221: `APR_PROC_DETACH_FOREGROUND' undeclared (first use in
> this function)

Is your apr_thread_proc.h up to date? (Answer: "no" :) )

-- 
Jeff Trawick | trawick@attglobal.net | PGP public key at web site:
       http://www.geocities.com/SiliconValley/Park/9289/
             Born in Roswell... married an alien...