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: Problem to compile mod_jk.so with apxs.
Date Thu, 28 Dec 2000 16:29:32 GMT
Its that you are looking for?

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


Simon Orchanian wrote:

> Please just someone post the resolution
> to this. I know many people are having
> a problem with it on Solaris 7 with Apache 1.3.14.
>
> Thanks,
> Simon
>
> --- Donnie Cherng <dcherng@axiowave.com> wrote:
> >
> > I have read more than thousands of mails from the mail list and read howto
> > docs
> > from Tomcat.  Still have no clue why it is not working ...
> >
> > The running system is
> >       Solaris 7 with
> >       j2sdk1_3_0
> >       jakarta-tomcat-3.2.1
> >       apache_1.3.14.
> >
> >
> > /home/users/dcherng/apache/bin/apxs -I ../jk -I
> > /home/users/dcherng/j2sdk1_3_0/include -I
> > /home/users/dcherng/j2sdk1_3_0/include/solaris -c -o mod_jk.so mod_jk.c
> > ../jk/jk_ajp12_worker.c ../jk/jk_connect.c ../jk/jk_msg_buff.c
> > ../jk/jk_util.c ../jk/jk_ajp13.c ../jk/jk_jni_worker.c ../jk/jk_pool.c
> > ../jk/jk_worker.c ../jk/jk_ajp13_worker.c ../jk/jk_lb_worker.c
> > ../jk/jk_sockbuf.c  ../jk/jk_map.c ../jk/jk_uri_worker_map.c
> > gcc -DSOLARIS2=270 -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED
> > -I/home/users/dcherng/apache/include -I../jk
> > -I/home/users/dcherng/j2sdk1_3_0/include
> > -I/home/users/dcherng/j2sdk1_3_0/include/solaris  -c mod_jk.c
> > 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=1
> > make: *** [mod_jk.so] Error 1
> >
> > thanks,
> > Donnie
>
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Shopping - Thousands of Stores. Millions of Products.
> http://shopping.yahoo.com/


Mime
View raw message