You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Simon Orchanian <si...@yahoo.com> on 2000/12/19 16:38:18 UTC

Re: Building mod_jk

Hi,

I get the same problem. Can anyone help us on this??

I've also tried to do "gcc -shared -o mod_jk.so *.o".

I believe that this was from an earlier posting
by Dave Newton.

This however gave a different type of problem.

Please help.
Thanks,
Simon


--- anja.beck@ibykus.de wrote:
> Hi,
> 
> I have exactly the same problem. I tried several things (I changed the
> jk_global.h, jk_pool.h and the jk_jni_worker.c) but nothing worked for me.
> 
> Now I get the following error:
> as: "/var/tmp/ccaPLHHa.s", line 54: error 1052: Directive name not
> recognized - NSUBSPA
> as: "/var/tmp/ccaPLHHa.s", line 55: error 1052: Directive name not
> recognized - PARAM
> as: "/var/tmp/ccaPLHHa.s", line 235: error 1052: Directive name not
> recognized - NSUBSPA
> as: "/var/tmp/ccaPLHHa.s", line 236: error 1052: Directive name not
> recognized - PARAM
> as: "/var/tmp/ccaPLHHa.s", line 307: error 1052: Directive name not
> recognized - NSUBSPA
> as: "/var/tmp/ccaPLHHa.s", line 308: error 1052: Directive name not
> recognized - PARAM
> as: "/var/tmp/ccaPLHHa.s", line 431: error 1052: Directive name not
> recognized - NSUBSPA
> as: "/var/tmp/ccaPLHHa.s", line 432: error 1052: Directive name not
> recognized - PARAM
> as: "/var/tmp/ccaPLHHa.s", line 477: error 1052: Directive name not
> recognized - NSUBSPA
> as: "/var/tmp/ccaPLHHa.s", line 478: error 1052: Directive name not
> recognized - PARAM
> as: "/var/tmp/ccaPLHHa.s", line 540: error 1052: Directive name not
> recognized - NSUBSPA
> as: "/var/tmp/ccaPLHHa.s", line 541: error 1052: Directive name not
> recognized - PARAM
> as: "/var/tmp/ccaPLHHa.s", line 852: error 1052: Directive name not
> recognized - NSUBSPA
> as: "/var/tmp/ccaPLHHa.s", line 853: error 1052: Directive name not
> recognized - PARAM
> as: "/var/tmp/ccaPLHHa.s", line 872: error 1052: Directive name not
> recognized - NSUBSPA
> as: "/var/tmp/ccaPLHHa.s", line 873: error 1052: Directive name not
> recognized - PARAM
> as: "/var/tmp/ccaPLHHa.s", line 903: error 1052: Directive name not
> recognized - NSUBSPA
> as: "/var/tmp/ccaPLHHa.s", line 904: error 1052: Directive name not
> recognized - PARAM
> as: "/var/tmp/ccaPLHHa.s", line 920: error 1052: Directive name not
> recognized - NSUBSPA
> as: "/var/tmp/ccaPLHHa.s", line 921: error 1052: Directive name not
> recognized - PARAM
> as: "/var/tmp/ccaPLHHa.s", line 937: error 1052: Directive name not
> recognized - NSUBSPA
> as: "/var/tmp/ccaPLHHa.s", line 938: error 1052: Directive name not
> recognized - PARAM
> as: "/var/tmp/ccaPLHHa.s", line 956: error 1052: Directive name not
> recognized - NSUBSPA
> as: "/var/tmp/ccaPLHHa.s", line 957: error 1052: Directive name not
> recognized - PARAM
> as: "/var/tmp/ccaPLHHa.s", line 973: error 1052: Directive name not
> recognized - NSUBSPA
> as: "/var/tmp/ccaPLHHa.s", line 974: error 1052: Directive name not
> recognized - PARAM
> as: "/var/tmp/ccaPLHHa.s", line 990: error 1052: Directive name not
> recognized - NSUBSPA
> as: "/var/tmp/ccaPLHHa.s", line 991: error 1052: Directive name not
> recognized - PARAM
> as: "/var/tmp/ccaPLHHa.s", line 1007: error 1052: Directive name not
> recognized - NSUBSPA
> as: "/var/tmp/ccaPLHHa.s", line 1008: error 1052: Directive name not
> recognized - PARAM
> as: "/var/tmp/ccaPLHHa.s", line 1025: error 1052: Directive name not
> recognized - NSUBSPA
> as: "/var/tmp/ccaPLHHa.s", line 1026: error 1052: Directive name not
> recognized - PARAM
> as: "/var/tmp/ccaPLHHa.s", line 1055: error 1052: Directive name not
> recognized - NSUBSPA
> as: "/var/tmp/ccaPLHHa.s", line 1056: error 1052: Directive name not
> recognized - PARAM
> as: "/var/tmp/ccaPLHHa.s", line 1237: error 1052: Directive name not
> recognized - NSUBSPA
> as: "/var/tmp/ccaPLHHa.s", line 1238: error 1052: Directive name not
> recognized - PARAM
> as: "/var/tmp/ccaPLHHa.s", line 1377: error 1052: Directive name not
> recognized - NSUBSPA
> as: "/var/tmp/ccaPLHHa.s", line 1378: error 1052: Directive name not
> recognized - PARAM
> as: "/var/tmp/ccaPLHHa.s", line 1456: error 1052: Directive name not
> recognized - NSUBSPA
> as: "/var/tmp/ccaPLHHa.s", line 1457: error 1052: Directive name not
> recognized - PARAM
> as: "/var/tmp/ccaPLHHa.s", line 1618: error 1052: Directive name not
> recognized - NSUBSPA
> as: "/var/tmp/ccaPLHHa.s", line 1619: error 1052: Directive name not
> recognized - PARAM
> as: "/var/tmp/ccaPLHHa.s", line 1731: error 1052: Directive name not
> recognized - NSUBSPA
> as: "/var/tmp/ccaPLHHa.s", line 1732: error 1052: Directive name not
> recognized - PARAM
> apxs:Break: Command failed with rc=65536
> 
> Has anybody get it to work?
> 
> Thanks in advance, Anja.
> 
> Anja Beck
> IBYKUS AG
> anja.beck@ibykus.de
> 
> >
> > Hi everyone,
> >
> > I was wondering if anyone has found the solution to this problem....
> > however, it may be worth noting that this is a new install of
> > HP-UX11 and
> > has all the latest patches as a couple of weeks ago.
> >
> > I have installed Apache 1.3.12 and tomcat 3.2beta6 on an Hp
> > box running
> > HP-UX11.  Both of these products work great separately, but
> > building the
> > mod_jk module has been a bad experience.   I first attempted
> > building the
> > mod_jserv module using Tomcat 3.1 but ran into problems there
> > when the build
> > command tried to build *.so files, where the HP was using
> > *.sl libraries.
> >
> > After doing some reading on the Apache site I elected to try
> > the Tomcat3.2
> > beta and see what mod_jk had to offer.    When running the
> > apxs command I
> > get the following error ......
> >
> > "cc -DHPUX11 -Aa -Ae -D_HPUX_SOURCE -DUSE_HSREGEX -DUSE_EXPAT
> > -I../lib/expat-lite +z -DSHARED_CORE -DSHARED_MODULE
> > -I/apps/apache/include
> > -I../jk -I/opt/java1.2/include -I/opt/java1.2/include/hp-ux -DHPUX  -c
> > mod_jk.c
> > cpp: "../jk/jk_global.h", line 91: error 4036: Can't open include file
> > 'sys/select.h'.
> > apxs:Break: Command failed with rc=65536"
> >
> > My apxs command looks like this...
> > "/apps/apache/bin/apxs -o mod_jk.so -DHPUX -I../jk
> > -I/opt/java1.2/include
> > -I/opt/java1.2/include/hp-ux -c *.c ../jk/*.c"
> >
> > As far as I can tell, the distributed build scripts are
> > looking for the
> > system call 'sys/select.sh' which used to exist in older
> > versions of HP-UX.
> > However, when you do a man for 'select' it says that the
> > system library that
> > contains this is 'sys/time.sh'.  I have tried editing  the
> > "jk_global.h"
> > file in the "jk" directory several ways to let it look in the
> > "sys/time.sh"
> > file for the needed include command.  However, whatever I do
> > just causes a
> > break further down the system.
> >
> > So my question is simple in the end: Has anyone successfully
> > compiled mod_jk
> > for use with Apache 1.3.x on an HP-UX11 box? and if so, am I missing
> > something, or did you come up with a cool trick of your own
> > that you would
> > be interested in sharing with the rest of us?  ;-)
> >
> > Any help  would be appreciated!
> > Brian
> >
> >
> 


__________________________________________________
Do You Yahoo!?
Yahoo! Shopping - Thousands of Stores. Millions of Products.
http://shopping.yahoo.com/