From: Janis Johnson <janis187@us.ibm.com>
To: sami ozen <sami@provus.ro>
Cc: gcc@gcc.gnu.org
Subject: Re: undefined symbol
Date: Wed, 06 Aug 2003 18:53:00 -0000 [thread overview]
Message-ID: <20030806095835.A1869@us.ibm.com> (raw)
In-Reply-To: <075601c35beb$8028b720$8700a8c0@sami>; from sami@provus.ro on Wed, Aug 06, 2003 at 10:22:31AM +0300
On Wed, Aug 06, 2003 at 10:22:31AM +0300, sami ozen wrote:
>
> I am using some 3rd party libraries, and while using these libs i got a
> linker error.
It's likely that the name mangling used by the C++ compiler that built
that library is different from the name mangling used by the version of
G++ you're using, so the function names that the linker sees are
different. Name mangling is just one of many differences between
the object code generated by different C++ compilers. You can't link
together C++ object files (including libraries) unless they were built
by the same compiler or by compilers that follow the same application
binary interface (ABI) for C++.
See http://gcc.gnu.org/onlinedocs/gcc/Compatibility.html#Compatibility
for some general information about issues that affect interoperability
of C++ compilers.
Janis
next prev parent reply other threads:[~2003-08-06 16:58 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-08-06 7:53 sami ozen
2003-08-06 18:53 ` Janis Johnson [this message]
2003-08-06 19:11 ` sami ozen
-- strict thread matches above, loose matches on Subject: below --
2003-08-06 7:42 sami ozen
1998-10-21 22:10 Ulrich Czekalla
1998-10-26 2:13 ` Alexandre Oliva
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20030806095835.A1869@us.ibm.com \
--to=janis187@us.ibm.com \
--cc=gcc@gcc.gnu.org \
--cc=sami@provus.ro \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).