libtool
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: make check failures


From: Assar Westerlund
Subject: Re: make check failures
Date: 13 Sep 2001 08:07:48 +0200
User-agent: Gnus/5.070098 (Pterodactyl Gnus v0.98) Emacs/20.6

Nick Hudson <address@hidden> 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  <address@hidden>

        * 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,



reply via email to

[Prev in Thread] Current Thread [Next in Thread]