tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Damien Serra <dam...@telcel.net.ve>
Subject Re: getting mod_jk or mod_serv to work
Date Wed, 27 Dec 2000 17:23:16 GMT
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
>
> -----Original Message-----
> From: Damien Serra [mailto:damien@telcel.net.ve]
> Sent: Wednesday, December 27, 2000 6:41 AM
> To: tomcat-user@jakarta.apache.org
> Subject: Re: getting mod_jk or mod_serv to work
>
> Wayne F Davis wrote:
>
> > Hi,
> >
> > I'm having a lot of trouble getting mod_jk or mod_jserv to work.  I cannot
> > compile mod_jk or mod_jserv myself.  Both generate an apxs:Break errors.
>
> I had some problems too with apxs too.
> If you have the object files, (all the .o), you can
> finish the build of mod_jk.o with:
>
> gcc -shared -o mod_jk.o *.o
>
> Be carefull to have only the object files of mod_jk.
>
> Hope this help.
>
> >
> >
> > I tried downloading a prebuilt mod_jk.so rpm but when i set that all up,
> > apache complains with "API module structure 'jk_module' in file ... is
> > garbled - perhaps this is not an Apache module DSO?"
> >
> > Does anyone have any ideas?  I'm not sure how to get this working since
> > the apxs error messages are less than helpful and I'm not that familiar
> > with dso's.
> >
> > Thanks.
> >
> > Wayne Davis - wfdavis@seas.upenn.edu - PGP: finger -l
> wfdavis@seas.upenn.edu


Mime
View raw message