Beware that this post is related to an SDK in maintenance mode
More Info: Consider nRF Connect SDK for new designs

Lots of "No such file or directory" errors when "make -j all" command is used

Hi everyone,

I am new to nRF52833, and trying to learn it with some tutorials. I am following this tutorial.

You can download my "examples" file from here. You should put it under "examples" folder.

I am attaching the errors when I execute "make -j all" command under the directory of "...pca10100\s140\armgcc"

Also, I give some details below.

DK: nRF52833-DK

pca number: pca10100

SDK: NRF5_SDK_15.0.0


These are the errors I get:

PS C:\Users\alper\Desktop\nRF5_SDK\nRF5_SDK_15.0.0\nRF5_SDK_15.0.0_a53641a_s140\nRF5_SDK_15.0.0_a53641a\examples\my_projects\nrf52-ble-tutorial-advertising-copy2\pca10100\s140\armgcc> make -j all
Makefile:297: Cannot find source file: ../../../../../../modules/nrfx/mdk/gcc_startup_nrf52833.S
Makefile:297: Cannot find source file: ../../../../../../modules/nrfx/mdk/system_nrf52833.c
Assembling file: gcc_startup_nrf52833.S
Compiling file: nrf_log_backend_rtt.c
Compiling file: nrf_log_backend_serial.c
arm-none-eabi-gcc.exe:Compiling file: nrf_log_backend_uart.c
error: ../../../../../../modules/nrfx/mdk/gcc_startup_nrf52833.S: No such file or directory
arm-none-eabi-gcc.exe: fatal error: no input files
compiarm-none-eabi-gcc.exe:la t oerror: n ../../../../../../components/libraries/experimental_log/src/nrf_log_backend_rtt.c: No such file or directory
tCompiling file: nrf_log_default_backends.cer
minated.
arm-none-eabi-gcc.exe: fatal error: no input files
compilation terminated.
arm-none-eabi-gcc.exe: error: ../../../../../../components/libraries/experimental_log/src/nrf_log_backend_serial.c: No such file or directory
arm-none-eabi-gcc.exe:make: *** [../../../../../../components/toolchain/gcc/Makefile.common:280: _build/nrf52833_xxaa/gcc_startup_nrf52833.S.o] Error 1
 fatal error: make: *** Waiting for unfinished jobs....
make: *** [../../../../../../components/toolchain/gcc/Makefile.common:272: _build/nrf52833_xxaa/nrf_log_backend_rtt.c.o] Error 1  
no input files
compilation terminated.
arm-none-eabi-gcc.exe: error: ../../../../../../components/libraries/experimental_log/src/nrf_log_backend_uart.c: No such file or directory
arm-none-eabi-gcc.exe: fatal error: no input files
compilation terminated.
arm-none-eabi-gcc.exe: error: ../../../../../../components/libraries/experimental_log/src/nrf_log_default_backends.c: No such file or directory
make: *** [../../../../../../components/toolchain/gcc/Makefile.common:272: _build/nrf52833_xxaa/nrf_log_backend_serial.c.o] Error 1
arm-none-eabi-gcc.exe: fatal error: no input files
compilation terminated.
make: *** [../../../../../../components/toolchain/gcc/Makefile.common:272: _build/nrf52833_xxaa/nrf_log_backend_uart.c.o] Error 1
make: *** [../../../../../../components/toolchain/gcc/Makefile.common:272: _build/nrf52833_xxaa/nrf_log_default_backends.c.o] Error 1

If you want some other details, I can share with you.

Thanks,

Omer

Parents Reply Children
  • Hello Maria,

    Several hours after posting this question, I realized this incompatibility issue when I don't see the name of my kit in "...modules\nrfx\mdk" and its "pca number" in "readme.txt" of the examples.

    Recently I have been surfing from one SDK to another SDK to run my tutorial. But the thing is I had lots of problems with both. I will try to post those with the new SDK here.

    Edit: Maybe, I should post them by opening a new discussion.

    Thanks for your reply,

    Omer

Related