Hi all,

I've been trying to get my Apache 2.0.35 & Tomcat 4.0.3 up and running (on
solaris 2.7).  Apache works great, and tomcat works great as well.  But now
I try to use the mod_webapp.so file that came with apache 2.0.35, and I get
the

undefined symbol: ap_pstrdup

So I read in a couple of archives to just try and compile the mod_webapp
from the source, since ap_pstrdup is now apr_pstrdup.  no problem, I go get
the jakarta-tomcat-connectors-4.0.4-b2-src.tar.gz and go ahead and start
compiling.

I get to the end, and everything is successful.  No errors, no compilations
issues.  What I don't get is a mod_webapp.so.   (file listing at the end)

I look at my Makefile in the apache-2.0, and the only target it has is the
mod_webapp.la.  Now I'm lost.  I don't think I can do a LoadModule
webapp_module libexec/mod_webapp.la, so I'm trying to figure out what I have
done wrong.  (I tried this about a week ago, and get errors in apachectl
configtest)  I have this funny feeling I'm just missing a stupid little
detail, but I can't for the life of me figure it out.

The libtool is version 1.4.2
gcc is 2.95.2

Any ideas on how to get a mod_webapp.so?  Any help is appreciated.  (file
listing and Makefile below)

Thanks in advance
Joshua Chen


i.e.
---------------------
{/src/jakarta-tomcat-connectors-4.0.4-b2-src/webapp/apache-2.0} ls -al
total 374
drwxr-xr-x   3 root     root         512 Apr 17 19:11 .
drwxr-xr-x  11 root     root        1024 Apr 17 19:11 ..
drwxr-xr-x   2 root     other        512 Apr 17 19:11 .libs
-rw-r--r--   1 root     other       5154 Apr 17 19:11 Makefile
-rw-r--r--   1 root     root        5092 Mar 24 00:09 Makefile.in
-rw-r--r--   1 root     root       20534 Mar 24 00:09 mod_webapp.c
-rw-r--r--   1 root     other        784 Apr 17 19:11 mod_webapp.la
-rw-r--r--   1 root     other      77348 Apr 17 19:11 mod_webapp.lo
-rw-r--r--   1 root     other      76116 Apr 17 19:11 mod_webapp.o
-rw-r--r--   1 root     other          0 Apr 17 19:11 mod_webapp.slo
---------------------


---------------------------
include /src/jakarta-tomcat-connectors-4.0.4-b2-src/webapp/Makedefs

APXS =               /usr/local/apache/bin/apxs

MODULE = mod_webapp.la

all: $(MODULE)
build: $(MODULE)

mod_webapp.la: mod_webapp.c
        @$(ECHO) Compiling and Linking Apache 2.0 WebApp Module
        $(APXS) -I../include -c -L ../lib -lwebapp mod_webapp.c

install: mod_webapp.la
        $(APXS) -i mod_webapp.la

clean:
        @for ENTRY in *.o *.lo $(MODULE) .libs ; \
        do \
                if $(TEST) -f $${ENTRY} ; \
                then \
                        $(ECHO) Removing file $${ENTRY} ; \
                        $(RM) -f $${ENTRY} ; \
                fi ; \
                if $(TEST) -d $${ENTRY} ; \
                then \
                        $(ECHO) Removing directory $${ENTRY} ; \
                        $(RM) -rf $${ENTRY} ; \
                fi ; \
        done
---------------------------


--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>

Reply via email to