Arduino: 1.8.15 (Mac OS X), Board: "SparkFun SAMD51 MicroMod"
libraries/LinkedList/tests.cpp.o: In function `main':
/Users/-/Documents/Arduino/libraries/LinkedList/tests.cpp:332: undefined reference to `std::basic_ostream<char, std::char_traits<char> >& std::operator<< <std::char_traits<char> >(std::basic_ostream<char, std::char_traits<char> >&, char const*)'
libraries/LinkedList/tests.cpp.o: In function `std::ostream::operator<<(std::ostream& (*)(std::ostream&))':
/Users/-/Library/Arduino15/packages/arduino/tools/arm-none-eabi-gcc/4.8.3-2014q1/arm-none-eabi/include/c++/4.8.3/ostream:113: undefined reference to `std::basic_ostream<char, std::char_traits<char> >& std::endl<char, std::char_traits<char> >(std::basic_ostream<char, std::char_traits<char> >&)'
libraries/LinkedList/tests.cpp.o: In function `main':
/Users/-/Documents/Arduino/libraries/LinkedList/tests.cpp:333: undefined reference to `std::cout'
libraries/LinkedList/tests.cpp.o: In function `__static_initialization_and_destruction_0':
/Users/-/Library/Arduino15/packages/arduino/tools/arm-none-eabi-gcc/4.8.3-2014q1/arm-none-eabi/include/c++/4.8.3/iostream:74: undefined reference to `std::ios_base::Init::Init()'
/Users/-/Library/Arduino15/packages/arduino/tools/arm-none-eabi-gcc/4.8.3-2014q1/arm-none-eabi/include/c++/4.8.3/iostream:74: undefined reference to `std::ios_base::Init::~Init()'
collect2: error: ld returned 1 exit status
exit status 1
Fehler beim Kompilieren fΓΌr das Board SparkFun SAMD51 MicroMod.
It is very unfortunate that the maintainer of the LinkedList library allowed this to be introduced into their library in this way. I guess they didn't bother to do the most basic test of hitting the "Compile" button before accepting it.
There is a contributed fix, but it hasn't been accepted yet:
The workaround is to delete this file from your computer:
Please be very careful when deleting things from your computer. When in doubt, back up!
As Koepel already explained, the file is only used for testing of the library during development, so deleting it will not cause any problems for people who only want to use the library with their Arduino projects.
Should be fixed guys. I just updated the code, and released a new version (1.3.3). Not shure how long Arduino takes to refresh the libraries repositories... but shouldnt take so long