Hi,
I'm trying to build flood according to the instructions on the
http://httpd.apache.org/test/flood/building.html. The source is version
0.4 and I'm building it on a Ubuntu 6.10 system.
As you can se on in the bottom I get an error very early in the "make
all" process.
Any ideas?
Kind regards
Torben Soerensen
Denmark
----- Output from build -----------
[EMAIL PROTECTED]:~/flood-0.4$ ./buildconf
buildconf: checking installation...
buildconf: autoconf version 2.60 (ok)
buildconf: libtool version 1.5.22
2005 (ok)
Copying libtool helper files ...
Creating include/arch/unix/apr_private.h.in ...
autoheader: WARNING: Using auxiliary files such as `acconfig.h',
`config.h.bot'
autoheader: WARNING: and `config.h.top', to define templates for
`config.h.in'
autoheader: WARNING: is deprecated and discouraged.
autoheader:
autoheader: WARNING: Using the third argument of `AC_DEFINE' and
autoheader: WARNING: `AC_DEFINE_UNQUOTED' allows one to define a
template without
autoheader: WARNING: `acconfig.h':
autoheader:
autoheader: WARNING: AC_DEFINE([NEED_FUNC_MAIN], 1,
autoheader: [Define if a function `main' is needed.])
autoheader:
autoheader: WARNING: More sophisticated templates can also be produced,
see the
autoheader: WARNING: documentation.
Creating configure ...
Creating include/private/apu_config.h ...
Creating configure ...
Invoking xml/expat/buildconf.sh ...
Incorporating /usr/share/aclocal/libtool.m4 into aclocal.m4 ...
Copying libtool helper files ...
Putting files in AC_CONFIG_AUX_DIR, `conftools'.
Creating config.h.in ...
autoheader: WARNING: Using auxiliary files such as `acconfig.h',
`config.h.bot'
autoheader: WARNING: and `config.h.top', to define templates for
`config.h.in'
autoheader: WARNING: is deprecated and discouraged.
autoheader:
autoheader: WARNING: Using the third argument of `AC_DEFINE' and
autoheader: WARNING: `AC_DEFINE_UNQUOTED' allows one to define a
template without
autoheader: WARNING: `acconfig.h':
autoheader:
autoheader: WARNING: AC_DEFINE([NEED_FUNC_MAIN], 1,
autoheader: [Define if a function `main' is needed.])
autoheader:
autoheader: WARNING: More sophisticated templates can also be produced,
see the
autoheader: WARNING: documentation.
Creating configure ...
[EMAIL PROTECTED]:~/flood-0.4$ ./configure --disable-shared
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking how to run the C preprocessor... gcc -E
checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln -s works... yes
checking whether make sets $(MAKE)... yes
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for APR... yes
checking for APR-util... yes
checking for strtoll... yes
checking for strtoq... yes
checking for rand... yes
checking for lrand48... yes
checking for random... yes
checking random number generator to use... random
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config.h
config.status: creating build/rules.mk
config.status: creating build/config_vars.mk
[EMAIL PROTECTED]:~/flood-0.4$ make all
build/rules.mk:255: /home/tss/flood-0.4/.deps: No such file or directory
/usr/bin/libtool --silent --mode=compile gcc -g -O2 -pipe -Wall -g
-O2 -pthread -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE
-D_LARGEFILE64_SOURCE -I/usr/include/apr-1.0 -I/usr/include/apr-1.0
-I/usr/include/postgresql -I. -c flood.c && touch flood.lo
/usr/bin/libtool --silent --mode=compile gcc -g -O2 -pipe -Wall -g
-O2 -pthread -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE
-D_LARGEFILE64_SOURCE -I/usr/include/apr-1.0 -I/usr/include/apr-1.0
-I/usr/include/postgresql -I. -c flood_round_robin.c && touch
flood_round_robin.lo
In file included from flood_round_robin.c:73:
flood_net.h:67: error: expected specifier-qualifier-list before
'apr_pollfd_t'
flood_round_robin.c: In function 'count_xml_seq_child':
flood_round_robin.c:573: warning: unused variable 'child_url_elem'
flood_round_robin.c: In function 'round_robin_get_next_url':
flood_round_robin.c:781: warning: implicit declaration of function
'apr_uri_default_port_for_scheme'
make: *** [flood_round_robin.lo] Error 1