This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

macOS Catalina unable to compile using SES or command line

Hi,

Attached is Cmake error log from one of the failed builds.

This is a new MBP with freshly installed nRF Connect - following tutorial.

Anyway, I am not able to open a nordic project in SES nor build manually in terminal.

Tried both V1.0.0 and - V1.1.0 git branch. 

Any suggestions is appreciated.

CMakeError

Compiling the C compiler identification source file "CMakeCCompilerId.c" failed.
Compiler: /Users/sindrevr/ncs/gnuarmemb/bin/arm-none-eabi-gcc 
Build flags: 
Id flags:  

The output was:
1
/Users/sindrevr/ncs/gnuarmemb/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/libc.a(lib_a-exit.o): In function `exit':
exit.c:(.text.exit+0x2c): undefined reference to `_exit'
collect2: error: ld returned 1 exit status


Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" failed.
Compiler: /Users/sindrevr/ncs/gnuarmemb/bin/arm-none-eabi-g++ 
Build flags: 
Id flags:  

The output was:
1
/Users/sindrevr/ncs/gnuarmemb/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/libc.a(lib_a-exit.o): In function `exit':
exit.c:(.text.exit+0x2c): undefined reference to `_exit'
collect2: error: ld returned 1 exit status

CMakeOutput

The target system is: Generic - 2.0.99 - arm
The host system is: Darwin - 19.0.0 - x86_64
Compiling the C compiler identification source file "CMakeCCompilerId.c" succeeded.
Compiler: /Users/sindrevr/ncs/gnuarmemb/bin/arm-none-eabi-gcc 
Build flags: 
Id flags: -c 

The output was:
0


Compilation of the C compiler identification source "CMakeCCompilerId.c" produced "CMakeCCompilerId.o"

The C compiler identification is GNU, found in "/Users/sindrevr/ncs/nrf/applications/asset_tracker/testing/CMakeFiles/3.15.5/CompilerIdC/CMakeCCompilerId.o"

Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" succeeded.
Compiler: /Users/sindrevr/ncs/gnuarmemb/bin/arm-none-eabi-g++ 
Build flags: 
Id flags: -c 

The output was:
0


Compilation of the CXX compiler identification source "CMakeCXXCompilerId.cpp" produced "CMakeCXXCompilerId.o"

The CXX compiler identification is GNU, found in "/Users/sindrevr/ncs/nrf/applications/asset_tracker/testing/CMakeFiles/3.15.5/CompilerIdCXX/CMakeCXXCompilerId.o"

Checking whether the ASM compiler is GNU using "--version" matched "(GNU assembler)|(GCC)|(Free Software Foundation)":
arm-none-eabi-gcc (GNU Tools for Arm Embedded Processors 7-2018-q2-update) 7.3.1 20180622 (release) [ARM/embedded-7-branch revision 261907]
Copyright (C) 2017 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Parents Reply Children
No Data
Related