Robert Joosten | 29 Oct 2009 12:48

freebsd && 1.4.24/src/mod_rewrite.c compilation err

Hi,

compiling 1.4.24 on debian went okay, but my other freebsd 7.2 box 
doesn't like the latest mod_rewrite.c:

./configure --prefix=/opt --without-pcre
gmake
<blah>
libtool: compile:  gcc -DHAVE_CONFIG_H -DHAVE_VERSION_H 
-DLIBRARY_DIR=\"/opt/lib\" -DSBIN_DIR=\"/opt/sbin\" -I. -I.. -D_REENTRANT 
-D__EXTENSIONS__ -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGE_FILES 
-g -O2 -Wall -W -Wshadow -pedantic -std=gnu99 -MT mod_rewrite.lo -MD -MP 
-MF .deps/mod_rewrite.Tpo -c mod_rewrite.c  -fPIC -DPIC -o 
.libs/mod_rewrite.o
mod_rewrite.c: In function 'process_rewrite_rules':
mod_rewrite.c:451: error: 'hctx' undeclared (first use in this function)
mod_rewrite.c:451: error: (Each undeclared identifier is reported only once
mod_rewrite.c:451: error: for each function it appears in.)
*** Error code 1

Is  <at> something on my box faulty or is there anything beyond my control ?

A simple diff between mod_rewrite.c 1.4.23 (compiled okay) and 1.4.24 
revealed a lot of code changes.

Cheers,
Robert


Gmane