在使用CH582移植Lua解析器遇到報(bào)錯(cuò)
d:/mounriver_studio/toolchain/risc-v?embedded?gcc/bin/../lib/gcc/riscv-none-embed/8.2.0/../../../../riscv-none-embed/bin/ld.exe:?./lua/lobject.o:?in?function?`numarith': E:\CH582_LUA\obj/../lua/lobject.c:80:?undefined?reference?to?`pow' d:/mounriver_studio/toolchain/risc-v?embedded?gcc/bin/../lib/gcc/riscv-none-embed/8.2.0/../../../../riscv-none-embed/bin/ld.exe:?E:\CH582_LUA\obj/../lua/lobject.c:81:?undefined?reference?to?`floor' d:/mounriver_studio/toolchain/risc-v?embedded?gcc/bin/../lib/gcc/riscv-none-embed/8.2.0/../../../../riscv-none-embed/bin/ld.exe:?./lua/lvm.o:?in?function?`luaV_flttointeger': E:\CH582_LUA\obj/../lua/lvm.c:122:?undefined?reference?to?`floor' d:/mounriver_studio/toolchain/risc-v?embedded?gcc/bin/../lib/gcc/riscv-none-embed/8.2.0/../../../../riscv-none-embed/bin/ld.exe:?./lua/lvm.o:?in?function?`luaV_modf': E:\CH582_LUA\obj/../lua/lvm.c:760:?undefined?reference?to?`fmod' d:/mounriver_studio/toolchain/risc-v?embedded?gcc/bin/../lib/gcc/riscv-none-embed/8.2.0/../../../../riscv-none-embed/bin/ld.exe:?./lua/lvm.o:?in?function?`luaV_execute': ?????????????RAM:????????3464?B????????32?KB?????10.57% E:\CH582_LUA\obj/../lua/lvm.c:1414:?undefined?reference?to?`pow' d:/mounriver_studio/toolchain/risc-v?embedded?gcc/bin/../lib/gcc/riscv-none-embed/8.2.0/../../../../riscv-none-embed/bin/ld.exe:?E:\CH582_LUA\obj/../lua/lvm.c:1476:?undefined?reference?to?`pow' d:/mounriver_studio/toolchain/risc-v?embedded?gcc/bin/../lib/gcc/riscv-none-embed/8.2.0/../../../../riscv-none-embed/bin/ld.exe:?E:\CH582_LUA\obj/../lua/lvm.c:1862:?undefined?reference?to?`floor' d:/mounriver_studio/toolchain/risc-v?embedded?gcc/bin/../lib/gcc/riscv-none-embed/8.2.0/../../../../riscv-none-embed/bin/ld.exe:?./lua/lvm.o:?in?function?`pushclosure': E:\CH582_LUA\obj/../lua/lvm.c:798:?undefined?reference?to?`floor' collect2.exe:?error:?ld?returned?1?exit?status make:?***?[makefile:56:?CH582_LUA.elf]?Error?1
搜索到的解決方案是添加編譯器參數(shù),但是MounRiver Studio應(yīng)該怎么添加編譯器參數(shù)呢?
或者MounRiver Studio可以使用MicroLIB 嗎?
熱門產(chǎn)品 :
CH339: 7端口多功能USB HUB控制器芯片