Linker Message: "discarded section"

Discussion in 'C++' started by Hartmut Sbosny, May 27, 2005.

  1. 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
    Hartmut Sbosny, May 27, 2005
    #1
    1. Advertising

  2. Hartmut Sbosny wrote:
    > 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?


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

    V
    Victor Bazarov, May 27, 2005
    #2
    1. Advertising

  3. Victor Bazarov schrieb:

    > Hartmut Sbosny wrote:
    >> 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?

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


    Ok, I will try it there.

    Best Regards
    Hartmut
    Hartmut Sbosny, May 29, 2005
    #3
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Namratha Shah \(Nasha\)
    Replies:
    0
    Views:
    5,310
    Namratha Shah \(Nasha\)
    Nov 3, 2004
  2. George Durzi

    Assembly Linker Question

    George Durzi, Feb 5, 2004, in forum: ASP .Net
    Replies:
    2
    Views:
    3,138
    Alvin Bruney [MVP]
    Mar 2, 2004
  3. Davenport   | ATC uk RAF |   1 1 8 9  Squadron

    Java 88x31 linker buttons

    Davenport | ATC uk RAF | 1 1 8 9 Squadron, Mar 3, 2004, in forum: Java
    Replies:
    1
    Views:
    318
    Andrew Thompson
    Mar 3, 2004
  4. Wolfgang Rueckert

    Linker error - unsolved external symbol

    Wolfgang Rueckert, Jun 30, 2003, in forum: C++
    Replies:
    0
    Views:
    713
    Wolfgang Rueckert
    Jun 30, 2003
  5. Steven

    GCC linker throws weird message.

    Steven, Feb 25, 2005, in forum: C Programming
    Replies:
    9
    Views:
    351
    Kelsey Bjarnason
    Mar 2, 2005
Loading...

Share This Page