Connecting Tech Pros Worldwide Help | Site Map

Linker Message: "discarded section"

 
LinkBack Thread Tools Search this Thread
  #1  
Old July 23rd, 2005, 04:51 AM
Hartmut Sbosny
Guest
 
Posts: n/a
Default Linker Message: "discarded section"

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, 04:52 AM
Victor Bazarov
Guest
 
Posts: n/a
Default 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, 04:53 AM
Hartmut Sbosny
Guest
 
Posts: n/a
Default 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
 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Popular Articles

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over 220,662 network members.