ARMmbed

Compiling Dot-Examples in a local project

Hi,

I’ve been running into problems when trying to compile the Dot-Examples program on my local machine.

What I’m doing is:
mbed import https://ccalas@os.mbed.com/teams/MultiTech/code/Dot-Examples/
mbed add https://ccalas@os.mbed.com/teams/MultiTech/code/libmDot-mbed5/
mbed deploy
mbed compile -t GCC_ARM

The mbed config -L command returns:
[mbed] Global config:
GCC_ARM_PATH=/home/colin/gcc-arm-none-eabi-6-2017-q2-update/bin
TARGET=MTS_MDOT_F411RE

[mbed] Local config (/home/colin/workspace/Dot-Examples):
No local configuration is set

The gcc directory I downloaded contains:
colin@colin-Latitude-E5430-non-vPro:~/gcc-arm-none-eabi-6-2017-q2-update$ tree -L 2
.
├── arm-none-eabi
│ ├── bin
│ ├── include
│ ├── lib
│ └── share
├── bin
│ ├── arm-none-eabi-addr2line
│ ├── arm-none-eabi-ar
│ ├── arm-none-eabi-as
│ ├── arm-none-eabi-c++
│ ├── arm-none-eabi-c++filt
│ ├── arm-none-eabi-cpp
│ ├── arm-none-eabi-elfedit
│ ├── arm-none-eabi-g++
│ ├── arm-none-eabi-gcc
│ ├── arm-none-eabi-gcc-6.3.1
│ ├── arm-none-eabi-gcc-ar
│ ├── arm-none-eabi-gcc-nm
│ ├── arm-none-eabi-gcc-ranlib
│ ├── arm-none-eabi-gcov
│ ├── arm-none-eabi-gcov-dump
│ ├── arm-none-eabi-gcov-tool
│ ├── arm-none-eabi-gdb
│ ├── arm-none-eabi-gdb-py
│ ├── arm-none-eabi-gprof
│ ├── arm-none-eabi-ld
│ ├── arm-none-eabi-ld.bfd
│ ├── arm-none-eabi-nm
│ ├── arm-none-eabi-objcopy
│ ├── arm-none-eabi-objdump
│ ├── arm-none-eabi-ranlib
│ ├── arm-none-eabi-readelf
│ ├── arm-none-eabi-size
│ ├── arm-none-eabi-strings
│ └── arm-none-eabi-strip
├── lib
│ ├── gcc
│ ├── libcc1.so -> libcc1.so.0.0.0
│ ├── libcc1.so.0 -> libcc1.so.0.0.0
│ └── libcc1.so.0.0.0
└── share
├── doc
└── gcc-arm-none-eabi

My project directory contains:
colin@colin-Latitude-E5430-non-vPro:~/workspace/Dot-Examples$ tree -L 1
.
├── examples
├── libmDot-mbed5
├── libmDot-mbed5.lib
├── mbed-os
├── mbed-os.lib
├── mbed_settings.py
├── mbed_settings.pyc
└── setup.sh

You can download the log I obtain here:


(Sorry I can’t upload a .txt in the forum editor)

Maybe someone already had a similar problem or knows what I’ve done wrong ?

Thanks for reading me,

Regards.

Ok I found the solution.

The latest gcc-arm toolchain is not supported, I used the 4.9 q3 instead and the lib32ncurses5 is needed on ubuntu, just apt-get it.