[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
nm prints warnings when processing stripped shared libraries
From: |
Martin Waitz |
Subject: |
nm prints warnings when processing stripped shared libraries |
Date: |
Thu, 9 Dec 2004 15:30:10 +0100 |
User-agent: |
Mutt/1.5.6+20040722i |
hoi :)
libtool uses nm to extract symbols from libraries:
for arg in $dlprefiles; do
$show "extracting global C symbols from \`$arg'"
name=`$echo "$arg" | ${SED} -e 's%^.*/%%'`
$run eval '$echo ": $name " >> "$nlist"'
$run eval "$NM $arg | $global_symbol_pipe >> '$nlist'"
done
If such a library is stripped (as is the case for all installed
libraries on this Debian system here), then nm complains that it
cannot find any symbols.
This is not bad per se, but very annoying when used with make -s and
libtool --silent as it prints a lot of false error messages.
Could libtool please redirect nm stderr to /dev/null or take other
actions to suppress the warning.
Or perhaps use objdump which uses stdout to print 'no symbols'.
--
Martin Waitz
signature.asc
Description: Digital signature
- nm prints warnings when processing stripped shared libraries,
Martin Waitz <=