[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: 2.2.7a: unresolved external symbol _lt_libltdlc_LTX_preloaded_symbol
From: |
Akim Demaille |
Subject: |
Re: 2.2.7a: unresolved external symbol _lt_libltdlc_LTX_preloaded_symbols |
Date: |
Thu, 27 Nov 2008 15:48:25 +0100 |
Le 26 nov. 08 à 07:36, Ralf Wildenhues a écrit :
Report back if there are still problems.
Well, I'm trying to have the libtool test suite pass on this platform
(ie., GNU/Linux running VC++ on top of Wine). There are a number of
things that don't work cleanly, and maybe we should go step by step.
I need the changes Paolo posted.
First of all, it is my understanding (from what told my Matthieu) that
VC++ will not make dynamic libraries (*.lib) in addition to dlopen-
modules (*.dll) unless there are dllexport requests. And the test
suite does not seem to do that, which results in total failure. The
following patch in the test suite fixes this. I am surprised that
this issue was not reported before, did I miss something?
The test (make -C mdemo) fails a bit farther anyway:
/bin/sh ./libtool --tag=CC --mode=link cl.exe -g -no-undefined -
module -export-symbols-regex "libfoo2.*" -o libfoo2.la -rpath /tmp/
libtool-2.2.7a/_inst/lib foo2.lo libsub.la
libtool: link: link -dump -symbols .libs/foo2.obj | | /bin/sed
's/.* //' | sort | uniq > .libs/libfoo2.exp
./libtool: eval: line 967: syntax error near unexpected token `|'
./libtool: eval: line 967: `link -dump -symbols .libs/foo2.obj |
| /bin/sed 's/.* //' | sort | uniq > .libs/libfoo2.exp'
gmake: *** [libfoo2.la] Error 1
That's because I have:
# Take the output of nm and produce a listing of raw symbols and C
names.
global_symbol_pipe=""
# Transform the output of nm in a proper C declaration.
global_symbol_to_cdecl=""
[...]
# The commands to list exported symbols.
export_symbols_cmds="\$NM \$libobjs \$convenience | \
$global_symbol_pipe | \$SED 's/.* //' | sort | uniq > \$export_symbols"
I suppose this is computed at configure time. A check that the value
is sensible before continuing would probably help here. Will try to
track this down later.
Cheers!
(this is master)
- 2.2.7a: unresolved external symbol _lt_libltdlc_LTX_preloaded_symbols, Akim Demaille, 2008/11/25
- Re: 2.2.7a: unresolved external symbol _lt_libltdlc_LTX_preloaded_symbols, Roumen Petrov, 2008/11/25
- Re: 2.2.7a: unresolved external symbol _lt_libltdlc_LTX_preloaded_symbols, Ralf Wildenhues, 2008/11/26
- Re: 2.2.7a: unresolved external symbol _lt_libltdlc_LTX_preloaded_symbols, Akim Demaille, 2008/11/26
- Re: 2.2.7a: unresolved external symbol _lt_libltdlc_LTX_preloaded_symbols,
Akim Demaille <=
- Re: 2.2.7a: unresolved external symbol _lt_libltdlc_LTX_preloaded_symbols, Ralf Wildenhues, 2008/11/27
- Re: 2.2.7a: unresolved external symbol _lt_libltdlc_LTX_preloaded_symbols, Peter Rosin, 2008/11/27
- Re: 2.2.7a: unresolved external symbol _lt_libltdlc_LTX_preloaded_symbols, Matthieu Nottale, 2008/11/27
- Re: 2.2.7a: unresolved external symbol _lt_libltdlc_LTX_preloaded_symbols, Peter Rosin, 2008/11/27
- Re: 2.2.7a: unresolved external symbol _lt_libltdlc_LTX_preloaded_symbols, Roumen Petrov, 2008/11/27
- Re: 2.2.7a: unresolved external symbol _lt_libltdlc_LTX_preloaded_symbols, Peter Rosin, 2008/11/27
- Re: 2.2.7a: unresolved external symbol _lt_libltdlc_LTX_preloaded_symbols, Bob Friesenhahn, 2008/11/28
- Re: 2.2.7a: unresolved external symbol _lt_libltdlc_LTX_preloaded_symbols, Paolo Bonzini, 2008/11/28
- Re: 2.2.7a: unresolved external symbol _lt_libltdlc_LTX_preloaded_symbols, Bob Friesenhahn, 2008/11/28
- Re: 2.2.7a: unresolved external symbol _lt_libltdlc_LTX_preloaded_symbols, Roumen Petrov, 2008/11/28