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_thread.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_workerEnv.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:69,
[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:67,
[so] from /root/tmp/jakarta-tomcat-connectors-4.1.18-src/jk/native2/common/jk_mutex_thread.c:65:
[so] /root/tmp/jakarta-tomcat-connectors-4.1.18-src/jk/native2/include/jk_endpoint.h:207: parse error before "apr_time_t"
[so] /root/tmp/jakarta-tomcat-connectors-4.1.18-src/jk/native2/include/jk_endpoint.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_endpoint.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_endpoint.h:212: parse error before "maxTime"
[so] /root/tmp/jakarta-tomcat-connectors-4.1.18-src/jk/native2/include/jk_endpoint.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_endpoint.h:215: parse error before "startTime"
[so] /root/tmp/jakarta-tomcat-connectors-4.1.18-src/jk/native2/include/jk_endpoint.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_endpoint.h:216: parse error before "jkStartTime"
[so] /root/tmp/jakarta-tomcat-connectors-4.1.18-src/jk/native2/include/jk_endpoint.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_endpoint.h:217: parse error before "endTime"
[so] /root/tmp/jakarta-tomcat-connectors-4.1.18-src/jk/native2/include/jk_endpoint.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:69,
[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:67,
[so] from /root/tmp/jakarta-tomcat-connectors-4.1.18-src/jk/native2/common/jk_mutex_thread.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_thread.c: In function `jk2_mutex_thread_destroy':
[so] /root/tmp/jakarta-tomcat-connectors-4.1.18-src/jk/native2/common/jk_mutex_thread.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_thread.c:179: (Each undeclared identifier is reported only once
[so] /root/tmp/jakarta-tomcat-connectors-4.1.18-src/jk/native2/common/jk_mutex_thread.c:179: for each function it appears in.)
[so] /root/tmp/jakarta-tomcat-connectors-4.1.18-src/jk/native2/common/jk_mutex_thread.c: In function `jk2_mutex_thread_tryLock':
[so] /root/tmp/jakarta-tomcat-connectors-4.1.18-src/jk/native2/common/jk_mutex_thread.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_thread.c: In function `jk2_mutex_thread_factory':
[so] /root/tmp/jakarta-tomcat-connectors-4.1.18-src/jk/native2/common/jk_mutex_thread.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_thread.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]
- Re: webpage & servlets ! Chong Yu Meng
- Re: webpage & servlets ! Swapneel Dange
- Re: webpage & servlets ! Peng Tuck Kwok
- RE: webpage & servlets ! Turner, John
- Re: webpage & servlets ! Swapneel Dange
- RE: webpage & servlets ! Filip Hanik
- Re: webpage & servlets ! Swapneel Dange
- Re: webpage & servlets ! Chong Yu Meng
- RE: webpage & servlets ! Swapneel Dange
- Tomcat 4.1.8 and httpd-2.0.40-11 Xue-Feng Yang
- Re: Tomcat 4.1.18 and httpd-2.0.40-11 Xue-Feng Yang
- Re: Tomcat 4.1.18 and httpd-2.0.40-11 ramakrishna
- Re: Tomcat 4.1.18 and httpd-2.0.40-11 sunisson
- where can i servlet api specification... Xiongfei Wang
- Re: where can i servlet api speci... Jake Robb
- Re: where can i servlet api speci... Jake Robb
- Re: where can i servlet api speci... Tim Funk
- how to protect file Xiongfei Wang
- Re: how to protect file Will Hartung
- Tomcat 4.1.8 and httpd-2.0.40-11 sunisson
- RE: webpage & servlets ! Swapneel Dange