You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by IOD <io...@bsdshell.dyndns.org> on 2002/11/26 19:09:58 UTC

[users@httpd] Error making apache

Hello all,

OS: Solaris 8
gcc version 3.1
apache verison 1.3.24
mod_dav version 1.0.3-1.3.6

First step, build mod_dav to be statically linked

./configure --with-apache=/home/admin/apache24/apache_1.3.24
make
make install

No errors or warnings.


Second step, build apache with mod_dav

 ./configure --prefix=/home/admin/apache24 \
--activate-module=src/modules/dav/libdav.a
make

Everything here looks fine until:

gcc -c  -I./os/unix -I./include   -DSOLARIS2=280 -DUSE_EXPAT
-I./lib/expat-lite -DNO_DL_NEEDED `./apaci` modules.c
gcc -c  -I./os/unix -I./include   -DSOLARIS2=280 -DUSE_EXPAT
-I./lib/expat-lite -DNO_DL_NEEDED `./apaci` buildmark.c
gcc  -DSOLARIS2=280 -DUSE_EXPAT -I./lib/expat-lite -DNO_DL_NEEDED
`./apaci`    \
      -o httpd buildmark.o modules.o  modules/dav/libdav.a
modules/standard/libstandard.a  main/libmain.a  ./os/unix/libos.a
ap/libap.a  lib/expat-lite/libexpat.a  -lsocket -lnsl -lpthread
Undefined                       first referenced
 symbol                             in file
ap_ctx_get                          modules/dav/libdav.a(dav_util.o)
ld: fatal: Symbol referencing errors. No output written to httpd
collect2: ld returned 1 exit status
*** Error code 1
make: Fatal error: Command failed for target `target_static'
Current working directory /home/admin/apache24/apache_1.3.24/src
*** Error code 1
make: Fatal error: Command failed for target `build-std'
Current working directory /home/admin/apache24/apache_1.3.24
*** Error code 1
make: Fatal error: Command failed for target `build'


>From all the searching I have done on this kind of error there seems to be
a common theme of changing some of the attributes in src/Makefile for
things like:

EXTRA_LDFLAGS=
EXTRA_LIBS=
EXTRA_INCLUDES=
EXTRA_DEPS=


Any ideas as to what might help me here?
Thanks in advance for your help.

IOD


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org