Connecting Tech Pros Worldwide Help | Site Map

Linker Message: "discarded section"

  #1  
Old July 23rd, 2005, 05:51 AM
Hartmut Sbosny
Guest
 
Posts: n/a
Hello,

I get the linker message

`.gnu.linkonce.t._ZN3TNT12CurveTntPlotIdE6handleEi ' referenced in section
`.rodata' of FollowCurveWindow.o: defined in discarded section
`.gnu.linkonce.t._ZN3TNT12CurveTntPlotIdE6handleEi ' of FollowCurveWindow.o

i.e. of the structur

`a' referenced in section `b' of file.o: defined in discarded section
`a' of file.o

What does it mean and what could be the reason for this?
(It is a warning message, the linker doesn't abbort.)

Thanks in advance
Hartmut
  #2  
Old July 23rd, 2005, 05:52 AM
Victor Bazarov
Guest
 
Posts: n/a

re: Linker Message: "discarded section"


Hartmut Sbosny wrote:[color=blue]
> I get the linker message
>
> `.gnu.linkonce.t._ZN3TNT12CurveTntPlotIdE6handleEi ' referenced in section
> `.rodata' of FollowCurveWindow.o: defined in discarded section
> `.gnu.linkonce.t._ZN3TNT12CurveTntPlotIdE6handleEi ' of FollowCurveWindow.o
>
> i.e. of the structur
>
> `a' referenced in section `b' of file.o: defined in discarded section
> `a' of file.o
>
> What does it mean and what could be the reason for this?[/color]

You should ask in a newsgroup where GNU linker is on topic. Try
gnu.g++.help or the forum for your OS.

V
  #3  
Old July 23rd, 2005, 05:53 AM
Hartmut Sbosny
Guest
 
Posts: n/a

re: Linker Message: "discarded section"


Victor Bazarov schrieb:
[color=blue]
> Hartmut Sbosny wrote:[color=green]
>> I get the linker message
>>
>> `.gnu.linkonce.t._ZN3TNT12CurveTntPlotIdE6handleEi ' referenced in
>> section `.rodata' of FollowCurveWindow.o: defined in discarded section
>> `.gnu.linkonce.t._ZN3TNT12CurveTntPlotIdE6handleEi ' of
>> FollowCurveWindow.o
>>
>> i.e. of the structur
>>
>> `a' referenced in section `b' of file.o: defined in discarded section
>> `a' of file.o
>>
>> What does it mean and what could be the reason for this?[/color]
>
> You should ask in a newsgroup where GNU linker is on topic. Try
> gnu.g++.help or the forum for your OS.[/color]

Ok, I will try it there.

Best Regards
Hartmut
Closed Thread