You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Jean-Luc BEAUDET <be...@toolchest.cyber.kodak.com> on 2001/10/22 17:59:08 UTC

Re: Cannot load mod_webapp.so into server: __lshrdi3: reference symbol not found

Marjou Xavier a écrit :

> Hello,
>
> FYI : I also have the same pb with: webapp-module-1.0-tc40-src.tar.gz, libtool 1.4.2 and gcc 2.95.2 on Solaris 8 on sparc processor
>
>  <<mod_webapp_pb.txt>>
> Xavier Marjou
>
> > -----Original Message-----
> > From: Pier Fumagalli [SMTP:pier@betaversion.org]
> > Sent: Monday, October 15, 2001 7:50 PM
> > To:   tomcat-user@jakarta.apache.org
> > Subject:      Re: Cannot load mod_webapp.so into server: __lshrdi3: reference symbol not found
> >
> > eq at edward.quick@btinternet.com wrote:
> >
> > >
> > > Hi,
> > >
> > > I'm trying to get mod_webapp to work so that I can use Tomcat 4.0 with
> > > Apache 1.3.20. I'm using Solaris 8 on Sparc 5 and I've built apache with
> > > a Sun C compiler, and I'm using the Tomcat binary.
> > >
> > > If I use the binary from:
> > >
> > > http://jakarta.apache.org/builds/jakarta-tomcat-4.0/release/v4.0/bin/
> > >
> > > I get the following message when I do apachectl configtest:
> > >
> > > Syntax error on line 206 of /usr/local/apache/conf/httpd.conf
> > > Cannot load /usr/local/apache/libexec/mod_webapp.so into server:
> > > ld.so.1: /usr/local/apache/bin/httpd: fatal: relocation error: file
> > > /usr/local/apache/libexec/mod_webapp.so: symbol __lshrdi3: referenced
> > > symbol not found
> > >
> > >
> > > If I try to build the module, the configure part works fine, but when I
> > > get to the make I get a lot of errors related to pr_warp.c:
> > >
> > > pr_warp.c: In function `headers':
> > > pr_warp.c:198: `TYPE_REQ_HEADER' undeclared (first use in this
> > > function)
> > > pr_warp.c:198: (Each undeclared identifier is reported only once
> > > pr_warp.c:198: for each function it appears in.)
> > > pr_warp.c: In function `warp_handle':
> > > pr_warp.c:245: `TYPE_REQ_INIT' undeclared (first use in this function)
> > > pr_warp.c:279: `TYPE_REQ_CONTENT' undeclared (first use in this
> > > function)
> > > pr_warp.c:291: `TYPE_REQ_SCHEME' undeclared (first use in this
> > > function)
> > >
> > > etc etc
> > >
> > > Could someone help me out please? gcc is not an option for me either.
> >
> > Darn :( I don't have access to the Sun C compiler... Those definitions,
> > though, should be created automagically by configure in pr_warp.h... I don't
> > quite get why they aren't...
> >
> >     Pier
>
>   ------------------------------------------------------------------------
>                         Name: mod_webapp_pb.txt
>    mod_webapp_pb.txt    Type: Plain Text (text/plain)
>                     Encoding: quoted-printable

Well if i understand all the stuff, it feels yu try to compile mod_webapp with Sun C Compiler?

Did y ucompile Apache with the same Sun C Compiler ?

Cause ièm not quite sure it is compatible.

JL ;O)



Re: Cannot load mod_webapp.so into server: __lshrdi3: reference symbol not found

Posted by Pier Fumagalli <pi...@betaversion.org>.
Jean-Luc BEAUDET at beaudet@toolchest.cyber.kodak.com wrote:

> Well if i understand all the stuff, it feels yu try to compile mod_webapp with
> Sun C Compiler?
> 
> Did y ucompile Apache with the same Sun C Compiler ?
> 
> Cause ièm not quite sure it is compatible.

Yes, they both have to be compiled with GCC... I have no access to the Sun C
compiler ATM, so I suggest building both with GCC (2.9x and 3.0 are both OK)

    Pier