I have compiled earlier versions with gcc, but had issues with that  (symbol errors, but did compile)
Tried solaris complier and it fails compilation

Results is as follows


/bin/bash /var/apache2/build/libtool --silent --mode=compile /opt/SUNWspro/bin/cc    -O2 -g -Wuninitialized -Wall -Wmissing-prototypes -Wshadow -Wunused-variable -Wunused-value -Wchar-subscripts -Wsign-compare -DWITH_LIBXML2 -DSOLARIS2=10 -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64   -I /usr/include/libxml2 -I/usr/share/src/apache2/srclib/apr/include -I/usr/share/src/apache2/srclib/apr-util/include -I/usr/share/src/apache2/srclib/apr-util/xml/expat/lib -I. -I/etc/apache2/os/unix -I/etc/apache2/server/mpm/prefork -I/etc/apache2/modules/http -I/etc/apache2/modules/filters -I/etc/apache2/modules/proxy -I/etc/apache2/include -I/etc/apache2/modules/dav/main -prefer-pic -c mod_security2.c && touch mod_security2.slo

cc: illegal option -Wuninitialized
*** Error code 1
make: Fatal error: Command failed for target `mod_security2.slo'

Holly Lund
301-903-1174