Ads 468x60px

##EasyReadMore##

22 2月, 2017

linux 2.4 driver code 轉 2.6 會發生的錯誤

error: implicit declaration of function ‘kmalloc’
#include <linux/slab.h>

error: implicit declaration of function ‘msleep’
#include <linux/delay.h>

error: dereferencing pointer to incomplete type
#include <linux/sched.h>

error: 'TASK_KILLABLE' undeclared
#include <linux/sched.h>
#include <linux/wait.h>

0 意見:

張貼留言

 
Blogger Templates