Compiling nRF52840 example in Debian Linux -error:cannot compute suffix

54 views
Skip to first unread message

mjkuwp94

unread,
Mar 6, 2021, 7:07:01 PM3/6/21
to openthread-users

checking for suffix of object files... configure: error: in `/home/mark/github/openthread/build/nrf52840':
configure: error: cannot compute suffix of object files: cannot compile
See `config.log' for more details
make: *** [examples/Makefile-nrf52840:329: build/nrf52840/config.status] Error 1

gcc --version
gcc (Debian 8.3.0-6) 8.3.0

This is Debian (Buster) 64 bit that I just built today on a Mac Mini and I am
following

/examples/platforms/nrf528xx/nrf52840

does anyone have a suggestion what the problem might be.
config.log

Yakun Xu

unread,
Mar 6, 2021, 8:08:34 PM3/6/21
to openthread-users
Did you run ./script/bootstrap at first? It seem the arm gcc is not installed.

Yakun Xu

unread,
Mar 6, 2021, 9:06:50 PM3/6/21
to openthread-users
Unfortunately, the script/bootstrap only works on Ubuntu. You may check the script and run the part of installing arm gcc manually:

        sudo apt-get --no-install-recommends install -y ca-certificates wget
        (cd /tmp \
            && tar xjf gcc-arm-none-eabi-9-2020-q2-update-x86_64-linux.tar.bz2 -C /opt \
            && rm gcc-arm-none-eabi-9-2020-q2-update-x86_64-linux.tar.bz2 \
            && sudo ln -s -f /opt/gcc-arm-none-eabi-9-2020-q2-update/bin/* /usr/local/bin/.)


Reply all
Reply to author
Forward
0 new messages