Note that there are some explanatory texts on larger screens.

plurals
  1. POTrying to build application in redhat machine and getting undefined reference error from linker
    primarykey
    data
    text
    <p>I am new in this sphere and need help of experienced people.</p> <p>I am trying to build the product on redhat machine with gcc-4.7.2. I am linking lstdc++ statically. As a result I am getting undefined reference issue.</p> <p>To be more specific, let me show some details.</p> <ol> <li>Building with -Wl,--verbose option shows : <strong>RHEL5.5/gcc-4.7.2/lib/libstdc++.a succeeded</strong></li> <li>nm --demangle RHEL5.5/gcc-4.7.2/lib/libstdc++.a | grep "_M_hook" shows: <strong>00000000 T std::__detail::_List_node_base::_M_hook(std::__detail::_List_node_base*)</strong></li> <li>But as a result getting: <strong>sym_sdfio_ioinfo.cpp:(.text+0x598e): undefined reference to <code>std::_List_node_base::_M_hook(std::_List_node_base*)' ../../lib/debugger/ye_datagen/tmax/lib/libsym_kernel-O.a(sym_sdfio_ioinfo_rw.o): In function</code>CIOInfo::LoadSegment(long long, SYM_SDF::CSDFFilter const*, SYM_SDF::CSDFSegment*)': sym_sdfio_ioinfo_rw.cpp:(.text+0xf3d): undefined reference to <code>std::_List_node_base::_M_hook(std::_List_node_base*)' ../../lib/debugger/ye_datagen/tmax/lib/libsym_kernel-O.a(sym_sdfio_rw_text.o):sym_sdfio_rw_text.cpp:(.text+0x1592): more undefined references to</code>std::_List_node_base::_M_hook(std::_List_node_base*)' follow collect2: error: ld returned 1 exit status</strong></li> </ol> <p>The only strange thing I see is "<strong><em>00000000</em></strong>" in <strong>00000000 T std::__detail::_List_node_base::_M_hook(std::__detail::_List_node_base*)</strong></p> <p>Please, help me to figure out what I am missing here.</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload