Collected 1 items Processing * in native environment -------------------------------------------------------------------------------- Building... Tool Manager: Installing platformio/tool-scons @ ~4.40001.0 Tool Manager: tool-scons @ 4.40001.0 has been installed! LDF: Library Dependency Finder -> http://bit.ly/configure-pio-ldf LDF Modes: Finder ~ chain, Compatibility ~ off Library Manager: Installing ArduinoFake Library Manager: ArduinoFake @ 0.2.2 has been installed! Found 2 compatible libraries Scanning dependencies... Dependency Graph |-- 0.2.2 (/home/kendall/development/src/linker_woes/.pio/libdeps/native/ArduinoFake) |-- (/home/kendall/development/src/linker_woes/lib/Foo) | |-- 0.2.2 (/home/kendall/development/src/linker_woes/.pio/libdeps/native/ArduinoFake) Building in release mode g++ -o .pio/build/native/test/test_main.o -c -std=gnu++11 -DPLATFORMIO=50001 -DUNIT_TEST -DUNITY_INCLUDE_CONFIG_H -Iinclude -Isrc -Ilib/Foo -I.pio/libdeps/native/ArduinoFake/src -I.pio/build/native/UnityTestLib -I/home/kendall/.platformio/packages/tool-unity test/test_main.cpp gcc -o .pio/build/native/test/tmp_pio_test_transport.o -c -DPLATFORMIO=50001 -DUNIT_TEST -DUNITY_INCLUDE_CONFIG_H -Iinclude -Isrc -Ilib/Foo -I.pio/libdeps/native/ArduinoFake/src -I.pio/build/native/UnityTestLib -I/home/kendall/.platformio/packages/tool-unity test/tmp_pio_test_transport.c g++ -o .pio/build/native/libcd0/ArduinoFake/ArduinoFake.o -c -std=gnu++11 -DPLATFORMIO=50001 -DUNIT_TEST -DUNITY_INCLUDE_CONFIG_H -I.pio/libdeps/native/ArduinoFake/src -I.pio/build/native/UnityTestLib -I/home/kendall/.platformio/packages/tool-unity .pio/libdeps/native/ArduinoFake/src/ArduinoFake.cpp g++ -o .pio/build/native/libcd0/ArduinoFake/ClientFake.o -c -std=gnu++11 -DPLATFORMIO=50001 -DUNIT_TEST -DUNITY_INCLUDE_CONFIG_H -I.pio/libdeps/native/ArduinoFake/src -I.pio/build/native/UnityTestLib -I/home/kendall/.platformio/packages/tool-unity .pio/libdeps/native/ArduinoFake/src/ClientFake.cpp g++ -o .pio/build/native/libcd0/ArduinoFake/FunctionFake.o -c -std=gnu++11 -DPLATFORMIO=50001 -DUNIT_TEST -DUNITY_INCLUDE_CONFIG_H -I.pio/libdeps/native/ArduinoFake/src -I.pio/build/native/UnityTestLib -I/home/kendall/.platformio/packages/tool-unity .pio/libdeps/native/ArduinoFake/src/FunctionFake.cpp g++ -o .pio/build/native/libcd0/ArduinoFake/PrintFake.o -c -std=gnu++11 -DPLATFORMIO=50001 -DUNIT_TEST -DUNITY_INCLUDE_CONFIG_H -I.pio/libdeps/native/ArduinoFake/src -I.pio/build/native/UnityTestLib -I/home/kendall/.platformio/packages/tool-unity .pio/libdeps/native/ArduinoFake/src/PrintFake.cpp g++ -o .pio/build/native/libcd0/ArduinoFake/SerialFake.o -c -std=gnu++11 -DPLATFORMIO=50001 -DUNIT_TEST -DUNITY_INCLUDE_CONFIG_H -I.pio/libdeps/native/ArduinoFake/src -I.pio/build/native/UnityTestLib -I/home/kendall/.platformio/packages/tool-unity .pio/libdeps/native/ArduinoFake/src/SerialFake.cpp g++ -o .pio/build/native/libcd0/ArduinoFake/StreamFake.o -c -std=gnu++11 -DPLATFORMIO=50001 -DUNIT_TEST -DUNITY_INCLUDE_CONFIG_H -I.pio/libdeps/native/ArduinoFake/src -I.pio/build/native/UnityTestLib -I/home/kendall/.platformio/packages/tool-unity .pio/libdeps/native/ArduinoFake/src/StreamFake.cpp g++ -o .pio/build/native/libcd0/ArduinoFake/arduino/IPAddress.o -c -std=gnu++11 -DPLATFORMIO=50001 -DUNIT_TEST -DUNITY_INCLUDE_CONFIG_H -I.pio/libdeps/native/ArduinoFake/src -I.pio/build/native/UnityTestLib -I/home/kendall/.platformio/packages/tool-unity .pio/libdeps/native/ArduinoFake/src/arduino/IPAddress.cpp g++ -o .pio/build/native/libcd0/ArduinoFake/arduino/WString.o -c -std=gnu++11 -DPLATFORMIO=50001 -DUNIT_TEST -DUNITY_INCLUDE_CONFIG_H -I.pio/libdeps/native/ArduinoFake/src -I.pio/build/native/UnityTestLib -I/home/kendall/.platformio/packages/tool-unity .pio/libdeps/native/ArduinoFake/src/arduino/WString.cpp gcc -o .pio/build/native/libcd0/ArduinoFake/arduino/noniso.o -c -DPLATFORMIO=50001 -DUNIT_TEST -DUNITY_INCLUDE_CONFIG_H -I.pio/libdeps/native/ArduinoFake/src -I.pio/build/native/UnityTestLib -I/home/kendall/.platformio/packages/tool-unity .pio/libdeps/native/ArduinoFake/src/arduino/noniso.c g++ -o .pio/build/native/lib1de/Foo/Foo.o -c -std=gnu++11 -DPLATFORMIO=50001 -DUNIT_TEST -DUNITY_INCLUDE_CONFIG_H -Ilib/Foo -I.pio/libdeps/native/ArduinoFake/src -I.pio/build/native/UnityTestLib -I/home/kendall/.platformio/packages/tool-unity lib/Foo/Foo.cpp gcc -o .pio/build/native/UnityTestLib/unity.o -c -DPLATFORMIO=50001 -DUNIT_TEST -DUNITY_INCLUDE_CONFIG_H -I.pio/build/native/UnityTestLib -I/home/kendall/.platformio/packages/tool-unity /home/kendall/.platformio/packages/tool-unity/unity.c ar rc .pio/build/native/libUnityTestLib.a .pio/build/native/UnityTestLib/unity.o ranlib .pio/build/native/libUnityTestLib.a ar rc .pio/build/native/lib1de/libFoo.a .pio/build/native/lib1de/Foo/Foo.o ranlib .pio/build/native/lib1de/libFoo.a ar rc .pio/build/native/libcd0/libArduinoFake.a .pio/build/native/libcd0/ArduinoFake/ArduinoFake.o .pio/build/native/libcd0/ArduinoFake/ClientFake.o .pio/build/native/libcd0/ArduinoFake/FunctionFake.o .pio/build/native/libcd0/ArduinoFake/PrintFake.o .pio/build/native/libcd0/ArduinoFake/SerialFake.o .pio/build/native/libcd0/ArduinoFake/StreamFake.o .pio/build/native/libcd0/ArduinoFake/arduino/IPAddress.o .pio/build/native/libcd0/ArduinoFake/arduino/WString.o .pio/build/native/libcd0/ArduinoFake/arduino/noniso.o ranlib .pio/build/native/libcd0/libArduinoFake.a g++ -o .pio/build/native/program .pio/build/native/test/test_main.o .pio/build/native/test/tmp_pio_test_transport.o -L.pio/build/native .pio/build/native/libcd0/libArduinoFake.a .pio/build/native/lib1de/libFoo.a .pio/build/native/libUnityTestLib.a .pio/build/native/lib1de/libFoo.a(Foo.o): In function `Foo::DoStuff()': Foo.cpp:(.text+0x17): undefined reference to `pinMode' collect2: error: ld returned 1 exit status *** [.pio/build/native/program] Error 1 ========================== [FAILED] Took 4.56 seconds ========================== Test Environment Status Duration ------ ------------- -------- ------------ * m4 IGNORED * native FAILED 00:00:04.564 ==================== 1 failed, 0 succeeded in 00:00:04.564 ====================