[Top][All Lists]

[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: 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, 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 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.

  ())_.  Gary V. Vaughan    gary@(|
  ( '/   Research Scientist       ,_())____
  / )=   GNU Hacker  \'      `&
`(_~)_   Tech' Author   =`---d__/

reply via email to

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