Difference in mangling
From: lomat (atambe_at_ideas.com)
Date: 07/29/03
- Next message: Lew Pitcher: "Re: Difference in mangling"
- Previous message: Eric Smith: "Re: setting file ownership and mode based on current directory"
- Next in thread: Lew Pitcher: "Re: Difference in mangling"
- Reply: Lew Pitcher: "Re: Difference in mangling"
- Reply: Barry Margolin: "Re: Difference in mangling"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Tue, 29 Jul 2003 19:40:11 +0530
Hello,
I am using VisiBroker 4.0 on RedHat 8.0 with GCC 3.2.
When I do a "nm liborb_r.so | grep _invoke", I get some output. The symbol
of my intrest is manged as below,
002f6270 T _preinvoke__12CORBA_ObjectPCc
Now when I build an app that links to liborb_r.so, and uses the _preinvoke
API, GCC mangles this symbol as follows,
U _ZN12CORBA_Object10_preinvokeEPKc
In short, (as mangling is compiler dependent) my compiler is mangling the
symbols in a way different from the compiler that was used to build the
library I am trying to link to. As a result I am getting an un-resolved
symbol error. How do I solve this?
Thanks in advance,
Loma
- Next message: Lew Pitcher: "Re: Difference in mangling"
- Previous message: Eric Smith: "Re: setting file ownership and mode based on current directory"
- Next in thread: Lew Pitcher: "Re: Difference in mangling"
- Reply: Lew Pitcher: "Re: Difference in mangling"
- Reply: Barry Margolin: "Re: Difference in mangling"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|