Kevin P. Fleming wrote:
Makefile.am contains:

bin_PROGRAMS = src/nALFS
src_nalfs_LDFLAGS = -dlopen self

When configure is given --enable-static --disable-shared, the link of src/nALFS produces this warning:

./libtool: line 1: src/.libs/src/nALFS.exp: No such file or directory

This comes from line 4296 of the CVS ltmain.in, because there is no "src" directory inside src/.libs. The result is that the program symbols from src/nALFS are not in the preloaded_symbols list because the .exp file is never generated.

Somehow libtool needs to translate "src/nALFS" into a usable filename, not a full path, before trying to create the .exp file with the symbols list. I don't have enough of a clue about the innards of libtool to figure out a patch, hopefully someone else with more knowledge can figure this one out.

Libtool doesn't yet officially support single Makefile.am over multiple directories... that is I don't have any such projects to test it with. Remind me of this after 1.6, and I'll start work on it.


Cheers,
        Gary.
--
  ())_.  Gary V. Vaughan    gary@(lilith.warpmail.net|gnu.org)
  ( '/   Research Scientist http://www.oranda.demon.co.uk       ,_())____
  / )=   GNU Hacker         http://www.gnu.org/software/libtool  \'      `&
`(_~)_   Tech' Author       http://sources.redhat.com/autobook   =`---d__/



_______________________________________________
Libtool mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/libtool

Reply via email to