现在的位置: 首页 > 综合 > 正文

编译android内核出错

2013年10月05日 ⁄ 综合 ⁄ 共 227字 ⁄ 字号 评论关闭

在kernel文件夹下make,报kernel/cpuset.c:1380: error: ‘task’ undeclared (first use
in this function)

解决方法task -->tsk

drivers/hello/hello.c:233:2: error: implicit declaration of function ‘init_MUTEX’

解决方法: 注释掉drivers/hello/hello.c:
init_MUTEX(&(dev->sem));

抱歉!评论已关闭.