Warning: file_get_contents(/data/phpspider/zhask/data//catemap/4/c/72.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
C 在Keil中使用gnu工具链编译库_C_Arm_Keil_Newlib_Gnu Toolchain - Fatal编程技术网

C 在Keil中使用gnu工具链编译库

C 在Keil中使用gnu工具链编译库,c,arm,keil,newlib,gnu-toolchain,C,Arm,Keil,Newlib,Gnu Toolchain,我试图使用我在Keil中通过GNU工具链在debian下编译的库,并得到以下错误: .u内部版本\nrf52832\u xxaa\u s132.axf:错误:L6218E:未定义的符号 _不纯的 此符号来自newlib,如果没有newlib,如何使用arm-none-eabi-gcc编译库 我已经试过了-nostlib,但它不起作用。你不能。这就是出现错误的原因。您的库使用了一些glibc函数。它们需要重入。好的。似乎没有办法处理这件事。谢谢

我试图使用我在
Keil
中通过
GNU工具链
debian
下编译的库,并得到以下错误:

.u内部版本\nrf52832\u xxaa\u s132.axf:错误:L6218E:未定义的符号 _不纯的

此符号来自
newlib
,如果没有
newlib
,如何使用
arm-none-eabi-gcc
编译库


我已经试过了
-nostlib
,但它不起作用。

你不能。这就是出现错误的原因。您的库使用了一些glibc函数。它们需要重入。好的。似乎没有办法处理这件事。谢谢