This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Building error when building the cc2650 example project on MAC OS?

Hi,

I got cc2650 launchpad on hand. I have installed CCSV6 successfully on OSx(10.10.5).  I use ble sdk 2.2.0 , XDC tool 3.32 and TI v15.12.1.LTS compiler to build.But there are two issues occurred when I was building the example project of 'simple_broadcaster' respectively for app and stack. Maybe somewhere I config is not correct. The two errors (app and stack) are following :

  • The App building error is :

fcntl(): Bad file descriptor

Errors occurred during the build.
Errors running builder 'CDT Builder' on project 'simple_broadcaster_cc2650lp_app'.
java.lang.NullPointerException

 

  • The Stack building error is:

<Linking>

fcntl(): Bad file descriptor

fcntl(): Bad file descriptor

gmake[1]: warning: -jN forced in submake: disabling jobserver mode.

fcntl(): Bad file descriptor

INTERNAL ERROR: /Applications/ti/ccsv6/tools/compiler/ti-cgt-arm_15.12.1.LTS/bin/armlnk experienced a segmentation fault

gmake[1]: *** [simple_broadcaster_cc2650lp_stack.out] Error 1

gmake[1]: Target 'main-build' not remade because of errors.

gmake: *** [all] Error 2

>> Compilation failure

makefile:188: recipe for target 'simple_broadcaster_cc2650lp_stack.out' failed

makefile:180: recipe for target 'all' failed

and following a warning that is :

This project was created using a version of compiler that is not currently installed: 5.2.6 [ARM]. Another version of the compiler will be used during build: 15.12.1.LTS. Go to 'Help > Check for Updates' page to check for updates and visit <a href="liveaction:OpenAppCenter">CCS App Center</a> to get the latest compilers. Go to 'Help > Install New Software...' to install older compilers. Alternatively, migrate the project to one of the available compiler versions by adjusting project properties. simple_broadcaster_cc2650lp_stack properties Problems

I feel maybe the stack 's not building correctly results in the app error while the stack error maybe caused by lower compiler version,but I am not sure about that. 

Thanks.

  • evan zhu said:
    fcntl(): Bad file descriptor

    This is a known message that appears on MacOS when parallel builds are enabled (which they are by default for these example projects). It does not actually interfere with the build process itself, as mentioned in Step 10 here.

    evan zhu said:
    INTERNAL ERROR: /Applications/ti/ccsv6/tools/compiler/ti-cgt-arm_15.12.1.LTS/bin/armlnk experienced a segmentation fault

    This is a known bug in compiler tools v15.12.1.LTS that has since been fixed. You can update to v15.12.3 and set your project to build with that version and that should resolve the issue. Check this post for the procedure to update the compiler tools.