Do a cvs update, Justin fixed this yesterday :)
The rm_sp field was a solaris specific extention...
Sander
> -----Original Message-----
> From: Martin Kraemer [mailto:[EMAIL PROTECTED]]
> Sent: 23 August 2001 15:52
> To: [EMAIL PROTECTED]
> Subject: Compiling Flood
>
>
> On Thu, Aug 16, 2001 at 12:03:40AM -0700, Justin Erenkrantz wrote:
> >
> > A better solution may be flood rather than ab (see httpd-test CVS
> > repository).
> >
> > I'm sounding like a broken harp, but it'd be nice to get external
> > feedback on flood after the work we've put into it - we're using
> > it here internally, so we know it works, but I'd love to see what
> > people think about it. Can we make it better (blah, blah, blah)?
> >
> > SSL works there (has all of the features you want to add to ab) and
> > you can do lots more with it. That may come at *some* client-side
> > performance penalty, but flood is still much more lightweight than
> > the actual browsers people use. So, the performance "penalty" is
> > probably negligable for meaningless benchmarks anyway. -- justin
>
> All sounds very promising - only it doesn't compile.
>
> % uname -a
> FreeBSD deejai2.mch.fsc.net 4.3-STABLE FreeBSD 4.3-STABLE #9: Thu
> Aug 2 13:42:26 CEST 2001
> [EMAIL PROTECTED]:/usr/src/sys/compile/DEEJAI4B i386
>
> % make
> "/home/com5/martin/apachen/X/httpd-2.0/build/rules.mk", line 255:
> Could not find /.deps
> make: fatal errors encountered -- cannot continue
> Exit 1
>
> (Okay, I accept that gmake is a requirement, but: )
>
> % gmake
> /bin/sh /home/com5/martin/apachen/X/httpd-2.0/srclib/apr/libtool
> --silent --mode=compile gcc -g -O2 -Wall -D_REENTRANT
> -D_THREAD_SAFE -I/pkg/openssl-0.9.6b/include
> -I/home/com5/martin/apachen/X/httpd-2.0/srclib/apr/include/arch/un
> ix -DAP_HAVE_DESIGNATED_INITIALIZER -I.
> -I/home/com5/martin/apachen/X/httpd-2.0/os/unix
> -I/home/com5/martin/apachen/X/httpd-2.0/server/mpm/prefork
> -I/home/com5/martin/apachen/X/httpd-2.0/modules/http
> -I/home/com5/martin/apachen/X/httpd-2.0/include
> -I/home/com5/martin/apachen/X/httpd-2.0/srclib/apr/include
> -I/home/com5/martin/apachen/X/httpd-2.0/srclib/apr-util/include
> -I/usr/include/openssl
> -I/home/com5/martin/apachen/X/httpd-2.0/modules/dav/main -c
> flood_round_robin.c && touch flood_round_robin.lo
> flood_round_robin.c: In function `handle_param_string':
> flood_round_robin.c:465: structure has no member named `rm_sp'
> flood_round_robin.c:474: structure has no member named `rm_sp'
> flood_round_robin.c:487: structure has no member named `rm_sp'
> flood_round_robin.c:495: structure has no member named `rm_sp'
> flood_round_robin.c:516: structure has no member named `rm_ep'
> flood_round_robin.c:452: warning: `size' might be used
> uninitialized in this function
> flood_round_robin.c: In function `round_robin_postprocess':
> flood_round_robin.c:675: structure has no member named `rm_sp'
> gmake: *** [flood_round_robin.lo] Fehler 1
> Exit 2
>
> I searched for rm_sp in the system's regex.h, as well as in
> httpd-2.0's srclib/pcre/, and in apache-1.3's src/regex/,
> but to no avail.
>
> What do I need to change to get it to compile on a non-whatever-special
> system?
>
> Curious and eagerly waiting,
>
> Martin
> --
> <[EMAIL PROTECTED]> | Fujitsu Siemens
> <[EMAIL PROTECTED]> | 81730 Munich, Germany
>