Hi,

 I've downloaded jakarta-tomcat-3.2.1 and I'm trying to build mod_jk.so 
on Red Hat 7.0 with Apache 2.0beta7. I have glibc fixes (2.2-8) 
installed. The apxs build fails with errors (see below) which blow my 
knowledge_and_ability array. If you can help with any clues as to what's 
gone wrong (and how to put it right!) I'd be very grateful.

Thanks.

John Rowling


/usr/local/apache/bin/apxs -o mod_jk.so -I../jk -I/usr/java2/include 
-I/usr/java2/include/linux -c *.c ../jk/*.c
libtool --silent --mode=compile gcc -g -O2 -pthread 
-I/usr/local/apache/include -I/usr/local/apache/include/apr -I../jk 
-I/usr/java2/include -I/usr/java2/include/linux  -c mod_jk.c && touch 
mod_jk.slo
In file included from ../jk/jk_util.h:67,
                 from mod_jk.c:83:
../jk/jk_pool.h:116: parse error before `jk_pool_atom_t'
mod_jk.c: In function `ws_start_response':
mod_jk.c:158: warning: assignment makes pointer from integer without a 
cast
mod_jk.c:162: warning: initialization makes pointer from integer without 
a cast
mod_jk.c: In function `ws_write':
mod_jk.c:223: `ap_size_t' undeclared (first use in this function)
mod_jk.c:223: (Each undeclared identifier is reported only once
mod_jk.c:223: for each function it appears in.)
mod_jk.c:223: parse error before `w'
mod_jk.c:233: `w' undeclared (first use in this function)
mod_jk.c:233: `r' undeclared (first use in this function)
mod_jk.c: In function `jk_error_exit':
mod_jk.c:267: warning: assignment makes pointer from integer without a 
cast
mod_jk.c: In function `init_ws_service':
mod_jk.c:314: warning: assignment discards qualifiers from pointer target 
type
mod_jk.c:316: warning: assignment discards qualifiers from pointer target 
type
mod_jk.c:333: `ap_array_header_t' undeclared (first use in this function)
mod_jk.c:333: `t' undeclared (first use in this function)
mod_jk.c:333: invalid lvalue in assignment
mod_jk.c:336: `ap_table_entry_t' undeclared (first use in this function)
mod_jk.c:336: `elts' undeclared (first use in this function)
mod_jk.c:336: parse error before `)'
mod_jk.c:338: warning: assignment makes pointer from integer without a 
cast
mod_jk.c:339: warning: assignment makes pointer from integer without a 
cast
mod_jk.c:341: warning: initialization makes pointer from integer without 
a cast
mod_jk.c:342: warning: assignment makes pointer from integer without a 
cast
mod_jk.c: In function `jk_mount_context':
mod_jk.c:387: warning: passing arg 4 of `map_put' from incompatible 
pointer type
mod_jk.c: At top level:
mod_jk.c:449: parse error before `jk_cleanup_endpoint'
mod_jk.c: In function `jk_handler':
mod_jk.c:458: warning: initialization makes pointer from integer without 
a cast
mod_jk.c:476: `jk_pool_atom_t' undeclared (first use in this function)
mod_jk.c:476: parse error before `buf'
mod_jk.c:477: `buf' undeclared (first use in this function)
mod_jk.c: At top level:
mod_jk.c:529: parse error before `*'
mod_jk.c: In function `create_jk_config':
mod_jk.c:532: `p' undeclared (first use in this function)
mod_jk.c:542: `s' undeclared (first use in this function)
mod_jk.c: At top level:
mod_jk.c:551: parse error before `*'
mod_jk.c: In function `merge_jk_config':
mod_jk.c:555: `basev' undeclared (first use in this function)
mod_jk.c:556: `overridesv' undeclared (first use in this function)
mod_jk.c:567: `p' undeclared (first use in this function)
mod_jk.c:568: warning: passing arg 3 of `map_put' makes pointer from 
integer without a cast
mod_jk.c: At top level:
mod_jk.c:588: parse error before `*'
mod_jk.c: In function `jk_child_init':
mod_jk.c:594: `s' undeclared (first use in this function)
mod_jk.c: At top level:
mod_jk.c:622: parse error before `*'
mod_jk.c: In function `jk_post_config':
mod_jk.c:627: `s' undeclared (first use in this function)
mod_jk.c: In function `jk_translate':
mod_jk.c:683: warning: assignment makes pointer from integer without a 
cast
apxs:Break: Command failed with rc=65536 

Reply via email to