You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by Daniel Haischt <si...@gmx.net> on 2000/07/14 13:44:26 UTC

mod_jk build poblem

hiya,

i tried to build_jk as mentioned in the mod_jk howto
unfortunately without any result.

first of all my system's configuration:

- linux jdk 1.2.2 from blackdown
- tomcat snapshot from 13. of july
- freebsd 4.0 as os
- apache 1.3.12

actually i tried some variations to build mod_jk via apxs.

-------------------------------- 1 -------------------------------------
apxs -I../jk -i -a -c mod_jk.c ../jk/*.c -o mod_jk.so
-------------------------------------------------------------------------
-------------------------------- 2 -------------------------------------
apxs -I../jk -i -a -c -o mod_jk.c ../jk/*.c mod_jk.so
-------------------------------------------------------------------------
-------------------------------- 3 -------------------------------------
I also tried to use absolute paths without any
results :(
-------------------------------------------------------------------------

below comes the error message produced after apxs dies

----------------8<-------------------------------8<-------------------
$ apxs -I../jk/ -c -o mod_jk.so mod_jk.c ../jk/*.c
gcc -DHARD_SERVER_LIMIT=512 
-DDOCUMENT_LOCATION="/usr/local/share/apache/data/" 
-DDEFAULT_PATH="/bin:/usr/bin:/usr/local/bin" -DBUFFERED_LOGS 
-DFD_SETSIZE=1024 -funsigned-char -DTARGET="apache" 
-DDEV_RANDOM=/dev/random -DMOD_SSL=206105 -DEAPI -DEAPI_MM -DUSE_EXPAT 
-I../lib/expat-lite -O6 -fomit-frame-pointer -DUSE_PARSE_FORM 
-DUSE_RANDOM_SSI -funroll-loops -fstrength-reduce -fexpensive-optimizations 
-ffast-math -fpic -DSHARED_MODULE -I/usr/local/include/apache -I../jk/  -c 
mod_jk.c
In file included from ../jk/jk_util.h:66,
                  from mod_jk.c:82:
../jk/jk_pool.h:112: syntax error before `jk_pool_atom_t'
mod_jk.c: In function `jk_handler':
mod_jk.c:671: syntax error before `buf'
mod_jk.c:672: `buf' undeclared (first use in this function)
mod_jk.c:672: (Each undeclared identifier is reported only once
mod_jk.c:672: for each function it appears in.)
apxs:Break: Command failed with rc=65536
---------------->8------------------------------->8-------------------

i guess you definitely saw those error messages couple of times ;-)

any help regarding mod_jk and my build problem
would be appreciated!

regards

daniel haischt
--