Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: "Chris Eleveld (Sector 7 Group)" <chris@sector7.com>
To: axp-list@redhat.com
Subject: Re: help decript nm output.
Date: Wed, 2 May 2001 08:33:53 -0500	[thread overview]
Message-ID: <20010502083353.H24679@taarna.sector7.com> (raw)
In-Reply-To: <3AEF8236.CC5EAA59@jtcsv.com>; from Ram Viswanadha on Tue, May 01, 2001 at 08:42:46PM -0700

	Let me see if I cna be of assistance:
chris@tang [chris/] 15 13>c++filt -_ -s gnu
__7setComparer__7UVectorFPFPvT1_Sc
UVector::_7setComparer(signed char ( (*)(void *))
__7setComparer__7UVectorFPFPvT1_c
UVector::_7setComparer(char ( (*)(void *))

	My best guess is the signed in the first declaration is the result
of the S.


On Tue, May 01, 2001 at 08:42:46PM -0700, Ram Viswanadha wrote:
> Michal,
> lemme apologise for addressing you as Mike in my previous mail.
> 
> 
> Michal Jaegermann wrote:
> 
> > On Tue, May 01, 2001 at 08:15:17PM -0700, Ram Viswanadha wrote:
> > > Hi,
> > > Can anyone help me decipher this ?
> > > I am linking libicu18n.so with libicuuc.so, the error is that the linker
> > > finding  undefined symbols.
> > > nm's output is given below:
> > ....
> > > what is the difference here?
> > >
> > > [raghu@ganesh source]# nm common/libicuuc.so | grep setComparer
> > > 0000000000057708 T __7setComparer__7UVectorFPFPvT1_Sc
> >                                                     ^^^^
> > > [raghu@ganesh source]# nm i18n/libicui18n.so | grep setComparer
> > >                  U __7setComparer__7UVectorFPFPvT1_c
> >                                                     ^^^^
> >                                                  Here is one.
> > The first library provides one symbol and the second looks for another
> > one. A linker is behaving like expected.
> >
> > You are hacking, obviously, C++ and a symbol in C++ is not only a
> > "bare" name but it has all its signature (arguments and their types)
> > "mangled" into it.  Or, if you prefer, if you change how a function is
> > called then this is a different function.
> 
> Yes, I am aware of that but what I wanted to know was is there any document
> that describes what  "S" means...
> so that I can find out why my programs are not linking.
> 
> Regards
> 
> Ram
> 
> >
> >
> >   Michal
> >
> > _______________________________________________
> > Axp-list mailing list
> > Axp-list@redhat.com
> > https://listman.redhat.com/mailman/listinfo/axp-list

Content-Description: Card for Ram Viswanadha




  reply	other threads:[~2001-05-02 13:30 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-05-02  3:15 help decript nm output Ram Viswanadha
2001-05-02  3:31 ` T. Daniel Crawford
2001-05-02  3:39   ` Ram Viswanadha
2001-05-02 11:16     ` Richard Polton
2001-05-02  3:38 ` Michal Jaegermann
2001-05-02  3:42   ` Ram Viswanadha
2001-05-02 13:33     ` Chris Eleveld (Sector 7 Group) [this message]
2001-05-03  2:19       ` Ram Viswanadha
2001-05-02 13:36     ` Chris Eleveld (Sector 7 Group)
2001-05-02 15:05     ` Michal Jaegermann
2001-05-02 16:00       ` Christopher C. Chimelis
2001-05-02  5:11 ` Alan Young
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox