Re: Difference in mangling
From: Barry Margolin (barry.margolin_at_level3.com)
Date: 07/29/03
- Next message: Barry Margolin: "Re: Problem with the find command"
- Previous message: Barry Margolin: "Re: Socket, whiteout, FIFO, what's the meaning?"
- In reply to: lomat: "Difference in mangling"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Tue, 29 Jul 2003 14:35:50 GMT
In article <bg5ulc$l8v4q$1@ID-197517.news.uni-berlin.de>,
lomat <atambe@ideas.com> wrote:
>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?
In general you can't link object files that were compiled with different
C++ compilers. The layout of classes and the calling sequence of member
functions is likely to be different. The different mangling is on purpose,
to prevent you from accidentally linking together incompatible code.
-- Barry Margolin, barry.margolin@level3.com Level(3), Woburn, MA *** DON'T SEND TECHNICAL QUESTIONS DIRECTLY TO ME, post them to newsgroups. Please DON'T copy followups to me -- I'll assume it wasn't posted to the group.
- Next message: Barry Margolin: "Re: Problem with the find command"
- Previous message: Barry Margolin: "Re: Socket, whiteout, FIFO, what's the meaning?"
- In reply to: lomat: "Difference in mangling"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|