You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Didier Godefroy <dg...@ulysium.net> on 2000/12/02 18:26:49 UTC

mod_jk.so compile errors

Hi all,

I'm new to this list and I'm trying to install Tomcat 3.2 and mod_jk for
Apache 1.3.14, all that on Tru64 Unix 5.1 (Alpha).

I used this cmd to compile the shared mod_jk:

/apache/sbin/apxs -o mod_jk.so -I../jk -I/usr/opt/java118/include
-I/usr/opt/java118/include/alpha -lposix4 -c *.c ../jk/*.c

(it makes no difference if -lposix4 is used or not)

I get these errors:

cc -DOSF1 -DMOD_PERL -DUSE_PERL_SSI -std -fprm d -ieee -D_INTRINSICS
-I/usr/local/include -D__LANGUAGE_C__ -DUSE_HSREGEX -DUSE_EXPAT
 -I../lib/expat-lite -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-DSHARED_MODULE -I/usr/local/apache/include -I../jk -I/usr/opt/java1
18/include -I/usr/opt/java118/include/alpha  -c mod_jk.c
cc: Error: ../jk/jk_pool.h, line 116: Ill-formed parameter type list.
(parmtyplist)
                  jk_pool_atom_t *buf,
------------------^
cc: Error: mod_jk.c, line 679: In this declaration, "jk_pool_atom_t" must
specify a type. (badparsedecl)
            jk_pool_atom_t buf[SMALL_POOL_SIZE];
------------^
cc: Error: mod_jk.c, line 680: In this statement, "buf" is not declared.
(undeclared)
            jk_open_pool(&private_data.p, buf, sizeof(buf));
------------------------------------------^
apxs:Break: Command failed with rc=1

Can someone help fix this?

-- 
Didier Godefroy
mailto:dg@ulysium.net