On Thu, Jan 15, 2004 at 05:19:34PM +0000, Joe Orton wrote:
> On Thu, Jan 15, 2004 at 05:16:35PM +0000, Patrick Welche wrote:
> > libtool: link: libtool library `mod_authn_file.la' must begin with `lib'
> 
> Yeah, you have to switch to using static convenience libraries...  Can
> you try the attached patch (requires a full re-./buildconf etc)?

One good thing is that the .a files in modules/*/.libs aren't empty. Now
I get (libtool .. --mode=link .. -o httpd .. -export-dynamic .. libauthn_file.la .. )

modules.o(.data+0x0): undefined reference to `core_module'
modules.o(.data+0x34): undefined reference to `mpm_prefork_module'
modules.o(.data+0x80): undefined reference to `core_module'
modules.o(.data+0xb4): undefined reference to `mpm_prefork_module'
modules/aaa/.libs/libauthn_file.a(mod_authn_file.o)(.text+0xc8): In function 
`check_password':
/usr/src/local/httpd-2.0/modules/aaa/mod_authn_file.c:129: undefined reference to 
`ap_pcfg_openfile'
modules/aaa/.libs/libauthn_file.a(mod_authn_file.o)(.text+0xee):/usr/src/local/httpd-2.0/modules/aaa/mod_authn_file.c:137:
 undefined reference to `ap_cfg_getline
'
modules/aaa/.libs/libauthn_file.a(mod_authn_file.o)(.text+0x11a):/usr/src/local/httpd-2.0/modules/aaa/mod_authn_file.c:146:
 undefined reference to `ap_getword' 


I also had a bit of buildconf fun, and repeated your patch - this bit is
even stranger than in apr though, as even a sed isn't needed..

Cheers,

Patrick
Index: buildconf.sh
===================================================================
RCS file: /home/cvspublic/apr-util/xml/expat/buildconf.sh,v
retrieving revision 1.11
diff -u -r1.11 buildconf.sh
--- buildconf.sh        17 Jun 2003 20:51:47 -0000      1.11
+++ buildconf.sh        15 Jan 2004 18:13:02 -0000
@@ -8,8 +8,12 @@
     echo "libtoolize not found in path"
     exit 1
 fi
-ltpath=`dirname $libtoolize`
-ltfile=${LIBTOOL_M4-`cd $ltpath/../share/aclocal ; pwd`/libtool.m4}
+if [ -f libtool.m4 ]; then 
+   ltfile=`pwd`/libtool.m4
+else
+  ltpath=`dirname $libtoolize`
+  ltfile=${LIBTOOL_M4-`cd $ltpath/../share/aclocal ; pwd`/libtool.m4}
+fi
 echo "Incorporating $ltfile into aclocal.m4 ..."
 echo "dnl THIS FILE IS AUTOMATICALLY GENERATED BY buildconf.sh" > aclocal.m4
 echo "dnl edits here will be lost" >> aclocal.m4

Reply via email to