Jump to content

Undefined Reference to std::__cxx11


Recommended Posts

  • Honorable Member

If you have GCC>5 version, you'll see this error when the linking src:


undefined reference to std::__cxx11::basic_string


Open (libpoly&libsql)/MAKEFILE and add to CFLAGS;



Do not forget to rebuild libpoly!

  • Love 1


Link to comment
Share on other sites

  • 3 months later...
  • Honorable Member
7 hours ago, ridetpro said:


You better recompile whole extern with the same version of GCC, the same FLAGs.

No not needed. Also I don't recommend define that macro because already defined in bits/c++config.h. Just add libpoly not whole project.It will be fine, tested.

Edited by Metin2 Dev
Core X - External 2 Internal


Link to comment
Share on other sites

  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.