You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by "Hladky, David" <dh...@fnni.com> on 2001/02/07 20:16:09 UTC

still having some trouble with mod_jk on SGI

Mike and Others,
	Thanks for the info this morning on building it locally.  That
appears to have gotten me going in the right direction. I doesn't error
code rc=1 now.  I am still not getting it compile the shared object though.
As far as the libraries I jsut simply took my old apache
	and re-named it to old.  Question though?  Could I build mod_jk when
I compile apache rather than waiting until after it is built.  If 	so,
where would I place the jk source and libraries?  Probably can't but, just a
thought?

	Anyway, if anybody can help.  I hae the text of the output I am
getting so that someone who knows more than me can have a peak.

	indigo% /usr/local/apache/bin/apxs -o mod_jk.so -DIRIX -I../jk
-I/usr/java/include -I/usr/java/include/irix -c *.c ../jk/*.c
	cc -DIRIX -n32 -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite -KPIC
-DSHARED_MODULE -I/usr/local/apache/include -I../jk -	I/usr/java/include
-I/usr/java/include/irix -DIRIX  -c mod_jk.c
	cc: unrecognized option `-n32'
	cc: unrecognized option `-KPIC'
	In file included from ../jk/jk_util.h:66,
                 from mod_jk.c:90:
	../jk/jk_pool.h:116: parse error before `jk_pool_atom_t'
	mod_jk.c: In function `jk_handler':
	mod_jk.c:679: `jk_pool_atom_t' undeclared (first use in this
function)
	mod_jk.c:679: (Each undeclared identifier is reported only once
	mod_jk.c:679: for each function it appears in.)
	mod_jk.c:679: parse error before `buf'
	mod_jk.c:680: `buf' undeclared (first use in this function)
	apxs:Break: Command failed with rc=65536


Re: still having some trouble with mod_jk on SGI

Posted by Ed Mooney <Ed...@Sun.COM>.
Here's a transcript from a compilation on Solaris 8 x86 (apologies for 
however my mail client is sure to mangle the output):

cd /usr/local/share/jakarta-tomcat-3.2.1-src/src/native/apache1.3/
apxs -S CC=gcc -S CFLAGS_SHLIB="-G -fpic" -o mod_jk.so -DSOLARIS -I../jk 
-I/usr/java/include -I/usr/java/include/solaris -lposix4 -c *.c ../jk/*.c
gcc -DEAPI -DMOD_PERL -DUSE_EXPAT -O -G -fpic -I/usr/apache/include 
-I../jk -I/usr/java/include -I/usr/java/include/solaris -DSOLARIS  -c 
mod_jk.c
gcc -DEAPI -DMOD_PERL -DUSE_EXPAT -O -G -fpic -I/usr/apache/include 
-I../jk -I/usr/java/include -I/usr/java/include/solaris -DSOLARIS  -c 
../jk/jk_ajp12_worker.c
gcc -DEAPI -DMOD_PERL -DUSE_EXPAT -O -G -fpic -I/usr/apache/include 
-I../jk -I/usr/java/include -I/usr/java/include/solaris -DSOLARIS  -c 
../jk/jk_ajp13.c
gcc -DEAPI -DMOD_PERL -DUSE_EXPAT -O -G -fpic -I/usr/apache/include 
-I../jk -I/usr/java/include -I/usr/java/include/solaris -DSOLARIS  -c 
../jk/jk_ajp13_worker.c
gcc -DEAPI -DMOD_PERL -DUSE_EXPAT -O -G -fpic -I/usr/apache/include 
-I../jk -I/usr/java/include -I/usr/java/include/solaris -DSOLARIS  -c 
../jk/jk_connect.c
gcc -DEAPI -DMOD_PERL -DUSE_EXPAT -O -G -fpic -I/usr/apache/include 
-I../jk -I/usr/java/include -I/usr/java/include/solaris -DSOLARIS  -c 
../jk/jk_jni_worker.c
gcc -DEAPI -DMOD_PERL -DUSE_EXPAT -O -G -fpic -I/usr/apache/include 
-I../jk -I/usr/java/include -I/usr/java/include/solaris -DSOLARIS  -c 
../jk/jk_lb_worker.c
gcc -DEAPI -DMOD_PERL -DUSE_EXPAT -O -G -fpic -I/usr/apache/include 
-I../jk -I/usr/java/include -I/usr/java/include/solaris -DSOLARIS  -c 
../jk/jk_map.c
gcc -DEAPI -DMOD_PERL -DUSE_EXPAT -O -G -fpic -I/usr/apache/include 
-I../jk -I/usr/java/include -I/usr/java/include/solaris -DSOLARIS  -c 
../jk/jk_msg_buff.c
gcc -DEAPI -DMOD_PERL -DUSE_EXPAT -O -G -fpic -I/usr/apache/include 
-I../jk -I/usr/java/include -I/usr/java/include/solaris -DSOLARIS  -c 
../jk/jk_nwmain.c
gcc -DEAPI -DMOD_PERL -DUSE_EXPAT -O -G -fpic -I/usr/apache/include 
-I../jk -I/usr/java/include -I/usr/java/include/solaris -DSOLARIS  -c 
../jk/jk_pool.c
gcc -DEAPI -DMOD_PERL -DUSE_EXPAT -O -G -fpic -I/usr/apache/include 
-I../jk -I/usr/java/include -I/usr/java/include/solaris -DSOLARIS  -c 
../jk/jk_sockbuf.c
gcc -DEAPI -DMOD_PERL -DUSE_EXPAT -O -G -fpic -I/usr/apache/include 
-I../jk -I/usr/java/include -I/usr/java/include/solaris -DSOLARIS  -c 
../jk/jk_uri_worker_map.c
gcc -DEAPI -DMOD_PERL -DUSE_EXPAT -O -G -fpic -I/usr/apache/include 
-I../jk -I/usr/java/include -I/usr/java/include/solaris -DSOLARIS  -c 
../jk/jk_util.c
gcc -DEAPI -DMOD_PERL -DUSE_EXPAT -O -G -fpic -I/usr/apache/include 
-I../jk -I/usr/java/include -I/usr/java/include/solaris -DSOLARIS  -c 
../jk/jk_worker.c
ld -G -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 -lposix4 

Regards,
--
Ed Mooney             |Sun Microsystems, Inc.|Time flies like
XML Technology Center |UBUR02-201            |an arrow, but
Ed.Mooney@Sun.COM     |1 Network Drive       |fruit flies like
781-442-0459          |Burlington, MA  01803 |a banana. Groucho

>>>>>>>>>>>>>>>>>> Original Message <<<<<<<<<<<<<<<<<<

On 2/7/01, 2:16:09 PM, "Hladky," David <dh...@fnni.com> wrote regarding 
still having some trouble with mod_jk on SGI:


> Mike and Others,
>       Thanks for the info this morning on building it locally.  That
> appears to have gotten me going in the right direction. I doesn't error
> code rc=1 now.  I am still not getting it compile the shared object 
though.
> As far as the libraries I jsut simply took my old apache
>       and re-named it to old.  Question though?  Could I build mod_jk 
when
> I compile apache rather than waiting until after it is built.  If     so,
> where would I place the jk source and libraries?  Probably can't but, 
just a
> thought?

>       Anyway, if anybody can help.  I hae the text of the output I am
> getting so that someone who knows more than me can have a peak.

>       indigo% /usr/local/apache/bin/apxs -o mod_jk.so -DIRIX -I../jk
> -I/usr/java/include -I/usr/java/include/irix -c *.c ../jk/*.c
>       cc -DIRIX -n32 -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite -KPIC
> -DSHARED_MODULE -I/usr/local/apache/include -I../jk - I/usr/java/include
> -I/usr/java/include/irix -DIRIX  -c mod_jk.c
>       cc: unrecognized option `-n32'
>       cc: unrecognized option `-KPIC'
>       In file included from ../jk/jk_util.h:66,
>                  from mod_jk.c:90:
>       ../jk/jk_pool.h:116: parse error before `jk_pool_atom_t'
>       mod_jk.c: In function `jk_handler':
>       mod_jk.c:679: `jk_pool_atom_t' undeclared (first use in this
> function)
>       mod_jk.c:679: (Each undeclared identifier is reported only once
>       mod_jk.c:679: for each function it appears in.)
>       mod_jk.c:679: parse error before `buf'
>       mod_jk.c:680: `buf' undeclared (first use in this function)
>       apxs:Break: Command failed with rc=65536


> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, email: tomcat-user-help@jakarta.apache.org

Re: still having some trouble with mod_jk on SGI

Posted by Ed Mooney <Ed...@Sun.COM>.
Here's a transcript of a compilation on Solaris 8 x86:

cd /usr/local/share/jakarta-tomcat-3.2.1-src/src/native/apache1.3/
apxs -S CC=gcc -S CFLAGS_SHLIB="-G -fpic" -o mod_jk.so -DSOLARIS -I../jk 
-I/usr/java/include -I/usr/java/include/solaris -lposix4 -c *.c ../jk/*.c
gcc -DEAPI -DMOD_PERL -DUSE_EXPAT -O -G -fpic -I/usr/apache/include 
-I../jk -I/usr/java/include -I/usr/java/include/solaris -DSOLARIS  -c 
mod_jk.c
gcc -DEAPI -DMOD_PERL -DUSE_EXPAT -O -G -fpic -I/usr/apache/include 
-I../jk -I/usr/java/include -I/usr/java/include/solaris -DSOLARIS  -c 
../jk/jk_ajp12_worker.c
gcc -DEAPI -DMOD_PERL -DUSE_EXPAT -O -G -fpic -I/usr/apache/include 
-I../jk -I/usr/java/include -I/usr/java/include/solaris -DSOLARIS  -c 
../jk/jk_ajp13.c
gcc -DEAPI -DMOD_PERL -DUSE_EXPAT -O -G -fpic -I/usr/apache/include 
-I../jk -I/usr/java/include -I/usr/java/include/solaris -DSOLARIS  -c 
../jk/jk_ajp13_worker.c
gcc -DEAPI -DMOD_PERL -DUSE_EXPAT -O -G -fpic -I/usr/apache/include 
-I../jk -I/usr/java/include -I/usr/java/include/solaris -DSOLARIS  -c 
../jk/jk_connect.c
gcc -DEAPI -DMOD_PERL -DUSE_EXPAT -O -G -fpic -I/usr/apache/include 
-I../jk -I/usr/java/include -I/usr/java/include/solaris -DSOLARIS  -c 
../jk/jk_jni_worker.c
gcc -DEAPI -DMOD_PERL -DUSE_EXPAT -O -G -fpic -I/usr/apache/include 
-I../jk -I/usr/java/include -I/usr/java/include/solaris -DSOLARIS  -c 
../jk/jk_lb_worker.c
gcc -DEAPI -DMOD_PERL -DUSE_EXPAT -O -G -fpic -I/usr/apache/include 
-I../jk -I/usr/java/include -I/usr/java/include/solaris -DSOLARIS  -c 
../jk/jk_map.c
gcc -DEAPI -DMOD_PERL -DUSE_EXPAT -O -G -fpic -I/usr/apache/include 
-I../jk -I/usr/java/include -I/usr/java/include/solaris -DSOLARIS  -c 
../jk/jk_msg_buff.c
gcc -DEAPI -DMOD_PERL -DUSE_EXPAT -O -G -fpic -I/usr/apache/include 
-I../jk -I/usr/java/include -I/usr/java/include/solaris -DSOLARIS  -c 
../jk/jk_nwmain.c
gcc -DEAPI -DMOD_PERL -DUSE_EXPAT -O -G -fpic -I/usr/apache/include 
-I../jk -I/usr/java/include -I/usr/java/include/solaris -DSOLARIS  -c 
../jk/jk_pool.c
gcc -DEAPI -DMOD_PERL -DUSE_EXPAT -O -G -fpic -I/usr/apache/include 
-I../jk -I/usr/java/include -I/usr/java/include/solaris -DSOLARIS  -c 
../jk/jk_sockbuf.c
gcc -DEAPI -DMOD_PERL -DUSE_EXPAT -O -G -fpic -I/usr/apache/include 
-I../jk -I/usr/java/include -I/usr/java/include/solaris -DSOLARIS  -c 
../jk/jk_uri_worker_map.c
gcc -DEAPI -DMOD_PERL -DUSE_EXPAT -O -G -fpic -I/usr/apache/include 
-I../jk -I/usr/java/include -I/usr/java/include/solaris -DSOLARIS  -c 
../jk/jk_util.c
gcc -DEAPI -DMOD_PERL -DUSE_EXPAT -O -G -fpic -I/usr/apache/include 
-I../jk -I/usr/java/include -I/usr/java/include/solaris -DSOLARIS  -c 
../jk/jk_worker.c
ld -G -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 -lposix4 

Regards,
--
Ed Mooney             |Sun Microsystems, Inc.|Time flies like
XML Technology Center |UBUR02-201            |an arrow, but
Ed.Mooney@Sun.COM     |1 Network Drive       |fruit flies like
781-442-0459          |Burlington, MA  01803 |a banana. Groucho

>>>>>>>>>>>>>>>>>> Original Message <<<<<<<<<<<<<<<<<<

On 2/7/01, 2:16:09 PM, "Hladky," David <dh...@fnni.com> wrote regarding 
still having some trouble with mod_jk on SGI:


> Mike and Others,
>       Thanks for the info this morning on building it locally.  That
> appears to have gotten me going in the right direction. I doesn't error
> code rc=1 now.  I am still not getting it compile the shared object 
though.
> As far as the libraries I jsut simply took my old apache
>       and re-named it to old.  Question though?  Could I build mod_jk 
when
> I compile apache rather than waiting until after it is built.  If     so,
> where would I place the jk source and libraries?  Probably can't but, 
just a
> thought?

>       Anyway, if anybody can help.  I hae the text of the output I am
> getting so that someone who knows more than me can have a peak.

>       indigo% /usr/local/apache/bin/apxs -o mod_jk.so -DIRIX -I../jk
> -I/usr/java/include -I/usr/java/include/irix -c *.c ../jk/*.c
>       cc -DIRIX -n32 -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite -KPIC
> -DSHARED_MODULE -I/usr/local/apache/include -I../jk - I/usr/java/include
> -I/usr/java/include/irix -DIRIX  -c mod_jk.c
>       cc: unrecognized option `-n32'
>       cc: unrecognized option `-KPIC'
>       In file included from ../jk/jk_util.h:66,
>                  from mod_jk.c:90:
>       ../jk/jk_pool.h:116: parse error before `jk_pool_atom_t'
>       mod_jk.c: In function `jk_handler':
>       mod_jk.c:679: `jk_pool_atom_t' undeclared (first use in this
> function)
>       mod_jk.c:679: (Each undeclared identifier is reported only once
>       mod_jk.c:679: for each function it appears in.)
>       mod_jk.c:679: parse error before `buf'
>       mod_jk.c:680: `buf' undeclared (first use in this function)
>       apxs:Break: Command failed with rc=65536


> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, email: tomcat-user-help@jakarta.apache.org