Received: (at submit) by debbugs.gnu.org; 26 Jul 2012 15:23:02 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Jul 26 11:23:02 2012
Received: from localhost ([127.0.0.1]:41151 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.72)
(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
id 1SuPu0-0006Pa-UK
for submit <at> debbugs.gnu.org; Thu, 26 Jul 2012 11:23:01 -0400
Received: from eggs.gnu.org ([208.118.235.92]:44925)
by debbugs.gnu.org with esmtp (Exim 4.72)
(envelope-from <ttn@HIDDEN>) id 1SuO8p-0003ni-RT
for submit <at> debbugs.gnu.org; Thu, 26 Jul 2012 09:30:12 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
(envelope-from <ttn@HIDDEN>) id 1SuO27-0007aG-5g
for submit <at> debbugs.gnu.org; Thu, 26 Jul 2012 09:23:20 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level:
X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_HI
autolearn=unavailable version=3.3.2
Received: from lists.gnu.org ([208.118.235.17]:33325)
by eggs.gnu.org with esmtp (Exim 4.71)
(envelope-from <ttn@HIDDEN>) id 1SuO27-0007aC-2r
for submit <at> debbugs.gnu.org; Thu, 26 Jul 2012 09:23:15 -0400
Received: from eggs.gnu.org ([208.118.235.92]:37862)
by lists.gnu.org with esmtp (Exim 4.71)
(envelope-from <ttn@HIDDEN>) id 1SuO21-0003Iv-Ca
for bug-libtool@HIDDEN; Thu, 26 Jul 2012 09:23:15 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
(envelope-from <ttn@HIDDEN>) id 1SuO1r-0007XJ-T4
for bug-libtool@HIDDEN; Thu, 26 Jul 2012 09:23:09 -0400
Received: from smtp207.alice.it ([82.57.200.103]:35373)
by eggs.gnu.org with esmtp (Exim 4.71)
(envelope-from <ttn@HIDDEN>) id 1SuO1r-0007X2-Is
for bug-libtool@HIDDEN; Thu, 26 Jul 2012 09:22:59 -0400
Received: from zigzag.favinet (95.233.75.7) by smtp207.alice.it (8.6.023.02)
id 500F3F97006DE4FF for bug-libtool@HIDDEN;
Thu, 26 Jul 2012 15:22:57 +0200
Received: from ttn by zigzag.favinet with local (Exim 4.72)
(envelope-from <ttn@HIDDEN>) id 1SuN0Z-00039A-IV
for bug-libtool@HIDDEN; Thu, 26 Jul 2012 14:17:35 +0200
From: Thien-Thi Nguyen <ttn@HIDDEN>
To: bug-libtool@HIDDEN
Subject: LT_DLSYM_CONST not defined
Date: Thu, 26 Jul 2012 14:17:21 +0200
Message-ID: <87obn27m3y.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1 (gnu/linux)
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="=-=-=";
micalg=pgp-sha1; protocol="application/pgp-signature"
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
recognized.
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3)
X-Received-From: 208.118.235.17
X-Spam-Score: -6.9 (------)
X-Debbugs-Envelope-To: submit
X-Mailman-Approved-At: Thu, 26 Jul 2012 11:23:00 -0400
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Sender: debbugs-submit-bounces <at> debbugs.gnu.org
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
X-Spam-Score: -6.9 (------)
--=-=-=
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
Apparently, GNU Libtool 2.4 (2010-09-22) introduced =E2=80=98LT_DLSYM_CONST=
=E2=80=99
to ltdl.h, but that particular #define is requires "manual synching"
(according to this ltmain.sh excerpt):
/* -*- c -*- /
/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and te=
sts. */
#if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
/* DATA imports from DLLs on WIN32 con't be const, because runtime
relocations are performed -- see ld's documentation on pseudo-relocs. =
*/
# define LT_DLSYM_CONST
#elif defined(__osf__)
/* This system does not cope well with relocations in const data. */
# define LT_DLSYM_CONST
#else
# define LT_DLSYM_CONST const
#endif
In my code, i do:
/* -*- c -*- /
#include "libltdl/ltdl.h"
and this alone results in a "LT_DLSYM_CONST not defined" compilation
error. However, adding that excerpt immediately prior to the #include
allows the compilation to succeed. I presume what i've discovered is a
workaround at best and that there should be a better way to either avoid
this, or fully hide it from me (such that the plain old #include will be
sufficient, as before). What would that way be?
=2D-=20
Thien-Thi Nguyen GPG key: 4C807502
........... please send technical questions to mailing lists ...........
. .... .
. NB: ttn at glug dot org is not me .
. (and has not been since 2007 or so) .
. ACCEPT NO SUBSTITUTES :-D .
--=-=-=
Content-Type: application/pgp-signature
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
iEYEARECAAYFAlARNVUACgkQZwMiJEyAdQKZ/gCg5/rA64N3E85O5OlvVu3bX8F8
blwAoJWjD/DJEPTJa0wAH4NM4olSP8Qq
=Q7T+
-----END PGP SIGNATURE-----
--=-=-=--
Thien-Thi Nguyen <ttn@HIDDEN>:bug-libtool@HIDDEN.
Full text available.bug-libtool@HIDDEN:bug#12057; Package libtool.
Full text available.
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.