You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by "Ing. Gustavo Edelstein" <ge...@equiplus.com> on 2003/01/29 17:16:09 UTC
error compiling mod_jk
Hi list!
My platform is HPUX 11.0, Tomcat 3.3.1, Apache 1.3.19
The command I'm using to compile is:
apxs -I$JAVA_HOME/include -I$JAVA_HOME/include/hpux -I../jk -o mod_jk.so -c *.c ../common/*.c
The error msg I've got is:
gcc -DHPUX11 -DMOD_SSL=208103 -I/usr/local/php-4.0.6 -I/usr/local/php-4.0.6/main
-I/usr/local/php-4.0.6/main -I/usr/local/php-4.0.6/Zend -I/usr/local/php-4.0.6/
Zend -I/usr/local/php-4.0.6/TSRM -I/usr/local/php-4.0.6/TSRM -I/usr/local/php-4.
0.6 -DEAPI -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED -DKRB5 -I/usr/local/a
pache/include -I/opt/java1.3/include -I/opt/java1.3/include/hpux -I../jk -c ../
common/jk_worker.c
In file included from ../common/jk_global.h:69,
from ../common/jk_logger.h:65,
from ../common/jk_ajp12_worker.h:65,
from ../common/jk_worker_list.h:80,
from ../common/jk_worker.c:63:
/opt/gcc/lib/gcc-lib/hppa2.0n-hp-hpux11.00/2.95.3/include/stdlib.h:28: warning:
`__va__list' redefined
/opt/gcc/lib/gcc-lib/hppa2.0n-hp-hpux11.00/2.95.3/include/stdio.h:30: warning: t
his is the location of the previous definition
-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 j
k_ajp13_worker.o jk_ajp13.o jk_ajp12_worker.o mod_jk.o
apxs:Break: Command failed with rc=16777215
Thanks for your help !!
Gustavo A. Edelstein
Re: error compiling mod_jk
Posted by "Ing. Gustavo Edelstein" <ge...@equiplus.com>.
Hi,
I've tried your solution but I've the same error.
Thanks anyway.
Ing. Gustavo A. Edelstein
Tech. Mgr.
Equiplus S.A.
www.equiplus.com
----- Original Message -----
From: "jean-frederic clere" <jf...@fujitsu-siemens.com>
To: "Tomcat Developers List" <to...@jakarta.apache.org>
Sent: Thursday, January 30, 2003 7:31 AM
Subject: Re: error compiling mod_jk
> Ing. Gustavo Edelstein wrote:
> > Hi list!
> > My platform is HPUX 11.0, Tomcat 3.3.1, Apache 1.3.19
> > The command I'm using to compile is:
> >
> > apxs -I$JAVA_HOME/include -I$JAVA_HOME/include/hpux -I../jk -o mod_jk.so
> > -c *.c ../common/*.c
> >
> > The error msg I've got is:
> >
> > gcc -DHPUX11 -DMOD_SSL=208103 -I/usr/local/php-4.0.6
> > -I/usr/local/php-4.0.6/main
> > -I/usr/local/php-4.0.6/main -I/usr/local/php-4.0.6/Zend
> > -I/usr/local/php-4.0.6/
> > Zend -I/usr/local/php-4.0.6/TSRM -I/usr/local/php-4.0.6/TSRM
> > -I/usr/local/php-4.
> > 0.6 -DEAPI -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED -DKRB5
> > -I/usr/local/a
> > pache/include -I/opt/java1.3/include -I/opt/java1.3/include/hpux -I../jk
> > -c ../
> > common/jk_worker.c
> > In file included from ../common/jk_global.h:69,
> > from ../common/jk_logger.h:65,
> > from ../common/jk_ajp12_worker.h:65,
> > from ../common/jk_worker_list.h:80,
> > from ../common/jk_worker.c:63:
> > /opt/gcc/lib/gcc-lib/hppa2.0n-hp-hpux11.00/2.95.3/include/stdlib.h:28:
> > warning:
> > `__va__list' redefined
> > /opt/gcc/lib/gcc-lib/hppa2.0n-hp-hpux11.00/2.95.3/include/stdio.h:30:
> > warning: t
> > his is the location of the previous definition
> > -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 j
> > k_ajp13_worker.o jk_ajp13.o jk_ajp12_worker.o mod_jk.o
> > apxs:Break: Command failed with rc=16777215
> >
> > Thanks for your help !!
>
> Try commenting out the line:
> #include <stdlib.h>
> in common/jk_global.h
>
> >
> > Gustavo A. Edelstein
> >
> >
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org
Re: error compiling mod_jk
Posted by jean-frederic clere <jf...@fujitsu-siemens.com>.
Ing. Gustavo Edelstein wrote:
> Hi list!
> My platform is HPUX 11.0, Tomcat 3.3.1, Apache 1.3.19
> The command I'm using to compile is:
>
> apxs -I$JAVA_HOME/include -I$JAVA_HOME/include/hpux -I../jk -o mod_jk.so
> -c *.c ../common/*.c
>
> The error msg I've got is:
>
> gcc -DHPUX11 -DMOD_SSL=208103 -I/usr/local/php-4.0.6
> -I/usr/local/php-4.0.6/main
> -I/usr/local/php-4.0.6/main -I/usr/local/php-4.0.6/Zend
> -I/usr/local/php-4.0.6/
> Zend -I/usr/local/php-4.0.6/TSRM -I/usr/local/php-4.0.6/TSRM
> -I/usr/local/php-4.
> 0.6 -DEAPI -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED -DKRB5
> -I/usr/local/a
> pache/include -I/opt/java1.3/include -I/opt/java1.3/include/hpux -I../jk
> -c ../
> common/jk_worker.c
> In file included from ../common/jk_global.h:69,
> from ../common/jk_logger.h:65,
> from ../common/jk_ajp12_worker.h:65,
> from ../common/jk_worker_list.h:80,
> from ../common/jk_worker.c:63:
> /opt/gcc/lib/gcc-lib/hppa2.0n-hp-hpux11.00/2.95.3/include/stdlib.h:28:
> warning:
> `__va__list' redefined
> /opt/gcc/lib/gcc-lib/hppa2.0n-hp-hpux11.00/2.95.3/include/stdio.h:30:
> warning: t
> his is the location of the previous definition
> -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 j
> k_ajp13_worker.o jk_ajp13.o jk_ajp12_worker.o mod_jk.o
> apxs:Break: Command failed with rc=16777215
>
> Thanks for your help !!
Try commenting out the line:
#include <stdlib.h>
in common/jk_global.h
>
> Gustavo A. Edelstein
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org