bug-libtool
[Top][All Lists]
Advanced

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

Re: libtool-2.2.6a breaks build of guile-1.8.5, libtool-1.5.26 is OK


From: Sergei Steshenko
Subject: Re: libtool-2.2.6a breaks build of guile-1.8.5, libtool-1.5.26 is OK
Date: Mon, 10 Nov 2008 08:31:17 -0800 (PST)

Well, again, the error message is:

"
guile-guile.o: In function `main':
/mnt/sdb8/sergei/AFSWD_debug/build/guile-1.8.5/libguile/guile.c:72: undefined 
reference to `lt__PROGRAM__LTX_preloaded_symbols'
"

and the corresponding piece of source file is:

     66 int
     67 main (int argc, char **argv)
     68 {
     69 #if !defined (__MINGW32__)
     70   /* libtool automagically inserts this variable into your 
executable... */
     71   extern const lt_dlsymlist lt_preloaded_symbols[];
     72   lt_dlpreload_default (lt_preloaded_symbols);
     73 #endif
.

The interesting fact is that 'libtool-2.2.6a', but _not_ libtool-1.5.26,
redefines 'lt_preloaded_symbols' this way in

install/libtool-2.2.6a/include/ltdl.h

file:
    104 #define lt_preloaded_symbols    lt__PROGRAM__LTX_preloaded_symbols
    105 #define LTDL_SET_PRELOADED_SYMBOLS()                    LT_STMT_START{  
\
    106         extern const lt_dlsymlist lt_preloaded_symbols[];               
\
    107         lt_dlpreload_default(lt_preloaded_symbols);                     
\
    108                                                         }LT_STMT_END
.

So to me it looks like this introduced in libtool-2.2.6a

    104 #define lt_preloaded_symbols    lt__PROGRAM__LTX_preloaded_symbols

line breaks the build.

Any highlights/clarifications on this ?

Thanks,
  Sergei.






      




reply via email to

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