link error
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.
Hello yyy,
Quoted 9 lines · On Fri, 06 Jul 2007 14:53:58 +0800 yyy <[email protected]> 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.oany 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,
Signature · 1 line
wwp
Quoted 9 lines
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.oany one has any advice, i'm appreciate.
Sure, ask a fortuneteller.
Alternatively post your code here.
Leslie