Skip to content

Instantly share code, notes, and snippets.

@logxen
Created March 13, 2014 19:51
Show Gist options
  • Save logxen/9535611 to your computer and use it in GitHub Desktop.
Save logxen/9535611 to your computer and use it in GitHub Desktop.
logxen@Eneiou-Mint ~/git/Smoothie $ make
make[1]: Entering directory `/home/logxen/git/Smoothie/mbed'
Building src
make[2]: Entering directory `/home/logxen/git/Smoothie/mbed/src'
Building mbed-lpc1768.mk
make[3]: Entering directory `/home/logxen/git/Smoothie/mbed/src'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/logxen/git/Smoothie/mbed/src'
Building mbed-lpc11u24.mk
make[3]: Entering directory `/home/logxen/git/Smoothie/mbed/src'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/logxen/git/Smoothie/mbed/src'
make[2]: Leaving directory `/home/logxen/git/Smoothie/mbed/src'
make[1]: Leaving directory `/home/logxen/git/Smoothie/mbed'
Building Smoothie
make[1]: Entering directory `/home/logxen/git/Smoothie/src'
Building for device lpc1768
make[2]: Entering directory `/home/logxen/git/Smoothie/src'
Compiling version.cpp
Linking ../LPC1768/main.elf
../LPC1768/./libs/ChaNFS/FATFileHandle.o: In function `mbed::FATFileHandle::~FATFileHandle()':
/home/logxen/git/Smoothie/src/libs/ChaNFS/FATFileHandle.h:13: undefined reference to `mbed::FileHandle::~FileHandle()'
../LPC1768/./libs/ChaNFS/FATFileHandle.o: In function `~FATFileHandle':
/home/logxen/git/Smoothie/src/libs/ChaNFS/FATFileHandle.h:13: undefined reference to `mbed::FileHandle::~FileHandle()'
../LPC1768/./modules/utils/simpleshell/SimpleShell.o: In function `SimpleShell::cd_command(std::string, StreamOutput*)':
/home/logxen/git/Smoothie/src/modules/utils/simpleshell/SimpleShell.cpp:238: undefined reference to `opendir'
/home/logxen/git/Smoothie/src/modules/utils/simpleshell/SimpleShell.cpp:243: undefined reference to `closedir'
../LPC1768/./modules/utils/simpleshell/SimpleShell.o: In function `SimpleShell::ls_command(std::string, StreamOutput*)':
/home/logxen/git/Smoothie/src/modules/utils/simpleshell/SimpleShell.cpp:213: undefined reference to `opendir'
/home/logxen/git/Smoothie/src/modules/utils/simpleshell/SimpleShell.cpp:215: undefined reference to `readdir'
/home/logxen/git/Smoothie/src/modules/utils/simpleshell/SimpleShell.cpp:218: undefined reference to `closedir'
../LPC1768/./modules/utils/panel/screens/FileScreen.o: In function `FileScreen::is_a_folder(std::string)':
/home/logxen/git/Smoothie/src/modules/utils/panel/screens/FileScreen.cpp:125: undefined reference to `opendir'
/home/logxen/git/Smoothie/src/modules/utils/panel/screens/FileScreen.cpp:129: undefined reference to `closedir'
../LPC1768/./modules/utils/panel/screens/FileScreen.o: In function `FileScreen::file_at(unsigned short)':
/home/logxen/git/Smoothie/src/modules/utils/panel/screens/FileScreen.cpp:140: undefined reference to `opendir'
/home/logxen/git/Smoothie/src/modules/utils/panel/screens/FileScreen.cpp:142: undefined reference to `readdir'
/home/logxen/git/Smoothie/src/modules/utils/panel/screens/FileScreen.cpp:154: undefined reference to `closedir'
/home/logxen/git/Smoothie/src/modules/utils/panel/screens/FileScreen.cpp:147: undefined reference to `closedir'
../LPC1768/./modules/utils/panel/screens/FileScreen.o: In function `FileScreen::count_folder_content(std::string)':
/home/logxen/git/Smoothie/src/modules/utils/panel/screens/FileScreen.cpp:164: undefined reference to `opendir'
/home/logxen/git/Smoothie/src/modules/utils/panel/screens/FileScreen.cpp:166: undefined reference to `readdir'
/home/logxen/git/Smoothie/src/modules/utils/panel/screens/FileScreen.cpp:169: undefined reference to `closedir'
../LPC1768/mbed_custom.o: In function `fillUnusedRAM()':
mbed_custom.cpp:(.text._ZL13fillUnusedRAMv+0x1c): undefined reference to `__FillStart'
../LPC1768/mbed_custom.o: In function `_start':
/home/logxen/git/Smoothie/src/../build/mbed_custom.cpp:84: undefined reference to `__AHB0_dyn_start'
/home/logxen/git/Smoothie/src/../build/mbed_custom.cpp:84: undefined reference to `__AHB0_end'
/home/logxen/git/Smoothie/src/../build/mbed_custom.cpp:84: undefined reference to `__AHB1_dyn_start'
/home/logxen/git/Smoothie/src/../build/mbed_custom.cpp:84: undefined reference to `__AHB1_end'
../build/../../mbed/build/mbed/TARGET_LPC1768/TOOLCHAIN_GCC_ARM/libmbed.a(FileLike.o): In function `mbed::FileLike::~FileLike()':
FileLike.cpp:(.text._ZN4mbed8FileLikeD2Ev+0x1e): undefined reference to `mbed::FileHandle::~FileHandle()'
../build/../../mbed/build/mbed/TARGET_LPC1768/TOOLCHAIN_GCC_ARM/libmbed.a(FileLike.o): In function `mbed::FileLike::FileLike(char const*)':
FileLike.cpp:(.text._ZN4mbed8FileLikeC2EPKc+0x28): undefined reference to `vtable for mbed::FileHandle'
../build/../../mbed/build/mbed/TARGET_LPC1768/TOOLCHAIN_GCC_ARM/libmbed.a(FileLike.o):(.rodata._ZTIN4mbed8FileLikeE+0x10): undefined reference to `typeinfo for mbed::FileHandle'
collect2: error: ld returned 1 exit status
make[2]: *** [../LPC1768/main.elf] Error 1
make[2]: Leaving directory `/home/logxen/git/Smoothie/src'
make[1]: *** [lpc1768] Error 2
make[1]: Leaving directory `/home/logxen/git/Smoothie/src'
make: *** [all] Error 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment