libtool
[Top][All Lists]
Advanced

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

Re: Spurious warning from libtool when -dlopen self is used, no @PROGRAM


From: Gary V. Vaughan
Subject: Re: Spurious warning from libtool when -dlopen self is used, no @PROGRAM@ symbols in final binary
Date: Thu, 23 Oct 2003 13:43:28 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5) Gecko/20030925 Thunderbird/0.3

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__/





reply via email to

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