Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Undefined reference to the main error #108

Open
Omer-sync opened this issue Dec 28, 2022 · 0 comments
Open

Undefined reference to the main error #108

Omer-sync opened this issue Dec 28, 2022 · 0 comments

Comments

@Omer-sync
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant