You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Marcel Landman <Ma...@DICgroep.nl> on 2001/04/26 17:06:43 UTC

MOD_JK compiling error...

Hello all,

When I am trying to compile the mod_jk module
in the src/native/mod_jk/apache1.3 directory
of tomcat 3.3 milestone 1 on the Alpha Tru64 Unix ,
I get the following errors:

cc -DOSF1 -DMOD_SSL=208102 -DUSE_HSREGEX -DEAPI -DUSE_EXPAT -I../lib/expat-litec

cc: Error: ../common/jk_pool.h, line 116: Ill-formed parameter type list. (parm)

                  jk_pool_atom_t *buf,
------------------^
cc: Error: mod_jk.c, line 701: In this declaration, "jk_pool_atom_t" must speci)

            jk_pool_atom_t buf[SMALL_POOL_SIZE];
------------^
cc: Error: mod_jk.c, line 702: In this statement, "buf" is not declared. (undec)

            jk_open_pool(&private_data.p, buf, sizeof(buf));
------------------------------------------^
apxs:Break: Command failed with rc=1

I am using the following command:

 /usr/sbin/apxs -o mod_jk.so  \
        -I${JAVA_HOME}/include/alpha \
        -I${JAVA_HOME}/include \
        -I../common \
        -c *.c ../common/*.c

Can anyone tell me how to get rid of these errors to let
me compile a mod_jk module error free??

Thanks in advance!!

Kind regards,
Marcel Landman