Move that header file one level up. Regards, PQ "This Guy Thinks He Knows Everything" "This Guy Thinks He Knows What He Is Doing"
-----Original Message----- From: Xue-Feng Yang [mailto:[EMAIL PROTECTED]] Sent: February 18, 2003 1:34 AM To: Tomcat Users List Subject: Re: Tomcat 4.1.18 and httpd-2.0.40-11 Hi all, I tried to connect Tomcat 4.1.18 and Apache2(httpd-2.0.40-11 ) with jk2 on my redhat 8.0 box, where apach2 was installed when I installed Redhat 8.0. I use JDK 1.4.1. When I used ant to build native, I met some errors. I fixed one error: [so] /usr/java/j2sdk1.4.1_01/include/jni.h:27:20: jni_md.h: No such file or directory by copying /usr/java/j2sdk1.4.1_01/include/linux/jni_md.h to /usr/java/j2sdk1.4.1_01/include/ Then I met more(see attched). I cannot resolve this. Could anyone help me on this? Thank you very much, Xue-Feng [so] StdErr: [so] In file included from /root/tmp/jakarta-tomcat-connectors-4.1.18-src/jk/native2/common/jk_mutex_th read.c:64: [so] /root/tmp/jakarta-tomcat-connectors-4.1.18-src/jk/native2/include/jk_global. h:165:17: apr.h: No such file or directory [so] /root/tmp/jakarta-tomcat-connectors-4.1.18-src/jk/native2/include/jk_global. h:166:23: apr_errno.h: No such file or directory [so] /root/tmp/jakarta-tomcat-connectors-4.1.18-src/jk/native2/include/jk_global. h:167:22: apr_time.h: No such file or directory [so] /root/tmp/jakarta-tomcat-connectors-4.1.18-src/jk/native2/include/jk_global. h:168:25: apr_strings.h: No such file or directory [so] In file included from /root/tmp/jakarta-tomcat-connectors-4.1.18-src/jk/native2/include/jk_workerE nv.h:68, [so] from /root/tmp/jakarta-tomcat-connectors-4.1.18-src/jk/native2/include/jk_service .h:75, [so] from /root/tmp/jakarta-tomcat-connectors-4.1.18-src/jk/native2/include/jk_worker. h:70, [so] from /root/tmp/jakarta-tomcat-connectors-4.1.18-src/jk/native2/include/jk_env.h:6 9, [so] from /root/tmp/jakarta-tomcat-connectors-4.1.18-src/jk/native2/include/jk_pool.h: 67, [so] from /root/tmp/jakarta-tomcat-connectors-4.1.18-src/jk/native2/include/jk_map.h:6 7, [so] from /root/tmp/jakarta-tomcat-connectors-4.1.18-src/jk/native2/common/jk_mutex_th read.c:65: [so] /root/tmp/jakarta-tomcat-connectors-4.1.18-src/jk/native2/include/jk_endpoin t.h:207: parse error before "apr_time_t" [so] /root/tmp/jakarta-tomcat-connectors-4.1.18-src/jk/native2/include/jk_endpoin t.h:207: warning: no semicolon at end of struct or union [so] /root/tmp/jakarta-tomcat-connectors-4.1.18-src/jk/native2/include/jk_endpoin t.h:211: warning: data definition has no type or storage class [so] /root/tmp/jakarta-tomcat-connectors-4.1.18-src/jk/native2/include/jk_endpoin t.h:212: parse error before "maxTime" [so] /root/tmp/jakarta-tomcat-connectors-4.1.18-src/jk/native2/include/jk_endpoin t.h:212: warning: data definition has no type or storage class [so] /root/tmp/jakarta-tomcat-connectors-4.1.18-src/jk/native2/include/jk_endpoin t.h:215: parse error before "startTime" [so] /root/tmp/jakarta-tomcat-connectors-4.1.18-src/jk/native2/include/jk_endpoin t.h:215: warning: data definition has no type or storage class [so] /root/tmp/jakarta-tomcat-connectors-4.1.18-src/jk/native2/include/jk_endpoin t.h:216: parse error before "jkStartTime" [so] /root/tmp/jakarta-tomcat-connectors-4.1.18-src/jk/native2/include/jk_endpoin t.h:216: warning: data definition has no type or storage class [so] /root/tmp/jakarta-tomcat-connectors-4.1.18-src/jk/native2/include/jk_endpoin t.h:217: parse error before "endTime" [so] /root/tmp/jakarta-tomcat-connectors-4.1.18-src/jk/native2/include/jk_endpoin t.h:217: warning: data definition has no type or storage class [so] In file included from /root/tmp/jakarta-tomcat-connectors-4.1.18-src/jk/native2/include/jk_worker. h:70, [so] from /root/tmp/jakarta-tomcat-connectors-4.1.18-src/jk/native2/include/jk_env.h:6 9, [so] from /root/tmp/jakarta-tomcat-connectors-4.1.18-src/jk/native2/include/jk_pool.h: 67, [so] from /root/tmp/jakarta-tomcat-connectors-4.1.18-src/jk/native2/include/jk_map.h:6 7, [so] from /root/tmp/jakarta-tomcat-connectors-4.1.18-src/jk/native2/common/jk_mutex_th read.c:65: [so] /root/tmp/jakarta-tomcat-connectors-4.1.18-src/jk/native2/include/jk_service .h:279: parse error before "apr_time_t" [so] /root/tmp/jakarta-tomcat-connectors-4.1.18-src/jk/native2/include/jk_service .h:279: warning: no semicolon at end of struct or union [so] /root/tmp/jakarta-tomcat-connectors-4.1.18-src/jk/native2/include/jk_service .h:315: `read' redeclared as different kind of symbol [so] /usr/include/unistd.h:310: previous declaration of `read' [so] /root/tmp/jakarta-tomcat-connectors-4.1.18-src/jk/native2/include/jk_service .h:321: `write' redeclared as different kind of symbol [so] /usr/include/unistd.h:313: previous declaration of `write' [so] /root/tmp/jakarta-tomcat-connectors-4.1.18-src/jk/native2/include/jk_service .h:358: parse error before '}' token [so] /root/tmp/jakarta-tomcat-connectors-4.1.18-src/jk/native2/common/jk_mutex_th read.c: In function `jk2_mutex_thread_destroy': [so] /root/tmp/jakarta-tomcat-connectors-4.1.18-src/jk/native2/common/jk_mutex_th read.c:179: `APR_OS_START_USEERR' undeclared (first use in this function) [so] /root/tmp/jakarta-tomcat-connectors-4.1.18-src/jk/native2/common/jk_mutex_th read.c:179: (Each undeclared identifier is reported only once [so] /root/tmp/jakarta-tomcat-connectors-4.1.18-src/jk/native2/common/jk_mutex_th read.c:179: for each function it appears in.) [so] /root/tmp/jakarta-tomcat-connectors-4.1.18-src/jk/native2/common/jk_mutex_th read.c: In function `jk2_mutex_thread_tryLock': [so] /root/tmp/jakarta-tomcat-connectors-4.1.18-src/jk/native2/common/jk_mutex_th read.c:192: `APR_SUCCESS' undeclared (first use in this function) [so] /root/tmp/jakarta-tomcat-connectors-4.1.18-src/jk/native2/common/jk_mutex_th read.c: In function `jk2_mutex_thread_factory': [so] /root/tmp/jakarta-tomcat-connectors-4.1.18-src/jk/native2/common/jk_mutex_th read.c:245: `APR_OS_START_USEERR' undeclared (first use in this function) [so] /root/tmp/jakarta-tomcat-connectors-4.1.18-src/jk/native2/common/jk_mutex_th read.c:260: `APR_SUCCESS' undeclared (first use in this function) --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]