I'm trying to compile with gcc 3.4.3, and I'm using 'gmake', but I keep getting 
the errors below. Apache compiled and installed fine. I ran this short script 
to do the configure step:

LDFLAGS="-L/usr/sfw/lib"
CPPFLAGS="-I/user/sfw/include"
./configure --with-apxs=/usr/local/apache2/bin/apxs

Here are the errors when I run 'gmake':

Making all in common
gmake[1]: Entering directory 
`/usr/local/src/tomcat-connectors-1.2.20-src/native/common'
/usr/local/apache2/build/libtool --silent --mode=compile gcc 
-I/usr/local/apache2/include -g -O2 -g -O2 -DHAVE_APR  
-I/usr/local/apache2/include -I/usr/local/apache2/include -g -O2 -DSOLARIS2=10 
-D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -D_LARGEFILE64_SOURCE -I /include -I 
/include/ -c jk_ajp12_worker.c -o jk_ajp12_worker.lo
In file included from /usr/include/sys/socketvar.h:43,
                 from jk_global.h:146,
                 from jk_logger.h:27,
                 from jk_ajp12_worker.h:27,
                 from jk_ajp12_worker.c:26:
/usr/include/sys/zone.h:16:28: sys/tsol/label.h: No such file or directory
In file included from /usr/include/sys/socketvar.h:43,
                 from jk_global.h:146,
                 from jk_logger.h:27,
                 from jk_ajp12_worker.h:27,
                 from jk_ajp12_worker.c:26:
/usr/include/sys/zone.h:109: error: syntax error before '*' token
gmake[1]: *** [jk_ajp12_worker.lo] Error 1
gmake[1]: Leaving directory 
`/usr/local/src/tomcat-connectors-1.2.20-src/native/common'
gmake: *** [all-recursive] Error 1

Thanks for any help.



---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to