https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67596
Bug ID: 67596 Summary: /usr/include/c++/4.7/bits/stl_list.h error Product: gcc Version: 4.4.7 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: thien.pham3i2 at gmail dot com Target Milestone: --- Created attachment 36340 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=36340&action=edit the error Dear all, I compiled the project but the project is error with error message: [root@localhost Impinj_ltk]# make x86 mkdir -p ./bin g++ \ -m32 -Wno-write-strings \ -Llib \ -Iinclude \ speedway_embedded_example.cpp \ -lltkcpp_x86 -lltkcppimpinj_x86 -lxml2_x86 \ -o bin/speedwayr_x86 lib/libltkcpp_x86.a(ltkcpp_connection_x86.o): In function `std::list<LLRP::CMessage*, std::allocator<LLRP::CMessage*> >::_M_erase(std::_List_iterator<LLRP::CMessage*>)': /usr/include/c++/4.7/bits/stl_list.h:1542: undefined reference to `std::__detail::_List_node_base::_M_unhook()' lib/libltkcpp_x86.a(ltkcpp_connection_x86.o): In function `std::list<LLRP::CMessage*, std::allocator<LLRP::CMessage*> >::_M_insert(std::_List_iterator<LLRP::CMessage*>, LLRP::CMessage* const&)': /usr/include/c++/4.7/bits/stl_list.h:1526: undefined reference to `std::__detail::_List_node_base::_M_hook(std::__detail::_List_node_base*)' lib/libltkcpp_x86.a(ltkcpp_typeregistry_x86.o): In function `std::list<LLRP::CTypeDescriptor const*, std::allocator<LLRP::CTypeDescriptor const*> >::_M_insert(std::_List_iterator<LLRP::CTypeDescriptor const*>, LLRP::CTypeDescriptor const* const&)': /usr/include/c++/4.7/bits/stl_list.h:1526: undefined reference to `std::__detail::_List_node_base::_M_hook(std::__detail::_List_node_base*)' lib/libltkcpp_x86.a(ltkcpp_genout_x86.o): In function `std::list<LLRP::CParameter*, std::allocator<LLRP::CParameter*> >::_M_insert(std::_List_iterator<LLRP::CParameter*>, LLRP::CParameter* const&)': /usr/include/c++/4.7/bits/stl_list.h:1526: undefined reference to `std::__detail::_List_node_base::_M_hook(std::__detail::_List_node_base*)' lib/libltkcpp_x86.a(ltkcpp_genout_x86.o): In function `std::list<LLRP::CROSpec*, std::allocator<LLRP::CROSpec*> >::_M_insert(std::_List_iterator<LLRP::CROSpec*>, LLRP::CROSpec* const&)': /usr/include/c++/4.7/bits/stl_list.h:1526: undefined reference to `std::__detail::_List_node_base::_M_hook(std::__detail::_List_node_base*)' lib/libltkcpp_x86.a(ltkcpp_genout_x86.o): In function `std::list<LLRP::CAccessSpec*, std::allocator<LLRP::CAccessSpec*> >::_M_insert(std::_List_iterator<LLRP::CAccessSpec*>, LLRP::CAccessSpec* const&)': /usr/include/c++/4.7/bits/stl_list.h:1526: undefined reference to `std::__detail::_List_node_base::_M_hook(std::__detail::_List_node_base*)' lib/libltkcpp_x86.a(ltkcpp_genout_x86.o):/usr/include/c++/4.7/bits/stl_list.h:1526: more undefined references to `std::__detail::_List_node_base::_M_hook(std::__detail::_List_node_base*)' follow lib/libltkcpp_x86.a(ltkcpp_element_x86.o): In function `std::list<LLRP::CParameter*, std::allocator<LLRP::CParameter*> >::_M_erase(std::_List_iterator<LLRP::CParameter*>)': /usr/include/c++/4.7/bits/stl_list.h:1542: undefined reference to `std::__detail::_List_node_base::_M_unhook()' lib/libltkcppimpinj_x86.a(impinj_ltkcpp_genout_x86.o): In function `std::list<LLRP::CImpinjArrayVersion*, std::allocator<LLRP::CImpinjArrayVersion*> >::_M_insert(std::_List_iterator<LLRP::CImpinjArrayVersion*>, LLRP::CImpinjArrayVersion* const&)': /usr/include/c++/4.7/bits/stl_list.h:1526: undefined reference to `std::__detail::_List_node_base::_M_hook(std::__detail::_List_node_base*)' lib/libltkcppimpinj_x86.a(impinj_ltkcpp_genout_x86.o): In function `std::list<LLRP::CC1G2Read*, std::allocator<LLRP::CC1G2Read*> >::_M_insert(std::_List_iterator<LLRP::CC1G2Read*>, LLRP::CC1G2Read* const&)': /usr/include/c++/4.7/bits/stl_list.h:1526: undefined reference to `std::__detail::_List_node_base::_M_hook(std::__detail::_List_node_base*)' lib/libltkcppimpinj_x86.a(impinj_ltkcpp_genout_x86.o): In function `std::list<LLRP::CImpinjTransitionZone*, std::allocator<LLRP::CImpinjTransitionZone*> >::_M_insert(std::_List_iterator<LLRP::CImpinjTransitionZone*>, LLRP::CImpinjTransitionZone* const&)': /usr/include/c++/4.7/bits/stl_list.h:1526: undefined reference to `std::__detail::_List_node_base::_M_hook(std::__detail::_List_node_base*)' lib/libltkcppimpinj_x86.a(impinj_ltkcpp_genout_x86.o): In function `std::list<LLRP::CEPCData*, std::allocator<LLRP::CEPCData*> >::_M_insert(std::_List_iterator<LLRP::CEPCData*>, LLRP::CEPCData* const&)': /usr/include/c++/4.7/bits/stl_list.h:1526: undefined reference to `std::__detail::_List_node_base::_M_hook(std::__detail::_List_node_base*)' lib/libltkcppimpinj_x86.a(impinj_ltkcpp_genout_x86.o): In function `std::list<LLRP::CImpinjAntennaPolarizationCapability*, std::allocator<LLRP::CImpinjAntennaPolarizationCapability*> >::_M_insert(std::_List_iterator<LLRP::CImpinjAntennaPolarizationCapability*>, LLRP::CImpinjAntennaPolarizationCapability* const&)': /usr/include/c++/4.7/bits/stl_list.h:1526: undefined reference to `std::__detail::_List_node_base::_M_hook(std::__detail::_List_node_base*)' collect2: ld returned 1 exit status make: *** [bin/speedwayr_x86] Error 1 Could someone please help me fix this error ? thanks and regards Thieen