Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

QT compiling errors : undefined references to `std::__detail::_List_node_base::_M_hook #65

Closed
SpartanJ opened this issue Aug 21, 2014 · 1 comment
Labels
blocker bug Something isn't working

Comments

@SpartanJ
Copy link
Owner

Original report by Batte HUCHAI (Bitbucket: bhuchai, ).


Hello,

When I try to compile my QT code (including EFSW), I get these kind of compiling errors :

#!c++
C:/MCF/MCF/Tools/efsw/libs//libefsw-static-release-win.a(FileWatcherWin32.o):FileWatcherWin32.cpp:(.text+0x4a2): undefined reference to `std::__detail::_List_node_base::_M_hook(std::__detail::_List_node_base*)'
C:/MCF/MCF/Tools/efsw/libs//libefsw-static-release-win.a(FileWatcherGeneric.o):FileWatcherGeneric.cpp:(.text+0xf9): undefined reference to `std::__detail::_List_node_base::_M_hook(std::__detail::_List_node_base*)'
C:/MCF/MCF/Tools/efsw/libs//libefsw-static-release-win.a(FileWatcherGeneric.o):FileWatcherGeneric.cpp:(.text+0x209): undefined reference to `std::__detail::_List_node_base::_M_unhook()'
C:/MCF/MCF/Tools/efsw/libs//libefsw-static-release-win.a(FileWatcherGeneric.o):FileWatcherGeneric.cpp:(.text+0x29c): undefined reference to `std::__detail::_List_node_base::_M_unhook()'
C:/MCF/MCF/Tools/efsw/libs//libefsw-static-release-win.a(FileWatcherGeneric.o):FileWatcherGeneric.cpp:(.text+0x70d): undefined reference to `std::__detail::_List_node_base::_M_hook(std::__detail::_List_node_base*)'
C:/MCF/MCF/Tools/efsw/libs//libefsw-static-release-win.a(DirectorySnapshot.o):DirectorySnapshot.cpp:(.text+0x13d): undefined reference to `std::__detail::_List_node_base::_M_hook(std::__detail::_List_node_base*)'
C:/MCF/MCF/Tools/efsw/libs//libefsw-static-release-win.a(DirectorySnapshot.o):DirectorySnapshot.cpp:(.text+0x1ce): undefined reference to `std::__detail::_List_node_base::_M_hook(std::__detail::_List_node_base*)'
C:/MCF/MCF/Tools/efsw/libs//libefsw-static-release-win.a(DirectorySnapshot.o):DirectorySnapshot.cpp:(.text+0x631): undefined reference to `std::__detail::_List_node_base::_M_hook(std::__detail::_List_node_base*)'
C:/MCF/MCF/Tools/efsw/libs//libefsw-static-release-win.a(DirectorySnapshot.o):DirectorySnapshot.cpp:(.text+0xf8a): undefined reference to `std::__detail::_List_node_base::_M_hook(std::__detail::_List_node_base*)'
C:/MCF/MCF/Tools/efsw/libs//libefsw-static-release-win.a(DirectorySnapshot.o):DirectorySnapshot.cpp:(.text+0x10b9): more undefined references to `std::__detail::_List_node_base::_M_hook(std::__detail::_List_node_base*)' follow
collect2: ld returned 1 exit status
mingw32-make[1]: Leaving directory `C:/MCF/MCF-build-Qt_4_7_4_MinGW-Debug'
mingw32-make[1]: *** [debug\MCF.exe] Error 1
mingw32-make: *** [debug] Error 2
15:54:26: Le processus "C:\MinGW\MinGW 4.4\bin\mingw32-make.exe" s'est terminé avec le code 2.
Error while building/deploying project MCF (kit: Qt 4.7.4 MinGW)
Lors de l'exécution de l'étape "Make"

Do you have any idea why ?

Thank you very much by advance,

B.

@SpartanJ
Copy link
Owner Author

Original comment by Martín Lucas Golini (Bitbucket: SpartanJ, GitHub: SpartanJ).


This is an issue with your MingW installation. It seems that your libstdc++ version differs from the headers, but i'm not sure. May be reinstall MingW and recompile everything with that version.

@SpartanJ SpartanJ added blocker bug Something isn't working labels Jan 14, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
blocker bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant