You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by "Robert L. Brueckmann" <we...@teamdiscus.com> on 2000/08/29 21:23:18 UTC

mod_jserv.so help

I'm running redhat 6.0, apache 1.3.11, and tomcat 3.1 and I tried using the binary mod_jserv.so available from apache's site and when I include the tomcat.conf at the end of the httpd.conf I cannot get apache to restart...it's the mod_jserv.so file.
So when I went to compile my own mod_jserv.so from the tomcat source code using the following command
apxs -c *.c -o mod_jserv.so
It starts off okay but after the second file it compiles in the process I get the mess below:

cc -DLINUX=2 -DMOD_PERL -DUSE_PERL_SSI -Dbool=char -DHAS_BOOL -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED -
fpic -DSHARED_MODULE -I/usr/include/apache  -c autochange.c
cc -DLINUX=2 -DMOD_PERL -DUSE_PERL_SSI -Dbool=char -DHAS_BOOL -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED -
fpic -DSHARED_MODULE -I/usr/include/apache  -c jserv_ajpv11.c
In file included from /usr/include/bits/posix1_lim.h:126,
                 from /usr/include/limits.h:30,
                 from /usr/lib/gcc-lib/i386-redhat-linux/egcs-2.91.66/include/limits.h:117,
                 from /usr/lib/gcc-lib/i386-redhat-linux/egcs-2.91.66/include/syslimits.h:7,
                 from /usr/lib/gcc-lib/i386-redhat-linux/egcs-2.91.66/include/limits.h:11,
                 from /usr/include/sys/param.h:23,
                 from /usr/include/apache/ap_config.h:994,
                 from /usr/include/apache/httpd.h:71,
                 from jserv.h:64,
                 from jserv_ajpv11.c:61:
/usr/include/bits/local_lim.h:27: linux/limits.h: No such file or directory
In file included from /usr/include/apache/ap_config.h:994,
                 from /usr/include/apache/httpd.h:71,
                 from jserv.h:64,
                 from jserv_ajpv11.c:61:
/usr/include/sys/param.h:24: linux/limits.h: No such file or directory
/usr/include/sys/param.h:25: linux/param.h: No such file or directory
In file included from /usr/include/sys/socket.h:34,
                 from /usr/include/apache/ap_config.h:1075,
                 from /usr/include/apache/httpd.h:71,
                 from jserv.h:64,
                 from jserv_ajpv11.c:61:
/usr/include/bits/socket.h:252: asm/socket.h: No such file or directory
In file included from /usr/include/sys/ioctl.h:27,
                 from /usr/include/apache/ap_config.h:1086,
                 from /usr/include/apache/httpd.h:71,
                 from jserv.h:64,
                 from jserv_ajpv11.c:61:
/usr/include/bits/ioctls.h:24: asm/ioctls.h: No such file or directory
In file included from /usr/include/sys/ioctl.h:30,
                 from /usr/include/apache/ap_config.h:1086,
                 from /usr/include/apache/httpd.h:71,
                 from jserv.h:64,
                 from jserv_ajpv11.c:61:
/usr/include/bits/ioctl-types.h:25: asm/ioctls.h: No such file or directory
In file included from /usr/include/signal.h:294,
                 from /usr/include/apache/ap_config.h:1107,
                 from /usr/include/apache/httpd.h:71,
                 from jserv.h:64,
                 from jserv_ajpv11.c:61:
/usr/include/bits/sigcontext.h:28: asm/sigcontext.h: No such file or directory
In file included from /usr/include/errno.h:36,
                 from /usr/include/apache/ap_config.h:1130,
                 from /usr/include/apache/httpd.h:71,
                 from jserv.h:64,
                 from jserv_ajpv11.c:61:
/usr/include/bits/errno.h:25: linux/errno.h: No such file or directory
In file included from /usr/include/sys/resource.h:25,
                 from /usr/include/apache/ap_config.h:1148,
                 from /usr/include/apache/httpd.h:71,
                 from jserv.h:64,
                 from jserv_ajpv11.c:61:
/usr/include/bits/resource.h:24: asm/resource.h: No such file or directory
apxs:Break: Command failed with rc=65536

Does anyone know what the heck is going on?  I've deleted my tomcat source code and downloaded the tar.gz from apache's site and re-unzipped it again but I'm still having problems.  If any anyone can give me a hint here...I'd be forever grateful...this is getting frustrating!  Thanks in advance!
----
Robert L. Brueckmann
Webmaster
7400 York Road, Suite 405
Towson, MD 21204
ph: 410-337-5444
fax: 410-337-5585

Re: mod_jserv.so help

Posted by "Pier P. Fumagalli" <pi...@apache.org>.
It seems you're missing some of the kernel sources and include files, or
that your GLIBC includes are not up to date w/ the kernel.

	Pier

> "Robert L. Brueckmann" wrote:
> 
> I'm running redhat 6.0, apache 1.3.11, and tomcat 3.1 and I tried
> using the binary mod_jserv.so available from apache's site and when I
> include the tomcat.conf at the end of the httpd.conf I cannot get
> apache to restart...it's the mod_jserv.so file.
> So when I went to compile my own mod_jserv.so from the tomcat source
> code using the following command
> apxs -c *.c -o mod_jserv.so
> It starts off okay but after the second file it compiles in the
> process I get the mess below:
> 
> cc -DLINUX=2 -DMOD_PERL -DUSE_PERL_SSI -Dbool=char -DHAS_BOOL
> -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED -
> fpic -DSHARED_MODULE -I/usr/include/apache  -c autochange.c
> cc -DLINUX=2 -DMOD_PERL -DUSE_PERL_SSI -Dbool=char -DHAS_BOOL
> -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED -
> fpic -DSHARED_MODULE -I/usr/include/apache  -c jserv_ajpv11.c
> In file included from /usr/include/bits/posix1_lim.h:126,
>                  from /usr/include/limits.h:30,
>                  from
> /usr/lib/gcc-lib/i386-redhat-linux/egcs-2.91.66/include/limits.h:117,
>                  from
> /usr/lib/gcc-lib/i386-redhat-linux/egcs-2.91.66/include/syslimits.h:7,
>                  from
> /usr/lib/gcc-lib/i386-redhat-linux/egcs-2.91.66/include/limits.h:11,
>                  from /usr/include/sys/param.h:23,
>                  from /usr/include/apache/ap_config.h:994,
>                  from /usr/include/apache/httpd.h:71,
>                  from jserv.h:64,
>                  from jserv_ajpv11.c:61:
> /usr/include/bits/local_lim.h:27: linux/limits.h: No such file or
> directory
> In file included from /usr/include/apache/ap_config.h:994,
>                  from /usr/include/apache/httpd.h:71,
>                  from jserv.h:64,
>                  from jserv_ajpv11.c:61:
> /usr/include/sys/param.h:24: linux/limits.h: No such file or directory
> /usr/include/sys/param.h:25: linux/param.h: No such file or directory
> In file included from /usr/include/sys/socket.h:34,
>                  from /usr/include/apache/ap_config.h:1075,
>                  from /usr/include/apache/httpd.h:71,
>                  from jserv.h:64,
>                  from jserv_ajpv11.c:61:
> /usr/include/bits/socket.h:252: asm/socket.h: No such file or
> directory
> In file included from /usr/include/sys/ioctl.h:27,
>                  from /usr/include/apache/ap_config.h:1086,
>                  from /usr/include/apache/httpd.h:71,
>                  from jserv.h:64,
>                  from jserv_ajpv11.c:61:
> /usr/include/bits/ioctls.h:24: asm/ioctls.h: No such file or directory
> In file included from /usr/include/sys/ioctl.h:30,
>                  from /usr/include/apache/ap_config.h:1086,
>                  from /usr/include/apache/httpd.h:71,
>                  from jserv.h:64,
>                  from jserv_ajpv11.c:61:
> /usr/include/bits/ioctl-types.h:25: asm/ioctls.h: No such file or
> directory
> In file included from /usr/include/signal.h:294,
>                  from /usr/include/apache/ap_config.h:1107,
>                  from /usr/include/apache/httpd.h:71,
>                  from jserv.h:64,
>                  from jserv_ajpv11.c:61:
> /usr/include/bits/sigcontext.h:28: asm/sigcontext.h: No such file or
> directory
> In file included from /usr/include/errno.h:36,
>                  from /usr/include/apache/ap_config.h:1130,
>                  from /usr/include/apache/httpd.h:71,
>                  from jserv.h:64,
>                  from jserv_ajpv11.c:61:
> /usr/include/bits/errno.h:25: linux/errno.h: No such file or directory
> In file included from /usr/include/sys/resource.h:25,
>                  from /usr/include/apache/ap_config.h:1148,
>                  from /usr/include/apache/httpd.h:71,
>                  from jserv.h:64,
>                  from jserv_ajpv11.c:61:
> /usr/include/bits/resource.h:24: asm/resource.h: No such file or
> directory
> apxs:Break: Command failed with rc=65536
> 
> Does anyone know what the heck is going on?  I've deleted my tomcat
> source code and downloaded the tar.gz from apache's site and
> re-unzipped it again but I'm still having problems.  If any anyone can
> give me a hint here...I'd be forever grateful...this is getting
> frustrating!  Thanks in advance!
> ----
> Robert L. Brueckmann
> Webmaster
> 7400 York Road, Suite 405
> Towson, MD 21204
> ph: 410-337-5444
> fax: 410-337-5585