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: [EMAIL PROTECTED] 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 [EMAIL PROTECTED] 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 [EMAIL PROTECTED] AIM: jenniferlwong