Nick Hudson <[EMAIL PROTECTED]> writes:
> OK. I am now seeing the same thing and the reason is that the configure
> stuff for libltdl doesn't expect dlopen to exist in libc - it is
> expecting it in libdl or libsvld. Parts of the configure output are
> below..

The simple fix below (relative to cvs libtool) seems to fix the
problem for me.

/assar

2001-09-13  Assar Westerlund  <[EMAIL PROTECTED]>

        * ltdl.m4 (AC_LTDL_DLLIB): call dlopen with arguments so the test
        does not fail due to a prototype in dlfcn.h

Index: ltdl.m4
===================================================================
RCS file: /home/cvs/libtool/ltdl.m4,v
retrieving revision 1.34
diff -u -w -r1.34 ltdl.m4
--- ltdl.m4     2001/09/03 03:26:55     1.34
+++ ltdl.m4     2001/09/13 06:07:01
@@ -257,7 +257,7 @@
 #  include <dlfcn.h>
 #endif
     ],
-    [dlopen();],
+    [dlopen(0, 0);],
     [AC_DEFINE(HAVE_LIBDL, 1,
       [Define if you have the libdl library or equivalent.])],
     [AC_CHECK_LIB(svld, dlopen,

_______________________________________________
Libtool mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/libtool

Reply via email to