* link error
@ 2007-07-06 6:53 yyy
2007-07-06 6:55 ` wwp
2007-07-06 7:02 ` Leslie P. Polzer
0 siblings, 2 replies; 3+ messages in thread
From: yyy @ 2007-07-06 6:53 UTC (permalink / raw)
To: linux-c-programming
When i link .o file to a dynamic lib, errors appear,
My link sentence such as:
g++ -g -shared -fPIC -o xxx.so xxx.o xxxx.o ....
the error such as:
`.L303' referenced in section `.rodata' of xxx.o: defined in discarded
section `.gnu.linkonce.t._ZN3ALT9TVSPrintfIcEEiPT_PKS1_Pv' of xxx.o
any one has any advice, i'm appreciate.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: link error
2007-07-06 6:53 link error yyy
@ 2007-07-06 6:55 ` wwp
2007-07-06 7:02 ` Leslie P. Polzer
1 sibling, 0 replies; 3+ messages in thread
From: wwp @ 2007-07-06 6:55 UTC (permalink / raw)
To: linux-c-programming
[-- Attachment #1: Type: text/plain, Size: 567 bytes --]
Hello yyy,
On Fri, 06 Jul 2007 14:53:58 +0800 yyy <yaoyy@rising.com.cn> wrote:
> When i link .o file to a dynamic lib, errors appear,
> My link sentence such as:
> g++ -g -shared -fPIC -o xxx.so xxx.o xxxx.o ....
>
> the error such as:
> `.L303' referenced in section `.rodata' of xxx.o: defined in discarded
> section `.gnu.linkonce.t._ZN3ALT9TVSPrintfIcEEiPT_PKS1_Pv' of xxx.o
>
> any one has any advice, i'm appreciate.
Maybe that could help:
http://www.gentoo.org/proj/en/base/amd64/howtos/index.xml?part=1&chap=3
Regards,
--
wwp
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: link error
2007-07-06 6:53 link error yyy
2007-07-06 6:55 ` wwp
@ 2007-07-06 7:02 ` Leslie P. Polzer
1 sibling, 0 replies; 3+ messages in thread
From: Leslie P. Polzer @ 2007-07-06 7:02 UTC (permalink / raw)
To: yyy; +Cc: linux-c-programming
> When i link .o file to a dynamic lib, errors appear,
> My link sentence such as:
> g++ -g -shared -fPIC -o xxx.so xxx.o xxxx.o ....
>
> the error such as:
> `.L303' referenced in section `.rodata' of xxx.o: defined in discarded
> section `.gnu.linkonce.t._ZN3ALT9TVSPrintfIcEEiPT_PKS1_Pv' of xxx.o
>
> any one has any advice, i'm appreciate.
Sure, ask a fortuneteller.
Alternatively post your code here.
Leslie
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2007-07-06 7:02 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-07-06 6:53 link error yyy
2007-07-06 6:55 ` wwp
2007-07-06 7:02 ` Leslie P. Polzer
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).