httpd-test-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "William A. Rowe, Jr." <wr...@apache.org>
Subject Re: problems compiling flood
Date Fri, 21 Nov 2003 21:07:15 GMT
Flood users,

  You may have less grief (if you are checking out from CVS) to continue 
to checkout from the tag APR_0_9_BRANCH (and the corresponding tag
APU_0_9_BRANCH on apr-util).

  On the other hand, it should continue to build on APR_1_0_BRANCH,
or we should adopt the appropriate patches.  I've cleaned up your observed
problem below ... thanks!

Bill  

At 12:00 PM 11/21/2003, Jennifer Wong wrote:
>Hi, 
>I'm using Red Hat Linux 7.2, and I consistently get this error when
>trying to compile flood:
>flood_net.c:118: `APR_SO_TIMEOUT' undeclared (first use in this
>function)
>
>I am using a freshly checked out and built apr and apr-util.
>
>
>full build messages:
>[spider@casey flood]$ ./configure
>--with-apr=/local0/spider/managed_apps/httpd-
>2.0/srclib/apr
>--with-apr-util=/local0/spider/managed_apps/httpd-2.0/srclib/apr
>-util
>loading cache ./config.cache
>checking for gcc... (cached) gcc
>checking whether the C compiler (gcc  ) works... yes
>checking whether the C compiler (gcc  ) is a cross-compiler... no
>checking whether we are using GNU C... (cached) yes
>checking whether gcc accepts -g... (cached) yes
>checking how to run the C preprocessor... (cached) gcc -E
>checking for a BSD compatible install... (cached) /usr/bin/install -c
>checking whether ln -s works... (cached) yes
>checking whether make sets ${MAKE}... (cached) yes
>checking host system type... i686-pc-linux-gnu
>checking target system type... i686-pc-linux-gnu
>checking build system type... i686-pc-linux-gnu
>checking for APR... yes
>checking for APR-util... yes
>checking for strtoll... (cached) yes
>checking for strtoq... (cached) yes
>checking for rand... (cached) yes
>checking for lrand48... (cached) yes
>checking for random... (cached) yes
>checking random number generator to use... random
>creating ./config.status
>creating Makefile
>creating config.h
>creating build/rules.mk
>creating build/config_vars.mk
>[spider@casey flood]$ make
>/local0/spider/managed_apps/httpd-2.0/srclib/apr/libtool --silent
>--mode=compile
> gcc    -g -O2  -g -O2 -pthread    -DLINUX=2 -D_REENTRANT
>-D_XOPEN_SOURCE=500 -D
>_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE
>-I/local0/spider/managed_apps/httpd-2.0
>/srclib/apr/include
>-I/local0/spider/managed_apps/httpd-2.0/srclib/apr-util/in
>clude  -I.   -c flood.c && touch flood.lo
>/local0/spider/managed_apps/httpd-2.0/srclib/apr/libtool --silent
>--mode=compile
> gcc    -g -O2  -g -O2 -pthread    -DLINUX=2 -D_REENTRANT
>-D_XOPEN_SOURCE=500 -D
>_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE
>-I/local0/spider/managed_apps/httpd-2.0
>/srclib/apr/include
>-I/local0/spider/managed_apps/httpd-2.0/srclib/apr-util/in
>clude  -I.   -c flood_round_robin.c && touch flood_round_robin.lo
>/local0/spider/managed_apps/httpd-2.0/srclib/apr/libtool --silent
>--mode=compile
> gcc    -g -O2  -g -O2 -pthread    -DLINUX=2 -D_REENTRANT
>-D_XOPEN_SOURCE=500 -D
>_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE
>-I/local0/spider/managed_apps/httpd-2.0
>/srclib/apr/include
>-I/local0/spider/managed_apps/httpd-2.0/srclib/apr-util/in
>clude  -I.   -c flood_profile.c && touch flood_profile.lo
>/local0/spider/managed_apps/httpd-2.0/srclib/apr/libtool --silent
>--mode=compile
> gcc    -g -O2  -g -O2 -pthread    -DLINUX=2 -D_REENTRANT
>-D_XOPEN_SOURCE=500 -D
>_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE
>-I/local0/spider/managed_apps/httpd-2.0
>/srclib/apr/include
>-I/local0/spider/managed_apps/httpd-2.0/srclib/apr-util/in
>clude  -I.   -c flood_config.c && touch flood_config.lo
>/local0/spider/managed_apps/httpd-2.0/srclib/apr/libtool --silent
>--mode=compile
> gcc    -g -O2  -g -O2 -pthread    -DLINUX=2 -D_REENTRANT
>-D_XOPEN_SOURCE=500 -D
>_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE
>-I/local0/spider/managed_apps/httpd-2.0
>/srclib/apr/include
>-I/local0/spider/managed_apps/httpd-2.0/srclib/apr-util/in
>clude  -I.   -c flood_net.c && touch flood_net.lo
>flood_net.c: In function `open_socket':
>flood_net.c:118: `APR_SO_TIMEOUT' undeclared (first use in this
>function)
>flood_net.c:118: (Each undeclared identifier is reported only once
>flood_net.c:118: for each function it appears in.)
>make: *** [flood_net.lo] Error 1
>------------------
>Jennifer Wong
>415.856.4278
>jwong@covalent.net
>AIM: jenniferlwong
> 


Mime
View raw message