apxs:Break: Command failed with rc=16777215
Has anyone a solution to this problem? Any help would be greatly appreciated !
Regards,
Mike Courage
Frustrated
The trouble is building the mod_jk as a DSO module with "apxs"
(Step 2: http://jakarta.apache.org/tomcat/jakarta-tomcat/src/doc/mod_jk-howto.html )
Am using:
Red Hat Linux release 7.0 (Guinness) Kernel 2.2.16-22 on an i686
apache-1.3.19
perl5.6.0
have tried Sun java1.3.0_02 & IBMJava2-13
tomcat3.2.1
[root@dev /usr/local/jakarta-tomcat-3.2.1-src/src/native/apache1.3]# /usr/sbin/apxs -o
mod_jk.so \
> -I../jk \
> -I/opt/jdk1.3.0_02/include \
> -I/opt/jdk1.3.0_02/include/linux \
> -c *.c ../jk/*.c
gcc -DLINUX=22 -DMOD_SSL=208101 -DUSE_HSREGEX -DEAPI -DUSE_EXPAT -I../lib/expat-lite
-DNO_DL_NEEDED -I/usr/local/src/in
clude -I../jk -I/opt/jdk1.3.0_02/include -I/opt/jdk1.3.0_02/include/linux -c mod_jk.c
gcc -DLINUX=22 -DMOD_SSL=208101 -DUSE_HSREGEX -DEAPI -DUSE_EXPAT -I../lib/expat-lite
-DNO_DL_NEEDED -I/usr/local/src/in
clude -I../jk -I/opt/jdk1.3.0_02/include -I/opt/jdk1.3.0_02/include/linux -c
../jk/jk_ajp12_worker.c
gcc -DLINUX=22 -DMOD_SSL=208101 -DUSE_HSREGEX -DEAPI -DUSE_EXPAT -I../lib/expat-lite
-DNO_DL_NEEDED -I/usr/local/src/in
clude -I../jk -I/opt/jdk1.3.0_02/include -I/opt/jdk1.3.0_02/include/linux -c
../jk/jk_ajp13.c
gcc -DLINUX=22 -DMOD_SSL=208101 -DUSE_HSREGEX -DEAPI -DUSE_EXPAT -I../lib/expat-lite
-DNO_DL_NEEDED -I/usr/local/src/in
clude -I../jk -I/opt/jdk1.3.0_02/include -I/opt/jdk1.3.0_02/include/linux -c
../jk/jk_ajp13_worker.c
gcc -DLINUX=22 -DMOD_SSL=208101 -DUSE_HSREGEX -DEAPI -DUSE_EXPAT -I../lib/expat-lite
-DNO_DL_NEEDED -I/usr/local/src/in
clude -I../jk -I/opt/jdk1.3.0_02/include -I/opt/jdk1.3.0_02/include/linux -c
../jk/jk_connect.c
gcc -DLINUX=22 -DMOD_SSL=208101 -DUSE_HSREGEX -DEAPI -DUSE_EXPAT -I../lib/expat-lite
-DNO_DL_NEEDED -I/usr/local/src/in
clude -I../jk -I/opt/jdk1.3.0_02/include -I/opt/jdk1.3.0_02/include/linux -c
../jk/jk_jni_worker.c
gcc -DLINUX=22 -DMOD_SSL=208101 -DUSE_HSREGEX -DEAPI -DUSE_EXPAT -I../lib/expat-lite
-DNO_DL_NEEDED -I/usr/local/src/in
clude -I../jk -I/opt/jdk1.3.0_02/include -I/opt/jdk1.3.0_02/include/linux -c
../jk/jk_lb_worker.c
gcc -DLINUX=22 -DMOD_SSL=208101 -DUSE_HSREGEX -DEAPI -DUSE_EXPAT -I../lib/expat-lite
-DNO_DL_NEEDED -I/usr/local/src/in
clude -I../jk -I/opt/jdk1.3.0_02/include -I/opt/jdk1.3.0_02/include/linux -c
../jk/jk_map.c
../jk/jk_map.c:468:1: warning: no newline at end of file
gcc -DLINUX=22 -DMOD_SSL=208101 -DUSE_HSREGEX -DEAPI -DUSE_EXPAT -I../lib/expat-lite
-DNO_DL_NEEDED -I/usr/local/src/in
clude -I../jk -I/opt/jdk1.3.0_02/include -I/opt/jdk1.3.0_02/include/linux -c
../jk/jk_msg_buff.c
gcc -DLINUX=22 -DMOD_SSL=208101 -DUSE_HSREGEX -DEAPI -DUSE_EXPAT -I../lib/expat-lite
-DNO_DL_NEEDED -I/usr/local/src/in
clude -I../jk -I/opt/jdk1.3.0_02/include -I/opt/jdk1.3.0_02/include/linux -c
../jk/jk_nwmain.c
gcc -DLINUX=22 -DMOD_SSL=208101 -DUSE_HSREGEX -DEAPI -DUSE_EXPAT -I../lib/expat-lite
-DNO_DL_NEEDED -I/usr/local/src/in
clude -I../jk -I/opt/jdk1.3.0_02/include -I/opt/jdk1.3.0_02/include/linux -c
../jk/jk_pool.c
gcc -DLINUX=22 -DMOD_SSL=208101 -DUSE_HSREGEX -DEAPI -DUSE_EXPAT -I../lib/expat-lite
-DNO_DL_NEEDED -I/usr/local/src/in
clude -I../jk -I/opt/jdk1.3.0_02/include -I/opt/jdk1.3.0_02/include/linux -c
../jk/jk_sockbuf.c
../jk/jk_sockbuf.c:214:1: warning: no newline at end of file
gcc -DLINUX=22 -DMOD_SSL=208101 -DUSE_HSREGEX -DEAPI -DUSE_EXPAT -I../lib/expat-lite
-DNO_DL_NEEDED -I/usr/local/src/in
clude -I../jk -I/opt/jdk1.3.0_02/include -I/opt/jdk1.3.0_02/include/linux -c
../jk/jk_uri_worker_map.c
../jk/jk_uri_worker_map.c:438:1: warning: no newline at end of file
gcc -DLINUX=22 -DMOD_SSL=208101 -DUSE_HSREGEX -DEAPI -DUSE_EXPAT -I../lib/expat-lite
-DNO_DL_NEEDED -I/usr/local/src/in
clude -I../jk -I/opt/jdk1.3.0_02/include -I/opt/jdk1.3.0_02/include/linux -c
../jk/jk_util.c
gcc -DLINUX=22 -DMOD_SSL=208101 -DUSE_HSREGEX -DEAPI -DUSE_EXPAT -I../lib/expat-lite
-DNO_DL_NEEDED -I/usr/local/src/in
clude -I../jk -I/opt/jdk1.3.0_02/include -I/opt/jdk1.3.0_02/include/linux -c
../jk/jk_worker.c
In file included from ../jk/jk_worker.c:63:
../jk/jk_worker_list.h:126:36: warning: no newline at end of file
-o mod_jk.so jk_worker.o jk_util.o jk_uri_worker_map.o jk_sockbuf.o jk_pool.o
jk_nwmain.o jk_msg_buff.o jk_map.o jk_lb
_worker.o jk_jni_worker.o jk_connect.o jk_ajp13_worker.o jk_ajp13.o jk_ajp12_worker.o
mod_jk.o
apxs:Break: Command failed with rc=16777215
[root@dev /usr/local/jakarta-tomcat-3.2.1-src/src/native/apache1.3]#