Hello Steve, please do not top-post, thank you.
* Steven Wu wrote on Sun, Apr 13, 2008 at 06:20:10PM CEST: > On Apr 13, 2008, at 1:14 AM, Ralf Wildenhues wrote: >> * Steven Wu wrote on Sun, Apr 13, 2008 at 07:34:13AM CEST: >>> | >>> | (cd .libs && gcc -g -O2 -c -fno-builtin "guileS.c") >>> | rm -f .libs/guileS.c .libs/guile.nm .libs/guile.nmS .libs/guile.nmT >>> | gcc -D_THREAD_SAFE -g -O2 -Wall -Wmissing-prototypes -Werror >>> | .libs/guileS.o -D_THREAD_SAFE -o .libs/guile guile-guile.o >>> | ./.libs/libguile.dylib -lintl -lgmp -lm -lltdl >>> | Undefined symbols: >>> | "_lt__PROGRAM__LTX_preloaded_symbols", referenced from: >>> | _lt__PROGRAM__LTX_preloaded_symbols$non_lazy_ptr in guile-guile.o >> >> Can you show the output of >> nm -p .libs/guileS.o >> >> please? It should define _lt__PROGRAM__LTX_preloaded_symbols. > It was _lt__PROGRAM__LTX_preloaded_symbols, however, in libltdl.a, it > was _lt_libltdl_LTX_preloaded_symbols. That is why I changed the name in > ltdl.h. It seems we are speaking past each other. This is how things are intended to be with Libtool 2.2.x: - libltdl.a defines _lt_libltdl_LTX_preloaded_symbols - for building program "foo" the generated file .libs/fooS.o defines _lt__PROGRAM__LTX_preloaded_symbols. In your case, foo is guile, and thus please go into the build tree, enter the directory in which guile is built, then do nm -p .libs/guileS.o and post its output. > here: > $ nm libltdlS.o > U _dlopen_LTX_get_vtable > 000002c0 S _lt_libltdl_LTX_preloaded_symbols Yes, but that is not what I asked for. Cheers, Ralf _______________________________________________ http://lists.gnu.org/mailman/listinfo/libtool
