This is what I usually use to build apache:

# ./configure --prefix=/usr/local/apache \
              --enable-module=most \
              --enable-shared=max

# make
# make install

Try and see if you still get errors.
Were you able to build apache before you tried shared_core?

--
Mike Braden
[EMAIL PROTECTED]


-----Original Message-----
From: Craig Bush [mailto:[EMAIL PROTECTED]]
Sent: Thursday, March 01, 2001 4:06 PM
To: [EMAIL PROTECTED]
Subject: Error building DSO support with Apache



Hey guys.... this indirectly is a Tomcat question

SGI Octane II running IRIX 6.5.10 dual 400 MHz processor 1 Gig RAM

Used 

./configure \
--prefix=/usr/local/apache \
--enable-rule=SHARED_CORE \
--enable-module=so

with no problems.  

However, when I run make (GNU make) I get:

============================================================================
=================
<=== src/modules/standard
<=== src/modules
gcc -c  -I./os/unix -I./include   -DIRIX -DUSE_HSREGEX -DUSE_EXPAT
-I./lib/expat-lite -fpic -DSHARED_CORE `./apaci` modules.c
gcc -c  -I./os/unix -I./include   -DIRIX -DUSE_HSREGEX -DUSE_EXPAT
-I./lib/expat-lite -fpic -DSHARED_CORE `./apaci` buildmark.c
ld -shared -o libhttpd.so buildmark.o modules.o
modules/standard/libstandard.a main/libmain.a ./os/unix/libos.a
ap/libap.a regex/libregex.a lib/expat-lite/libexpat.a  
ln libhttpd.so libhttpd.so.1
ln libhttpd.so libhttpd.so.1.3
ln libhttpd.so libhttpd.so.1.3.19
gcc  -I./os/unix -I./include   -DIRIX -DUSE_HSREGEX -DUSE_EXPAT
-I./lib/expat-lite -fpic -DSHARED_CORE `./apaci`    \
      -o libhttpd.ep -DSHARED_CORE_TIESTATIC main/http_main.c \
          -L. -lhttpd  
ld32: WARNING 84 : ./libhttpd.so is not used for resolving any symbol.
ld32: ERROR   33 : Unresolved text symbol "ap_main" -- 1st referenced by
/var/tmp/ccUOZ2Fd.o.
        Use linker option -v to see when and which objects, archives and
dsos are loaded.  
ld32: ERROR   33 : Unresolved text symbol "ap_validate_password" -- 1st
referenced by /var/tmp/ccUOZ2Fd.o.
        Use linker option -v to see when and which objects, archives and
dsos are loaded.  
ld32: ERROR   33 : Unresolved text symbol "XML_ErrorString" -- 1st
referenced by /var/tmp/ccUOZ2Fd.o.
        Use linker option -v to see when and which objects, archives and
dsos are loaded.  
ld32: INFO    152: Output file removed because of error.
collect2: ld returned 2 exit status
make[2]: *** [libhttpd.ep] Error 1
make[2]: Leaving directory `/usr/local/apache_1.3.19/src'
make[1]: *** [build-std] Error 2
make[1]: Leaving directory `/usr/local/apache_1.3.19'
make: *** [build] Error 2

============================================================================
================

Any ideas?

Thanks,
-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
  Craig R. Bush
  Bioinformatics Software Engineer
  Sealy Center for Structural Biology
  Dept. of Human Biological Chemistry & Genetics
  University of Texas Medical Branch
  Galveston, TX  77555-1157 (409)747-6809; Fax -6850
  http://www.bioinfo.utmb.edu http://www.hbcg.utmb.edu
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to