Ivan, There is a limit on what C++ can be compiled and built with Nuttx.
The key is to not include any foreign (non nuttx) headers you can see the defconfigs setting used on PX4 here https://github.com/PX4/Firmware/tree/master/boards/px4/fmu-v5/nuttx-config/nsh and the things needed in Make.def here https://github.com/PX4/Firmware/blob/master/platforms/nuttx/CMakeLists.txt#L100-L119 Of Note -nostartfiles -nodefaultlibs -nostdlib -nostdinc++ -fno-exceptions -fno-rtti Then ensure the C++ objects are not dependant on anything other that compile time code (templates) I hope this helps, David -----Original Message----- From: Embedded Systems [mailto:ivanucherdj...@gmail.com] Sent: Tuesday, February 04, 2020 1:34 AM To: dev@nuttx.apache.org Subject: Linker error Hello, I need a little bit help if possible. I am using libcxx in my project but wil the new nuttx i start having an error during the linking libsupc++.a(vterminate.o): In function `__gnu_cxx::__verbose_terminate_handler()': vterminate.cc:(.text._ZN9__gnu_cxx27__verbose_terminate_handlerEv+0xfc): undefined reference to `_impure_ptr' i tried the solution from here http://nuttx.org/doku.php?id=wiki:nshhowtos:build-uclibcpp but it does nto work with libcxx and now i am getting the following error libsupc++.a(eh_term_handler.o):(.data._ZN10__cxxabiv119__terminate_handlerE+0x0): undefined reference to `__gnu_cxx::__verbose_terminate_handler()' Do someone know another solution of this problem? Thank you in advance! Best regards, Ivan Ucherdzhiev