httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jean-frederic clere <jfrederic.cl...@fujitsu-siemens.com>
Subject shlibtool problems in apache2.0
Date Mon, 05 Feb 2001 17:06:24 GMT
Hi all,


I have tried to arrange the config.m4 of mod_dav, but I am not able to
link.
shlibtool handles a different way the mod_dav_fs.lo file than the other
files.

Looking to libtool documentation and configure have not help me. Could
someone help?

The problem is that mod_dav_fs.lo is compiled correctly:
+++
gcc -I. -I/home2/apache20/apache/httpd-2.0/modules/dav/fs
-I/home2/apache20/apache/httpd-2.0/server/mpm/mpmt_pthread
-I/home2/apache20/apache/httpd-2.0/include
-I/home2/apache20/apache/httpd-2.0/srclib/apr/include
-I/home2/apache20/apache/httpd-2.0/srclib/apr-util/include
-I/home2/apache20/apache/httpd-2.0/os/unix
-I/home2/apache20/apache/httpd-2.0/srclib/expat-lite -D_REENTRANT -g -O2
-I../main -pthread -DNO_DBM_REWRITEMAP -pthread -c mod_dav_fs.c  -fPIC
-DPIC -o mod_dav_fs.lo
+++

But not the next files (for example dbm.c):
+++
gcc -I. -I/home2/apache20/apache/httpd-2.0/modules/dav/fs
-I/home2/apache20/apache/httpd-2.0/server/mpm/mpmt_pthread
-I/home2/apache20/apache/httpd-2.0/include
-I/home2/apache20/apache/httpd-2.0/srclib/apr/include
-I/home2/apache20/apache/httpd-2.0/srclib/apr-util/include
-I/home2/apache20/apache/httpd-2.0/os/unix
-I/home2/apache20/apache/httpd-2.0/srclib/expat-lite -D_REENTRANT -g -O2
-I../main -pthread -DNO_DBM_REWRITEMAP -pthread -c dbm.c -o dbm.o
echo timestamp >
dbm.lo                                                                  
+++

Why the hell shlibtool changes the  way it compiles the files - Doing it
differently for the first one?


Cheers


Jean-frederic                                                

Note:

The modules/dav/fs does not compile but just adding CFLAGS="$CFLAGS
-I../main" in config.m4 fixes this problem.

Mime
View raw message