Hi
run generator script error? to deal with it?
LD brickd
-- The C compiler identification is GNU 4.8.3
-- The CXX compiler identification is GNU 4.8.3
-- Check for working C compiler: /usr/bin/arm-none-eabi-gcc
-- Check for working C compiler: /usr/bin/arm-none-eabi-gcc -- broken
CMake Error at /usr/share/cmake-3.0/Modules/CMakeTestCCompiler.cmake:61 (message):
The C compiler "/usr/bin/arm-none-eabi-gcc" is not able to compile a simple
test program.
It fails with the following output:
Change Dir: /home/osboxes/tf/master-brick/software/build/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/make" "cmTryCompileExec3743751674/fast"
/usr/bin/make -f CMakeFiles/cmTryCompileExec3743751674.dir/build.make
CMakeFiles/cmTryCompileExec3743751674.dir/build
make[1]: Entering directory
'/home/osboxes/tf/master-brick/software/build/CMakeFiles/CMakeTmp'
/usr/bin/cmake -E cmake_progress_report
/home/osboxes/tf/master-brick/software/build/CMakeFiles/CMakeTmp/CMakeFiles
1
Building C object
CMakeFiles/cmTryCompileExec3743751674.dir/testCCompiler.c.obj
/usr/bin/arm-none-eabi-gcc -o
CMakeFiles/cmTryCompileExec3743751674.dir/testCCompiler.c.obj -c
/home/osboxes/tf/master-brick/software/build/CMakeFiles/CMakeTmp/testCCompiler.c
Linking C executable cmTryCompileExec3743751674
/usr/bin/cmake -E cmake_link_script
CMakeFiles/cmTryCompileExec3743751674.dir/link.txt --verbose=1
/usr/bin/arm-none-eabi-gcc
CMakeFiles/cmTryCompileExec3743751674.dir/testCCompiler.c.obj -o
cmTryCompileExec3743751674
/usr/lib/gcc/arm-none-eabi/4.8/../../../arm-none-eabi/lib/libc.a(lib_a-exit.o):
In function `exit':
/build/buildd/newlib-2.1.0+git20140818.1a8323b/build/arm-none-eabi/newlib/libc/stdlib/../../../../../newlib/libc/stdlib/exit.c:70:
undefined reference to `_exit'
collect2: error: ld returned 1 exit status
CMakeFiles/cmTryCompileExec3743751674.dir/build.make:88: recipe for target
'cmTryCompileExec3743751674' failed
make[1]: Leaving directory
'/home/osboxes/tf/master-brick/software/build/CMakeFiles/CMakeTmp'
make[1]: *** [cmTryCompileExec3743751674] Error 1
Makefile:118: recipe for target 'cmTryCompileExec3743751674/fast' failed
make: *** [cmTryCompileExec3743751674/fast] Error 1
CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
CMakeLists.txt:6 (PROJECT)
-- Configuring incomplete, errors occurred!
See also "/home/osboxes/tf/master-brick/software/build/CMakeFiles/CMakeOutput.log".
See also "/home/osboxes/tf/master-brick/software/build/CMakeFiles/CMakeError.log".
-------------------------------------------------------------
Linking C executable master-brick.elf
text data bss dec hex filename
126896 0 6012 132908 2072c master-brick.elf
[100%] Built target master-brick.elf
-- The C compiler identification is GNU 4.8.3
-- The CXX compiler identification is GNU 4.8.3
-- Check for working C compiler: /usr/bin/arm-none-eabi-gcc
-- Check for working C compiler: /usr/bin/arm-none-eabi-gcc -- broken
CMake Error at /usr/share/cmake-3.0/Modules/CMakeTestCCompiler.cmake:61 (message):
The C compiler "/usr/bin/arm-none-eabi-gcc" is not able to compile a simple
test program.
It fails with the following output:
Change Dir: /home/osboxes/tf/temperature-bricklet/software/build/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/make" "cmTryCompileExec2720114032/fast"
/usr/bin/make -f CMakeFiles/cmTryCompileExec2720114032.dir/build.make
CMakeFiles/cmTryCompileExec2720114032.dir/build
make[1]: Entering directory
'/home/osboxes/tf/temperature-bricklet/software/build/CMakeFiles/CMakeTmp'
/usr/bin/cmake -E cmake_progress_report
/home/osboxes/tf/temperature-bricklet/software/build/CMakeFiles/CMakeTmp/CMakeFiles
1
Building C object
CMakeFiles/cmTryCompileExec2720114032.dir/testCCompiler.c.obj
/usr/bin/arm-none-eabi-gcc -o
CMakeFiles/cmTryCompileExec2720114032.dir/testCCompiler.c.obj -c
/home/osboxes/tf/temperature-bricklet/software/build/CMakeFiles/CMakeTmp/testCCompiler.c
Linking C executable cmTryCompileExec2720114032
/usr/bin/cmake -E cmake_link_script
CMakeFiles/cmTryCompileExec2720114032.dir/link.txt --verbose=1
/usr/bin/arm-none-eabi-gcc
CMakeFiles/cmTryCompileExec2720114032.dir/testCCompiler.c.obj -o
cmTryCompileExec2720114032
/usr/lib/gcc/arm-none-eabi/4.8/../../../arm-none-eabi/lib/libc.a(lib_a-exit.o):
In function `exit':
/build/buildd/newlib-2.1.0+git20140818.1a8323b/build/arm-none-eabi/newlib/libc/stdlib/../../../../../newlib/libc/stdlib/exit.c:70:
undefined reference to `_exit'
collect2: error: ld returned 1 exit status
CMakeFiles/cmTryCompileExec2720114032.dir/build.make:88: recipe for target
'cmTryCompileExec2720114032' failed
make[1]: Leaving directory
'/home/osboxes/tf/temperature-bricklet/software/build/CMakeFiles/CMakeTmp'
make[1]: *** [cmTryCompileExec2720114032] Error 1
Makefile:118: recipe for target 'cmTryCompileExec2720114032/fast' failed
make: *** [cmTryCompileExec2720114032/fast] Error 2
CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
CMakeLists.txt:7 (PROJECT)
-- Configuring incomplete, errors occurred!
See also "/home/osboxes/tf/temperature-bricklet/software/build/CMakeFiles/CMakeOutput.log".
See also "/home/osboxes/tf/temperature-bricklet/software/build/CMakeFiles/CMakeError.log
------------------------------------------------------
brickboot not complied
cp -avr ~/tf/bricklib ~/tf/brickboot/software/src
cd ~/tf/brickboot/software
./generate_makefile
-- The C compiler identification is GNU 4.8.3
-- The CXX compiler identification is GNU 4.8.3
-- Check for working C compiler: /usr/bin/arm-none-eabi-gcc
-- Check for working C compiler: /usr/bin/arm-none-eabi-gcc -- broken
CMake Error at /usr/share/cmake-3.0/Modules/CMakeTestCCompiler.cmake:61 (message):
The C compiler "/usr/bin/arm-none-eabi-gcc" is not able to compile a simple
test program.
It fails with the following output:
Change Dir: /home/osboxes/tf/brickboot/software/build/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/make" "cmTryCompileExec619403037/fast"
/usr/bin/make -f CMakeFiles/cmTryCompileExec619403037.dir/build.make
CMakeFiles/cmTryCompileExec619403037.dir/build
make[1]: Entering directory
'/home/osboxes/tf/brickboot/software/build/CMakeFiles/CMakeTmp'
/usr/bin/cmake -E cmake_progress_report
/home/osboxes/tf/brickboot/software/build/CMakeFiles/CMakeTmp/CMakeFiles 1
Building C object
CMakeFiles/cmTryCompileExec619403037.dir/testCCompiler.c.obj
/usr/bin/arm-none-eabi-gcc -o
CMakeFiles/cmTryCompileExec619403037.dir/testCCompiler.c.obj -c
/home/osboxes/tf/brickboot/software/build/CMakeFiles/CMakeTmp/testCCompiler.c
Linking C executable cmTryCompileExec619403037
/usr/bin/cmake -E cmake_link_script
CMakeFiles/cmTryCompileExec619403037.dir/link.txt --verbose=1
/usr/bin/arm-none-eabi-gcc
CMakeFiles/cmTryCompileExec619403037.dir/testCCompiler.c.obj -o
cmTryCompileExec619403037
/usr/lib/gcc/arm-none-eabi/4.8/../../../arm-none-eabi/lib/libc.a(lib_a-exit.o):
In function `exit':
/build/buildd/newlib-2.1.0+git20140818.1a8323b/build/arm-none-eabi/newlib/libc/stdlib/../../../../../newlib/libc/stdlib/exit.c:70:
undefined reference to `_exit'
collect2: error: ld returned 1 exit status
CMakeFiles/cmTryCompileExec619403037.dir/build.make:88: recipe for target
'cmTryCompileExec619403037' failed
make[1]: *** [cmTryCompileExec619403037] Error 1
make[1]: Leaving directory
'/home/osboxes/tf/brickboot/software/build/CMakeFiles/CMakeTmp'
Makefile:118: recipe for target 'cmTryCompileExec619403037/fast' failed
make: *** [cmTryCompileExec619403037/fast] Error 2
CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
CMakeLists.txt:6 (PROJECT)
-- Configuring incomplete, errors occurred!
See also "/home/osboxes/tf/brickboot/software/build/CMakeFiles/CMakeOutput.log".
See also "/home/osboxes/tf/brickboot/software/build/CMakeFiles/CMakeError.log".