[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: nm prints warnings when processing stripped shared libraries
From: |
Martin Waitz |
Subject: |
Re: nm prints warnings when processing stripped shared libraries |
Date: |
Fri, 10 Dec 2004 11:08:22 +0100 |
User-agent: |
Mutt/1.5.6+20040722i |
hoi :)
On Fri, Dec 10, 2004 at 10:22:07AM +0100, Ralf Wildenhues wrote:
> > 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.
>
> I presume this occurs because it works on deplibs of preloaded libs,
> right?
exactly.
> Index: config/ltmain.m4sh
> ===================================================================
> RCS file: /cvsroot/libtool/libtool/config/ltmain.m4sh,v
> retrieving revision 1.34
> diff -u -r1.34 ltmain.m4sh
> --- config/ltmain.m4sh 9 Dec 2004 17:59:15 -0000 1.34
> +++ config/ltmain.m4sh 10 Dec 2004 09:20:48 -0000
> @@ -818,7 +818,7 @@
> name="$func_basename_result"
> $opt_dry_run || {
> eval '$ECHO ": $name " >> "$nlist"'
> - eval "$NM $dlprefile | $global_symbol_pipe >> '$nlist'"
> + eval "$NM $dlprefile >/dev/null | $global_symbol_pipe >> '$nlist'"
that should be 2>/dev/null ^^
> }
> done
--
Martin Waitz
signature.asc
Description: Digital signature