2016-08-05 98 views
-1

在使用此guide 编译softiwarp的代码时,在编译内核目录中的代码时遇到以下错误。函数错误的隐式声明

error: implicit declaration of function ‘remap_vmalloc_range’ 
error: implicit declaration of function ‘vmalloc’ 
error: implicit declaration of function ‘vmalloc_user’ 
error: implicit declaration of function ‘vfree’ 

这里的任何人都可以帮助指导我,如何安装与此功能相关的库?我使用的是Ubuntu 16.04。

回答

0

这些函数在<linux/vmalloc.h>中声明。你需要#include那个标题。

+0

嗨a3f,感谢您的快速回复,这确实解决了我的问题。如果我遇到类似错误的其他库不包含错误,可以共享哪个目录? –

+0

寻找功能通常有帮助。 – a3f

相关问题