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

Build error on Ubuntu 20.04: riscv64-unknown-elf-gcc: fatal error: cannot execute 'cc1': execvp: No such file or directory #19

Open
zhengzhide opened this issue Nov 17, 2023 · 0 comments

Comments

@zhengzhide
Copy link

根据官方环境搭建指导(https://aithinker.blog.csdn.net/article/details/125604649),编译碰到这个问题,试过一些方法,例如apt-get install gcc-g++,等,没有解决,请问谁能给些帮助?谢谢!

de@z:/data/repos/wifible/Ai-Thinker-WB2/applications/bluetooth/ble_master$ ./genromap
****** Please SET BL60X_SDK_PATH ******
****** Trying SDK PATH [/data/repos/wifible/Ai-Thinker-WB2/applications/bluetooth/ble_master/../../..]
Your configuration chipname is Ai-Thinker Ai-WB2 Wi-Fi&BLE Module
AS build_out/bl602/evb/src/boot/gcc/entry.o
AS build_out/bl602/evb/src/boot/gcc/start.o
CC build_out/bl_os_adapter/bl_os_adapter/bl_os_hal.o
CC build_out/bl602/evb/src/strntoumax.o
CC build_out/bl602/evb/src/debug.o
CC build_out/bl602/bfl_main.o
CC build_out/blcrypto_suite/src/blcrypto_suite_bignum.o
CC build_out/bl602_std/bl602_std/StdDriver/Src/bl602_uart.o
CC build_out/bl602_std/bl602_std/StdDriver/Src/bl602_adc.o
CC build_out/blcrypto_suite/src/blcrypto_suite_ecp.o
riscv64-unknown-elf-gcc: fatal error: cannot execute 'cc1': execvp: No such file or directory
riscv64-unknown-elf-gcc: fatal error: cannot execute 'cc1': execvp: No such file or directory
compilation terminated.
compilation terminated.
CC build_out/ble_master/ble_central_api.o
make[1]: *** [/data/repos/wifible/Ai-Thinker-WB2/make_scripts_riscv/component_wrapper.mk:313: evb/src/boot/gcc/entry.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: *** [/data/repos/wifible/Ai-Thinker-WB2/make_scripts_riscv/component_wrapper.mk:313: evb/src/boot/gcc/start.o] Error 1
riscv64-unknown-elf-gcc: fatal error: cannot execute 'cc1': execvp: No such file or directory
compilation terminated.
make[1]: *** [/data/repos/wifible/Ai-Thinker-WB2/make_scripts_riscv/component_wrapper.mk:313: bl_os_adapter/bl_os_hal.o] Error 1
riscv64-unknown-elf-gcc: fatal error: cannot execute 'cc1': execvp: No such file or directory
compilation terminated.
make: *** [/data/repos/wifible/Ai-Thinker-WB2/applications/bluetooth/ble_master/../../../make_scripts_riscv/project.mk:577: component-bl_os_adapter-build] Error 2
make: *** Waiting for unfinished jobs....
make[1]: *** [/data/repos/wifible/Ai-Thinker-WB2/make_scripts_riscv/component_wrapper.mk:313: evb/src/debug.o] Error 1

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