libtool
[Top][All Lists]
Advanced

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

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


From: Kevin P. Fleming
Subject: Spurious warning from libtool when -dlopen self is used, no @PROGRAM@ symbols in final binary
Date: Wed, 22 Oct 2003 08:32:10 -0700
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5) Gecko/20030925

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.





reply via email to

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