Skip to content

Undefined reference to the main error #108

Description

@gokmenomer

Compile [ 97.2%]: arm_cfft_radix4_init_f32.c
Compile [ 97.5%]: arm_cfft_radix8_f32.c
Compile [ 97.8%]: arm_dct4_f32.c
Compile [ 98.1%]: arm_dct4_init_f32.c
Compile [ 98.4%]: arm_rfft_fast_f32.c
Compile [ 98.8%]: arm_rfft_f32.c
Compile [ 99.1%]: arm_rfft_fast_init_f32.c
Compile [ 99.4%]: arm_rfft_init_f32.c
Compile [ 99.7%]: test_helpers.cc
Compile [100.0%]: schema_utils.cc
Link: mbed
c:/program files (x86)/gnu arm embedded toolchain/9 2020-q2-update/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/bin/ld.exe: BUILD/NUCLEO_F411RE/GCC_ARM/mbed-os/platform/source/mbed_sdk_boot.o: in
function __wrap_main': C:\Users\b720\Desktop\Repo\KWS_MCU\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.exe: error: ld returned 1 exit status
[ERROR] c:/program files (x86)/gnu arm embedded toolchain/9 2020-q2-update/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/bin/ld.exe: BUILD/NUCLEO_F411RE/GCC_ARM/mbed-os/platform/source/mbed_sdk_boot.o: in function __wrap_main': C:\Users\b720\Desktop\Repo\KWS_MCU\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.exe: error: ld returned 1 exit status

[mbed] ERROR: "C:\ProgramData\Anaconda3\envs\kws_mcu\python.exe" returned error.
Code: 1
Path: "C:\Users\b720\Desktop\Repo\KWS_MCU\tensorflow\tensorflow\lite\micro\tools\make\gen\linux_x86_64\prj\kws_cortex_m\mbed"
Command: "C:\ProgramData\Anaconda3\envs\kws_mcu\python.exe -u C:\Users\b720\Desktop\Repo\KWS_MCU\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

Is there anyono who see this error? and help me to solve this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions