-
Notifications
You must be signed in to change notification settings - Fork 60
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
reent.h: No such file or directory #16
Comments
After remove the /home/linhao/RISC-V/Codes/GNU_Tool/toolchain/lib/gcc/riscv64-unknown-elf/12.2.0/../../../../riscv64-unknown-elf/bin/ld: /home/linhao/RISC-V/Codes/GNU_Tool/toolchain/lib/gcc/riscv64-unknown-elf/12.2.0/../../../../riscv64-unknown-elf/lib/libc_nano.a(lib_a-malloc.o): ABI is incompatible with that of the selected emulation: It seemed that the project has something conflict with the 64bits riscv toolchain. |
换编译器,装的版本不能用,下个FreedomStudio |
我们依照这个方法在LicheePi4A的板子上面进行编译的
结果报错了
[ 97%] Building C object samples/usb2uartjtag/CMakeFiles/usb2uartjtag_bl702.elf.dir/home/debian/RV-Debugger-BL702/firmware/bl_mcu_sdk/bsp/bsp_common/platform/syscalls.c.obj
/home/debian/RV-Debugger-BL702/firmware/bl_mcu_sdk/bsp/bsp_common/platform/syscalls.c:1:10: fatal error: reent.h: No such file or directory
1 | #include <reent.h>
| ^~~~~~~~~
compilation terminated.
make[3]: *** [samples/usb2uartjtag/CMakeFiles/usb2uartjtag_bl702.elf.dir/build.make:174: samples/usb2uartjtag/CMakeFiles/usb2uartjtag_bl702.elf.dir/home/debian/RV-Debugger-BL702/firmware/bl_mcu_sdk/bsp/bsp_common/platform/syscalls.c.obj] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory '/home/debian/RV-Debugger-BL702/firmware/bl_mcu_sdk/build'
make[2]: *** [CMakeFiles/Makefile2:153: samples/usb2uartjtag/CMakeFiles/usb2uartjtag_bl702.elf.dir/all] Error 2
make[2]: Leaving directory '/home/debian/RV-Debugger-BL702/firmware/bl_mcu_sdk/build'
make[1]: *** [Makefile:91: all] Error 2
make[1]: Leaving directory '/home/debian/RV-Debugger-BL702/firmware/bl_mcu_sdk/build'
make: *** [Makefile:52: build] Error 2
能看下是什么原因么?
The text was updated successfully, but these errors were encountered: