Storage problems Jetson Nano

I’ve been having problems with my waveshare Jetson nano 4gb emmc module. im new to ubuntu.
With its limited storage, i couldnt even install jetpack sdk components. ive tried moving the root file system with to an external sd card. but it then prevented me to install the cuda accelerated opencv with the cmake error
" /jetson-inference/build$ cmake ../ – The C compiler identification is unknown – The CXX compiler identification is GNU 7.5.0 – Check for working C compiler: /usr/bin/cc – Check for working C compiler: /usr/bin/cc – broken CMake Error at /usr/share/cmake-3.10/Modules/CMakeTestCCompiler.cmake:52 (message): The C compiler “/usr/bin/cc” is not able to compile a simple test program. It fails with the following output: Change Dir: /home/rocket/jetson-inference/build/CMakeFiles/CMakeTmp Run Build Command:“/usr/bin/make” “cmTC_0f436/fast” /usr/bin/make -f CMakeFiles/cmTC_0f436.dir/build.make CMakeFiles/cmTC_0f436.dir/build make[1]: Entering directory ‘/home/rocket/jetson-inference/build/CMakeFiles/CMakeTmp’ Building C object CMakeFiles/cmTC_0f436.dir/testCCompiler.c.o /usr/bin/cc -o CMakeFiles/cmTC_0f436.dir/testCCompiler.c.o -c /home/rocket/jetson-inference/build/CMakeFiles/CMakeTmp/testCCompiler.c /home/rocket/jetson-inference/build/CMakeFiles/CMakeTmp/testCCompiler.c: In function ‘main’: /home/rocket/jetson-inference/build/CMakeFiles/CMakeTmp/testCCompiler.c:11:1: internal compiler error: Segmentation fault { (void)argv; return argc-1;} ^ Please submit a full bug report, with preprocessed source if appropriate. See <file:///usr/share/doc/gcc-7/README.Bugs> for instructions. CMakeFiles/cmTC_0f436.dir/build.make:65: recipe for target ‘CMakeFiles/cmTC_0f436.dir/testCCompiler.c.o’ failed make[1]: * [CMakeFiles/cmTC_0f436.dir/testCCompiler.c.o] Error 1 make[1]: Leaving directory ‘/home/rocket/jetson-inference/build/CMakeFiles/CMakeTmp’ Makefile:126: recipe for target ‘cmTC_0f436/fast’ failed make: * [cmTC_0f436/fast] Error 2 CMake will not be able to correctly generate this project. Call Stack (most recent call first): CMakeLists.txt:3 (project) – Configuring incomplete, errors occurred! See also “/home/rocket/jetson-inference/build/CMakeFiles/CMakeOutput.log”. See also “/home/rocket/jetson-inference/build/CMakeFiles/CMakeError.log”."

question, is there a way to move the download path of the sdk components without entirely moving the rootfilesystem to an external sd card, which lets me build opencv with cuda. or is there a way to just fix the cmake problem on its own?

Hi,

Please follow the doc Flashing to a SD card section in NVIDIA Jetson Linux Developer Guide : Flashing and Booting the Target Device | NVIDIA Docs.

Thanks

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.