From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.redhat.com (mail.redhat.com [199.183.24.239]) by listman.redhat.com (Postfix) with ESMTP id 6CB142EFA0 for ; Wed, 2 May 2001 22:30:13 -0400 (EDT) Received: (from mail@localhost) by mail.redhat.com (8.11.0/8.8.7) id f432RGV05595 for axp-list@listman.redhat.com; Wed, 2 May 2001 22:27:16 -0400 Received: from w110.web2010.com (root@w110.web2010.com [216.157.57.254]) by mail.redhat.com (8.11.0/8.8.7) with ESMTP id f432RFb05591 for ; Wed, 2 May 2001 22:27:15 -0400 Received: from jtcsv.com (ss06.co.us.ibm.com [32.97.110.71]) by w110.web2010.com (8.9.3/8.9.0) with ESMTP id WAA21655 for ; Wed, 2 May 2001 22:29:55 -0400 (EDT) Message-ID: <3AF0C03E.A4033068@jtcsv.com> Date: Wed, 02 May 2001 19:19:42 -0700 From: Ram Viswanadha X-Mailer: Mozilla 4.5 [en] (WinNT; U) X-Accept-Language: en,zh,zh-TW,af,zh-CN,ja MIME-Version: 1.0 To: axp-list@redhat.com Subject: Re: help decript nm output. References: <3AEF7BC5.D7E60C92@jtcsv.com> <20010501213813.A18631@ellpspace.math.ualberta.ca> <3AEF8236.CC5EAA59@jtcsv.com> <20010502083353.H24679@taarna.sector7.com> Content-Type: multipart/mixed; boundary="------------C6289B33AFB22B6A6D24007F" X-Loop: axp-list@redhat.com Sender: axp-list-admin@redhat.com Errors-To: axp-list-admin@redhat.com X-BeenThere: axp-list@redhat.com X-Mailman-Version: 2.0.1 Precedence: bulk Reply-To: axp-list@redhat.com List-Help: List-Post: List-Subscribe: , List-Id: Linux and Red Hat on Alpha processors List-Unsubscribe: , List-Archive: This is a multi-part message in MIME format. --------------C6289B33AFB22B6A6D24007F Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Thanks guys, That was it! Signed char and char made all the difference. My data types were defined incorrectly when using CXX. Now I can build the libraries and run the tests which seg fault half way through, that is expected though (floating point exception, since I havent compiled with -ieee option). I still have problems with -ieee and am trying get that squared away. Regards, Ram "Chris Eleveld (Sector 7 Group)" wrote: > 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 > > _______________________________________________ > Axp-list mailing list > Axp-list@redhat.com > https://listman.redhat.com/mailman/listinfo/axp-list --------------C6289B33AFB22B6A6D24007F Content-Type: text/x-vcard; charset=us-ascii; name="ram.vcf" Content-Transfer-Encoding: 7bit Content-Description: Card for Ram Viswanadha Content-Disposition: attachment; filename="ram.vcf" begin:vcard n:Viswanadha;Ram x-mozilla-html:FALSE org:IBM;International Components for Unicode adr:;;;;;; version:2.1 email;internet:ram@jtcsv.com title:Unicode Software Engineer end:vcard --------------C6289B33AFB22B6A6D24007F--