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

Can't compile NRF52 examples

Following this tutorial : devzone.nordicsemi.com/.../

I type 'make' and it compiles for a bit and then I get a bunch of errors that say this:

[278]: *** [_build/nrf52840_xxaa.out] Error 2
make[277]: *** [_build/nrf52840_xxaa.out] Error 2
make[276]: *** [_build/nrf52840_xxaa.out] Error 2
make[275]: *** [_build/nrf52840_xxaa.out] Error 2
make[274]: *** [_build/nrf52840_xxaa.out] Error 2
make[273]: *** [_build/nrf52840_xxaa.out] Error 2
make[272]: *** [_build/nrf52840_xxaa.out] Errmake: *** [_build/nrf52840_xxaa.out
] Error 66048

image description

image description83c)

Parents
  • I'm hitting the same problem. Here's the full error:

    ../../../../../../components/toolchain/gcc/Makefile.common:26: *** Cannot find: "C:\Program Files (x86)\GNU Tools ARM Embedded\6 2017-q1-update/bin/arm-none-eabi-gcc".. Stop. The failing line in the makefile is:

    $(if $(shell $(CC) --version),,$(info Cannot find: $(CC).) \
      $(info Please set values in: "$(abspath $(TOOLCHAIN_CONFIG_FILE))") \
      $(info according to the actual configuration of your system.) \
      $(error Cannot continue))
    

    I thought it might be an issue with spaces in the path, but a different location didn't help. Am I missing the shell? When I commented out the lines above, I got a different error:

          0 [main] sh 32748 sync_with_child: child 9328(0x3AF4) died before initialization with status code )xC0000142
       3027 [main] sh 32748 sync_with_child: *** child state waiting for longjmp
    /usr/bin/sh: fork: Resource temporarily unavailable
    
Reply
  • I'm hitting the same problem. Here's the full error:

    ../../../../../../components/toolchain/gcc/Makefile.common:26: *** Cannot find: "C:\Program Files (x86)\GNU Tools ARM Embedded\6 2017-q1-update/bin/arm-none-eabi-gcc".. Stop. The failing line in the makefile is:

    $(if $(shell $(CC) --version),,$(info Cannot find: $(CC).) \
      $(info Please set values in: "$(abspath $(TOOLCHAIN_CONFIG_FILE))") \
      $(info according to the actual configuration of your system.) \
      $(error Cannot continue))
    

    I thought it might be an issue with spaces in the path, but a different location didn't help. Am I missing the shell? When I commented out the lines above, I got a different error:

          0 [main] sh 32748 sync_with_child: child 9328(0x3AF4) died before initialization with status code )xC0000142
       3027 [main] sh 32748 sync_with_child: *** child state waiting for longjmp
    /usr/bin/sh: fork: Resource temporarily unavailable
    
Children
No Data
Related