简体   繁体   中英

Implicit declaration of function error

While compiling code for softiwarp using this guide I encountered the following errors while compile codes in kernel directory.

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’

Anyone here could help guide me, how to install the libraries related to this function? I'm using ubuntu 16.04.

These functions are declared in <linux/vmalloc.h> . You need to #include that header.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM