Hi, I'm having trouble compiling mod_jk on Solaris
below is the compiler output.  I am using the
build_solaris.sh script.  My system is Ultra60
running solaris7

Thanks,
Tom

Building mod_jk
gcc -DSOLARIS -DUSE_EXPAT -I../lib/expat-lite  -I/home/tomv/programs/apache/incl
ude -I../common -I/home/tomv/programs/java/include -I/home/tomv/programs/java/in
clude/solaris  -c ../common/jk_ajp12_worker.c
In file included from ../common/jk_global.h:91,
                 from ../common/jk_logger.h:65,
                 from ../common/jk_ajp12_worker.h:65,
                 from ../common/jk_ajp12_worker.c:63:
/usr/include/sys/socketvar.h:53: parse error before `t_uscalar_t'
/usr/include/sys/socketvar.h:53: warning: no semicolon at end of struct or union
/usr/include/sys/socketvar.h:54: warning: data definition has no type or storage class
/usr/include/sys/socketvar.h:223: parse error before `t_uscalar_t'
/usr/include/sys/socketvar.h:223: warning: no semicolon at end of struct or union
/usr/include/sys/socketvar.h:224: warning: data definition has no type or storage class
/usr/include/sys/socketvar.h:225: parse error before `so_addr_size'
/usr/include/sys/socketvar.h:225: warning: data definition has no type or storage class
/usr/include/sys/socketvar.h:226: parse error before `so_opt_size'
/usr/include/sys/socketvar.h:226: warning: data definition has no type or storage class
/usr/include/sys/socketvar.h:227: parse error before `so_tidu_size'
/usr/include/sys/socketvar.h:227: warning: data definition has no type or storage class
/usr/include/sys/socketvar.h:228: parse error before `so_serv_type'
/usr/include/sys/socketvar.h:228: warning: data definition has no type or storage class
/usr/include/sys/socketvar.h:231: parse error before `so_acceptor_id'
/usr/include/sys/socketvar.h:231: warning: data definition has no type or storage class
/usr/include/sys/socketvar.h:272: parse error before `}'
/usr/include/sys/socketvar.h:615: parse error before `t_scalar_t'
/usr/include/sys/socketvar.h:615: warning: no semicolon at end of struct or union
/usr/include/sys/socketvar.h:616: warning: data definition has no type or storage class
/usr/include/sys/socketvar.h:617: parse error before `si_faddr_soa_len'
/usr/include/sys/socketvar.h:617: warning: data definition has no type or storage class
/usr/include/sys/socketvar.h:622: parse error before `}'
/usr/include/sys/socketvar.h:249: storage size of `so_laddr' isn't known
/usr/include/sys/socketvar.h:250: storage size of `so_faddr' isn't known
apxs:Break: Command failed with rc=1
Error with apxs

Reply via email to