bug-libtool
[Top][All Lists]
Advanced

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

Re: 2.2.6: libltdlcS.c:22: error: 'lt_ptr' undeclared here (not in a


From: Akim Demaille
Subject: Re: 2.2.6: libltdlcS.c:22: error: 'lt_ptr' undeclared here (not in a function)
Date: Mon, 17 Nov 2008 21:54:55 +0100


Le 17 nov. 08 à 21:38, Akim Demaille a écrit :


Le 17 nov. 08 à 20:03, Ralf Wildenhues a écrit :

Hi Akim,

* Akim Demaille wrote on Mon, Nov 17, 2008 at 04:19:42PM CET:

I'm using Libtool 2.2.6 with a convenience libltdl in libltdl.  I'm
under the OSX.

Is that the Libtool package, or inside a different package?
There is some mismatch of versions going on, 2.2.x does not use lt_ptr.
Please post './libtool --config' output.

Actually, grepping inside my original 2.2.6 tarball does find quite a few lt_ptr (and not only in the changelog). It appears mainly in various aclocal.m4, including the main one.

<traces.txt>

I might be wrong, but at first sight, it looks like the aclocal.m4 shipped with 2.2.6a is containing code that belongs to older Libtools. For instance, it is funny to note that it contains the following:

# libtool.m4 - Configure libtool for the host system. -*-Autoconf-*-

# serial 52 AC_PROG_LIBTOOL


# AC_PROVIDE_IFELSE(MACRO-NAME, IF-PROVIDED, IF-NOT-PROVIDED)
# -----------------------------------------------------------
# If this macro is not defined by Autoconf, define it here.
m4_ifdef([AC_PROVIDE_IFELSE],
         [],
         [m4_define([AC_PROVIDE_IFELSE],
                 [m4_ifdef([AC_PROVIDE_$1],
                           [$2], [$3])])])


# AC_PROG_LIBTOOL

since, at first sight, it is the very same aclocal.m4 that is installed with libltdl, it gets installed in my package.

I have tried to run ./bootstrap to see if it would change something, but apparently aclocal.m4 really wants to get these macros.

Attachment: aclocal-traces.txt
Description: Text document



reply via email to

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