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

applications/protocols/http_server/simple_server - hal_machw.c:351: undefined reference to `g_bl_ops_funcs' #22

Open
jpat11 opened this issue Feb 13, 2024 · 0 comments

Comments

@jpat11
Copy link

jpat11 commented Feb 13, 2024

Hello,
I am trying to run the applications/protocols/http_server/simple_server code by following the instructions at (https://github.com/Ai-Thinker-Open/Ai-Thinker-WB2/tree/main/applications/protocols/http_server/simple_server) on a Ai-WB2-12F-Kit, and am getting the follow error when I run make -j8 in Ubuntu.

LD build_out/main.elf
/home/john/Ai-Thinker-WB2/toolchain/riscv/Linux/bin/../lib/gcc/riscv64-unknown-elf/10.2.0/../../../../riscv64-unknown-elf/bin/ld: /home/john/Ai-Thinker-WB2/components/network/wifi/lib/libwifi.a(hal_machw.o): in function hal_machw_init': /home/blxu/customer/aithinker/source_bliu_aithinker_iot_stable/components/network/wifi/ip/lmac/src/hal/hal_machw.c:351: undefined reference to g_bl_ops_funcs'
/home/john/Ai-Thinker-WB2/toolchain/riscv/Linux/bin/../lib/gcc/riscv64-unknown-elf/10.2.0/../../../../riscv64-unknown-elf/bin/ld: /home/blxu/customer/aithinker/source_bliu_aithinker_iot_stable/components/network/wifi/ip/lmac/src/hal/hal_machw.c:351: undefined reference to g_bl_ops_funcs' /home/john/Ai-Thinker-WB2/toolchain/riscv/Linux/bin/../lib/gcc/riscv64-unknown-elf/10.2.0/../../../../riscv64-unknown-elf/bin/ld: /home/john/Ai-Thinker-WB2/components/network/wifi/lib/libwifi.a(mm.o): in function element_notify_status_enabled':
/home/blxu/customer/aithinker/source_bliu_aithinker_iot_stable/components/network/wifi/ip/lmac/src/mm/mm.c:1818: undefined reference to g_bl_ops_funcs' /home/john/Ai-Thinker-WB2/toolchain/riscv/Linux/bin/../lib/gcc/riscv64-unknown-elf/10.2.0/../../../../riscv64-unknown-elf/bin/ld: /home/blxu/customer/aithinker/source_bliu_aithinker_iot_stable/components/network/wifi/ip/lmac/src/mm/mm.c:1818: undefined reference to g_bl_ops_funcs'
/home/john/Ai-Thinker-WB2/toolchain/riscv/Linux/bin/../lib/gcc/riscv64-unknown-elf/10.2.0/../../../../riscv64-unknown-elf/bin/ld: /home/john/Ai-Thinker-WB2/components/network/wifi/lib/libwifi.a(mm.o): in function element_notify_time_last_received_set': /home/blxu/customer/aithinker/source_bliu_aithinker_iot_stable/components/network/wifi/ip/lmac/src/mm/mm.c:1825: undefined reference to g_bl_ops_funcs'
/home/john/Ai-Thinker-WB2/toolchain/riscv/Linux/bin/../lib/gcc/riscv64-unknown-elf/10.2.0/../../../../riscv64-unknown-elf/bin/ld: /home/john/Ai-Thinker-WB2/components/network/wifi/lib/libwifi.a(mm.o):/home/blxu/customer/aithinker/source_bliu_aithinker_iot_stable/components/network/wifi/ip/lmac/src/mm/mm.c:1825: more undefined references to `g_bl_ops_funcs' follow
collect2: error: ld returned 1 exit status
make: *** [/home/john/Ai-Thinker-WB2/applications/protocols/http_server/simple_server/../../../../make_scripts_riscv/project.mk:483: /home/john/Ai-Thinker-WB2/applications/protocols/http_server/simple_server/build_out/main.elf] Error 1

Can anyone point me in the right direction?

Thank you!
John

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