You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Magnus M��tt� <n0...@kiruna.se> on 2002/11/16 01:23:33 UTC

Compile error in listen.c

Hi!

I get this compile error trying current CVS, worked fine yesterday:

make[2]: Entering directory `/opt/DEV/Apache/httpd-2.0/server'
/bin/sh /opt/DEV/Apache/httpd-2.0/srclib/apr/libtool --silent --mode=compile gcc  -g -O2 -Wall -Wmissing-prototypes -Wstrict-prototypes -Wmissing-declarations -pthread    -DLINUX=2 -D_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -DAP_DEBUG -DAP_HAVE_DESIGNATED_INITIALIZER   -I/opt/DEV/Apache/httpd-2.0/srclib/apr/include -I/opt/DEV/Apache/httpd-2.0/srclib/apr-util/include -I. -I/opt/DEV/Apache/httpd-2.0/os/unix -I/opt/DEV/Apache/httpd-2.0/server/mpm/prefork -I/opt/DEV/Apache/httpd-2.0/modules/http -I/opt/DEV/Apache/httpd-2.0/modules/filters -I/opt/DEV/Apache/httpd-2.0/modules/proxy -I/opt/DEV/Apache/httpd-2.0/include -I/usr/include/openssl -I/opt/DEV/Apache/httpd-2.0/modules/dav/main -prefer-non-pic -static -c listen.c && touch listen.lo
listen.c: In function `make_sock':
listen.c:121: `APR_IPV6_V6ONLY' undeclared (first use in this function)
listen.c:121: (Each undeclared identifier is reported only once
listen.c:121: for each function it appears in.)
make[2]: *** [listen.lo] Error 1
make[2]: Leaving directory `/opt/DEV/Apache/httpd-2.0/server'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/opt/DEV/Apache/httpd-2.0/server'
make: *** [all-recursive] Error 1


This is my config.nice:
#! /bin/sh
#
# Created by configure

"./configure" \
"--prefix=/usr/local/www/httpd2prefork" \
"--enable-maintainer-mode" \
"--enable-dav" \
"--enable-cache" \
"--enable-mem-cache" \
"--enable-disk-cache" \
"--enable-deflate" \
"--enable-http" \
"--with-mpm=prefork" \
"--enable-http" \
"--enable-info" \
"--enable-cgi" \
"--enable-dav-fs" \
"--enable-vhost-alias" \
"--enable-so" \
"--enable-rewrite" \
"--enable-ssl" \
"--enable-mime-magic" \
"--enable-headers" \
"--enable-expires" \
"--enable-unique-id" \
"--enable-usertrack" \
"--enable-speling" \
"--enable-v4-mapped" \
"$@"


Regards
Magnus Määttä

Re: Compile error in listen.c

Posted by Jeff Trawick <tr...@attglobal.net>.
Magnus Määttä <n0...@kiruna.se> writes:

> listen.c: In function `make_sock':
> listen.c:121: `APR_IPV6_V6ONLY' undeclared (first use in this function)
> listen.c:121: (Each undeclared identifier is reported only once
> listen.c:121: for each function it appears in.)

you need the latest APR, which added support for that socket option
only a few days ago

-- 
Jeff Trawick | trawick@attglobal.net
Born in Roswell... married an alien...