ARM-software / ML-examples

Arm Machine Learning tutorials and examples

Home Page:https://developer.arm.com/technologies/machine-learning-on-arm

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Link error which i could not fix

mesut92 opened this issue · comments

Did anyone test this algorithm on Ubuntu?I am trying to run, but i got stuck one point and i could not fix it. Which versions should i use Ubuntu, python, Cmsis, tensorflow, gcc and g++ or etc... for this repo? I tried different versions, and tried refresh the conda, but it did not work.

here is the error which i got;
/usr/lib/gcc/arm-none-eabi/9.2.1/../../../arm-none-eabi/bin/ld: BUILD/NUCLEO_F411RE/GCC_ARM/mbed-os/platform/source/mbed_sdk_boot.o: in function __wrap_main': /media/mesut/2Depo/works/ML-examples/tflu-kws-cortex-m/tensorflow/tensorflow/lite/micro/tools/make/gen/linux_x86_64/prj/kws_cortex_m/mbed/./mbed-os/platform/source/mbed_sdk_boot.c:177: undefined reference to main'
collect2: error: ld returned 1 exit status
[ERROR] /usr/lib/gcc/arm-none-eabi/9.2.1/../../../arm-none-eabi/bin/ld: BUILD/NUCLEO_F411RE/GCC_ARM/mbed-os/platform/source/mbed_sdk_boot.o: in function __wrap_main': /media/mesut/2Depo/works/ML-examples/tflu-kws-cortex-m/tensorflow/tensorflow/lite/micro/tools/make/gen/linux_x86_64/prj/kws_cortex_m/mbed/./mbed-os/platform/source/mbed_sdk_boot.c:177: undefined reference to main'
collect2: error: ld returned 1 exit status

[mbed] ERROR: "/media/mesut/Depo1/anaconda3/bin/python" returned error.
Code: 1
Path: "/media/mesut/2Depo/works/ML-examples/tflu-kws-cortex-m/tensorflow/tensorflow/lite/micro/tools/make/gen/linux_x86_64/prj/kws_cortex_m/mbed"
Command: "/media/mesut/Depo1/anaconda3/bin/python -u /media/mesut/2Depo/works/ML-examples/tflu-kws-cortex-m/tensorflow/tensorflow/lite/micro/tools/make/gen/linux_x86_64/prj/kws_cortex_m/mbed/mbed-os/tools/make.py -t GCC_ARM -m NUCLEO_F411RE --source . --build ./BUILD/NUCLEO_F411RE/GCC_ARM"
Tip: You could retry the last command with "-v" flag for verbose output