tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jed Duty <DU...@CITIFINANCIAL.COM>
Subject RE: getting mod_jk or mod_serv to work
Date Wed, 27 Dec 2000 18:03:32 GMT
Thanks that is getting me closer. Now I am back to the error I was getting
with mod_jserv when I tried to compile it.


cc -DUW=700 -DUSE_HSREGEX  -I/usr/local/apache/include -I../jk
-I/opt/java2-1.2.2/include -I/opt/java2-1.2.2/include/unixware  -c mo
d_jk.c
cc -DUW=700 -DUSE_HSREGEX  -I/usr/local/apache/include -I../jk
-I/opt/java2-1.2.2/include -I/opt/java2-1.2.2/include/unixware  -c ..
/jk/jk_ajp12_worker.c
cc -DUW=700 -DUSE_HSREGEX  -I/usr/local/apache/include -I../jk
-I/opt/java2-1.2.2/include -I/opt/java2-1.2.2/include/unixware  -c ..
/jk/jk_ajp13.c
cc -DUW=700 -DUSE_HSREGEX  -I/usr/local/apache/include -I../jk
-I/opt/java2-1.2.2/include -I/opt/java2-1.2.2/include/unixware  -c ..
/jk/jk_ajp13_worker.c
cc -DUW=700 -DUSE_HSREGEX  -I/usr/local/apache/include -I../jk
-I/opt/java2-1.2.2/include -I/opt/java2-1.2.2/include/unixware  -c ..
/jk/jk_connect.c
cc -DUW=700 -DUSE_HSREGEX  -I/usr/local/apache/include -I../jk
-I/opt/java2-1.2.2/include -I/opt/java2-1.2.2/include/unixware  -c ..
/jk/jk_jni_worker.c
UX:acomp: WARNING: "../jk/jk_jni_worker.c", line 731: assignment type
mismatch
UX:acomp: WARNING: "../jk/jk_jni_worker.c", line 732: assignment type
mismatch
UX:acomp: WARNING: "../jk/jk_jni_worker.c", line 764: invalid directive
UX:acomp: WARNING: "../jk/jk_jni_worker.c", line 765: invalid directive
UX:acomp: WARNING: "../jk/jk_jni_worker.c", line 766: invalid directive
cc -DUW=700 -DUSE_HSREGEX  -I/usr/local/apache/include -I../jk
-I/opt/java2-1.2.2/include -I/opt/java2-1.2.2/include/unixware  -c ..
/jk/jk_lb_worker.c
cc -DUW=700 -DUSE_HSREGEX  -I/usr/local/apache/include -I../jk
-I/opt/java2-1.2.2/include -I/opt/java2-1.2.2/include/unixware  -c ..
/jk/jk_map.c
UX:acomp: WARNING: "../jk/jk_map.c", line 468: newline not last character in
file
cc -DUW=700 -DUSE_HSREGEX  -I/usr/local/apache/include -I../jk
-I/opt/java2-1.2.2/include -I/opt/java2-1.2.2/include/unixware  -c ..
/jk/jk_msg_buff.c
cc -DUW=700 -DUSE_HSREGEX  -I/usr/local/apache/include -I../jk
-I/opt/java2-1.2.2/include -I/opt/java2-1.2.2/include/unixware  -c ..
/jk/jk_nwmain.c
UX:acomp: WARNING: "../jk/jk_nwmain.c", line 32: empty translation unit
cc -DUW=700 -DUSE_HSREGEX  -I/usr/local/apache/include -I../jk
-I/opt/java2-1.2.2/include -I/opt/java2-1.2.2/include/unixware  -c ..
/jk/jk_pool.c
cc -DUW=700 -DUSE_HSREGEX  -I/usr/local/apache/include -I../jk
-I/opt/java2-1.2.2/include -I/opt/java2-1.2.2/include/unixware  -c ..
/jk/jk_sockbuf.c
UX:acomp: WARNING: "../jk/jk_sockbuf.c", line 214: newline not last
character in file
cc -DUW=700 -DUSE_HSREGEX  -I/usr/local/apache/include -I../jk
-I/opt/java2-1.2.2/include -I/opt/java2-1.2.2/include/unixware  -c ..
/jk/jk_uri_worker_map.c
UX:acomp: WARNING: "../jk/jk_uri_worker_map.c", line 438: newline not last
character in file
cc -DUW=700 -DUSE_HSREGEX  -I/usr/local/apache/include -I../jk
-I/opt/java2-1.2.2/include -I/opt/java2-1.2.2/include/unixware  -c ..
/jk/jk_util.c
cc -DUW=700 -DUSE_HSREGEX  -I/usr/local/apache/include -I../jk
-I/opt/java2-1.2.2/include -I/opt/java2-1.2.2/include/unixware  -c ..
/jk/jk_worker.c
  -o mod_jk.so ../jk/jk_worker.o ../jk/jk_util.o ../jk/jk_uri_worker_map.o
../jk/jk_sockbuf.o ../jk/jk_pool.o ../jk/jk_nwmain.o ../j
k/jk_msg_buff.o ../jk/jk_map.o ../jk/jk_lb_worker.o ../jk/jk_jni_worker.o
../jk/jk_connect.o ../jk/jk_ajp13_worker.o ../jk/jk_ajp13.
o ../jk/jk_ajp12_worker.o mod_jk.o
apxs:Break: Command failed with rc=16711680

Not sure what to make of it.  
Thanks for the help though.

Jed Duty
-----Original Message-----
From: Damien Serra [mailto:damien@telcel.net.ve]
Sent: Wednesday, December 27, 2000 9:23 AM
To: tomcat-user@jakarta.apache.org
Subject: Re: getting mod_jk or mod_serv to work


Jed Duty wrote:

> I am having similar problems but even the gcc compile line doesn't help.
I
> am actually getting a syntax error message with apxs as follows
>
> apxs -o mod_jk.so -I../jk -I/opt/java2-1.2.2/include
> -I/opt/java-1.2.2/include/unixware -c *.c ../jk/*.c
> -ksh: apxs: not found
> uspkdevc# /usr/local/apache/bin/apxs -o mod_jk.so -I../jk
> -I/opt/java2-1.2.2/include -I/opt/java-1.2.2/include/unixware -c *.c
> ../jk/*.c
> cc -DUW=700 -DUSE_HSREGEX  -I/usr/local/apache/include -I../jk
> -I/opt/java2-1.2.2/include -I/opt/java-1.2.2/include/unixware  -c mod_jk.c
> UX:acomp: ERROR: "../jk/jk_pool.h", line 116: Syntax error before or at:
> jk_pool_atom_t
> UX:acomp: ERROR: "mod_jk.c", line 679: undefined symbol: jk_pool_atom_t
> UX:acomp: ERROR: "mod_jk.c", line 679: Syntax error before or at: buf
> UX:acomp: ERROR: "mod_jk.c", line 680: undefined symbol: buf
> apxs:Break: Command failed with rc=65536
>

Inside jk_pool.h, at line 92, you need to add this,

#elif defined(NETWARE)
    typedef long long    jk_pool_atom_t;
#else                                                             //ADD THIS
LINE
    typedef long long    jk_pool_atom_t;      // ADD THIS LINE
#endif

I belive you can compile now, and do the later steps.
Try with careful, you can have another errors.

It hapen, because your OS is not one of the listed.
For a real patch, we have to know what's the alignment
scheme of your architecture and other stuff.


>
> Any ideas on this one.  I have looked at the code and didn't see anything
> wrong right off.
> I am running a SCO UnixWare7.1.1 box with java2-1.2.2 and tomcat 3.2.1
>
> Jed Duty

Mime
View raw message