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:[EMAIL PROTECTED]]
> Sent: Monday, October 15, 2001 7:50 PM
> To:   [EMAIL PROTECTED]
> Subject:      Re: Cannot load mod_webapp.so into server: __lshrdi3: reference symbol 
>not found
> 
> eq at [EMAIL PROTECTED] 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
+ make all

make[1]: Entering directory "lib"
make[1]: Invoking "make  build"
make[2]: Generating "pr_warp_defs.h"
cat: cannot open 
/opt/sfw/bin/gcc -g -O2   -g -O2 -DSOLARIS2=8 -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT  
 -I/export/home/tmp/mod_webapp/apr/include -I/export/home/tmp/mod_webapp/include -c 
"wa_main.c" -o "wa_main.o"
/opt/sfw/bin/gcc -g -O2   -g -O2 -DSOLARIS2=8 -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT  
 -I/export/home/tmp/mod_webapp/apr/include -I/export/home/tmp/mod_webapp/include -c 
"wa_config.c" -o "wa_config.o"
/opt/sfw/bin/gcc -g -O2   -g -O2 -DSOLARIS2=8 -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT  
 -I/export/home/tmp/mod_webapp/apr/include -I/export/home/tmp/mod_webapp/include -c 
"wa_request.c" -o "wa_request.o"
/opt/sfw/bin/gcc -g -O2   -g -O2 -DSOLARIS2=8 -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT  
 -I/export/home/tmp/mod_webapp/apr/include -I/export/home/tmp/mod_webapp/include -c 
"pr_info.c" -o "pr_info.o"
/opt/sfw/bin/gcc -g -O2   -g -O2 -DSOLARIS2=8 -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT  
 -I/export/home/tmp/mod_webapp/apr/include -I/export/home/tmp/mod_webapp/include -c 
"pr_warp.c" -o "pr_warp.o"
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)
pr_warp.c:303: `TYPE_REQ_AUTH' undeclared (first use in this function)
pr_warp.c:329: `TYPE_REQ_CLIENT' undeclared (first use in this function)
pr_warp.c:345: `TYPE_REQ_SERVER' undeclared (first use in this function)
pr_warp.c:359: `TYPE_REQ_PROCEED' undeclared (first use in this function)
pr_warp.c:372: `TYPE_RES_STATUS' undeclared (first use in this function)
pr_warp.c:380: `TYPE_RES_HEADER' undeclared (first use in this function)
pr_warp.c:391: `TYPE_RES_COMMIT' undeclared (first use in this function)
pr_warp.c:396: `TYPE_RES_BODY' undeclared (first use in this function)
pr_warp.c:403: `TYPE_RES_DONE' undeclared (first use in this function)
pr_warp.c:408: `TYPE_CBK_READ' undeclared (first use in this function)
pr_warp.c:416: `TYPE_CBK_DONE' undeclared (first use in this function)
pr_warp.c:418: `TYPE_CBK_DATA' undeclared (first use in this function)
pr_warp.c:421: `TYPE_ERROR' undeclared (first use in this function)
pr_warp.c:373: warning: unreachable code at beginning of switch statement
*** Error code 1
make: Fatal error: Command failed for target `pr_warp.o'
Current working directory /export/home/tmp/mod_webapp/lib
*** Error code 1

Reply via email to