Jee*_*tel 0 c linux floating-point linux-kernel
在linux内核模块中我有下面的代码.
float temp
temp = some_function();
if(temp < 0.0f) {
printk("error");
}
Run Code Online (Sandbox Code Playgroud)
我正在arm使用arm-none-linux-gnueabi-工具链交叉编译平台
我在这条线上得到了以下错误 if(temp < 0.0f) {
未定义的引用`__aeabi_fcmplt
我不明白为什么会发生这种情况.我是否缺少makefile中的任何链接?