tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ru...@us.ibm.com
Subject Re: mod_jk Compile problems
Date Sat, 08 Jul 2000 18:53:27 GMT


Marcel wrote:
> I've tried the line described in the mo_jk howto:
>
> bash$ ~/apache/bin/apxs -o mod_jk.so -c *.c ../jk/ *.c -I ../jk/
> gcc -DSOLARIS2=260 -DUSE_EXPAT -I../lib/expat-lite -fPIC -DSHARED_CORE
> -DSHARED_MODULE -I/opt2/webtothe/products/install/apache/incc
> mod_jk.c:81: jk_global.h: No such file or directory
> mod_jk.c:82: jk_util.h: No such file or directory
> mod_jk.c:83: jk_map.h: No such file or directory
> mod_jk.c:84: jk_pool.h: No such file or directory
> mod_jk.c:85: jk_service.h: No such file or directory
> mod_jk.c:86: jk_worker.h: No such file or directory
> mod_jk.c:87: jk_uri_worker_map.h: No such file or directory
> apxs:Break: Command failed with rc=65536

It looks like the -I needs to comes first.  On my Linux box, the following
works:

/usr/sbin/apxs -I$JAVA_HOME/include -I$JAVA_HOME/include/linux -I ../jk -o
mod_jk.so -c *.c ../jk/*.c

- Sam Ruby



Mime
View raw message