当前位置: 代码迷 >> 驱动开发 >> 新手,编译驱动模块出现的异常
  详细解决方案

新手,编译驱动模块出现的异常

热度:34   发布时间:2016-04-28 10:22:05.0
新手求助,编译驱动模块出现的错误
include/asm/timex.h:15:28: error: asm/arch/timex.h: No such file or directory
In file included from include/linux/sched.h:51,
                 from /home/davy/modulepro_tw2823/tw2823_outclient.c:11:
include/linux/jiffies.h:225:31: warning: "CLOCK_TICK_RATE" is not defined
include/linux/jiffies.h:225:31: warning: "CLOCK_TICK_RATE" is not defined
include/linux/jiffies.h:225:31: error: division by zero in #if
include/linux/jiffies.h:225:31: warning: "CLOCK_TICK_RATE" is not defined
include/linux/jiffies.h:225:31: warning: "CLOCK_TICK_RATE" is not defined
include/linux/jiffies.h:225:31: error: division by zero in #if
include/linux/jiffies.h:225:31: warning: "CLOCK_TICK_RATE" is not defined
include/linux/jiffies.h:225:31: warning: "CLOCK_TICK_RATE" is not defined
include/linux/jiffies.h:225:31: error: division by zero in #if
include/linux/jiffies.h:225:31: error: division by zero in #if
include/linux/jiffies.h:225:31: warning: "CLOCK_TICK_RATE" is not defined
include/linux/jiffies.h:225:31: warning: "CLOCK_TICK_RATE" is not defined
include/linux/jiffies.h:225:31: error: division by zero in #if
include/linux/jiffies.h:225:31: warning: "CLOCK_TICK_RATE" is not defined
include/linux/jiffies.h:225:31: warning: "CLOCK_TICK_RATE" is not defined
include/linux/jiffies.h:225:31: error: division by zero in #if
include/linux/jiffies.h:225:31: warning: "CLOCK_TICK_RATE" is not defined
include/linux/jiffies.h:225:31: warning: "CLOCK_TICK_RATE" is not defined
include/linux/jiffies.h:225:31: error: division by zero in #if
include/linux/jiffies.h:225:31: error: division by zero in #if
include/linux/jiffies.h:225:31: warning: "CLOCK_TICK_RATE" is not defined
include/linux/jiffies.h:225:31: warning: "CLOCK_TICK_RATE" is not defined
include/linux/jiffies.h:225:31: error: division by zero in #if
include/linux/jiffies.h:225:31: warning: "CLOCK_TICK_RATE" is not defined
include/linux/jiffies.h:225:31: warning: "CLOCK_TICK_RATE" is not defined
include/linux/jiffies.h:225:31: error: division by zero in #if
include/linux/jiffies.h:225:31: warning: "CLOCK_TICK_RATE" is not defined
  相关解决方案