From: ratheesh k <ratheesh.ksz@gmail.com>
To: linux-c-programming@vger.kernel.org
Subject: Multiple shared libraries.
Date: Thu, 14 Oct 2010 18:26:23 +0530 [thread overview]
Message-ID: <AANLkTim05jXryypVSyQYChuUK_Y3X8Mg63fSq-w7E+G_@mail.gmail.com> (raw)
I have 3 libraries , say A,B ,C .
C is first compiled as shared library with -fPic option.
B is using C. and is also compiled with -fPic option.
I buit library A. in A , there are calls to function implemented in
B. A is also built with -fPic option.
I coded an application say x. X is linked with library A
dynamically. X is called function in A. When i run the program , it
says "cant resolve symbols " for those functions in C .
i tried linking X with A, B and C with no result . Any clue ?
reply other threads:[~2010-10-14 12:56 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=AANLkTim05jXryypVSyQYChuUK_Y3X8Mg63fSq-w7E+G_@mail.gmail.com \
--to=ratheesh.ksz@gmail.com \
--cc=linux-c-programming@vger.kernel.org \
/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 NNTP newsgroup(s).