編譯driver的錯誤 SA_INTERRUPT - Linux
By Emma
at 2010-06-17T17:35
at 2010-06-17T17:35
Table of Contents
我在編譯 driver 時, 發生了幾個錯誤
error: 'SA_INTERRUPT' undeclared (first use in this function)
error: 'SA_SHIRQ' undeclared (first use in this function)
我有查過一些資料, 說
這個缺乏的宣告, 好像是在 linux/sched.h 下,
而我也看到我編譯的檔案裡面確實有這兩行
#include <linux/sched.h>
#include <linux/interrupt.h>
然後我到 /usr/src/linux-headers-2.6.31-21-generic/include/linux 去找
發現 SA_INTERRUPT 似乎沒有被定義在這個目錄下任何檔案中..
這個錯誤要怎樣處理?
--
Tags:
Linux
All Comments
By Heather
at 2010-06-19T00:01
at 2010-06-19T00:01
By Edward Lewis
at 2010-06-23T21:23
at 2010-06-23T21:23
By Christine
at 2010-06-25T16:40
at 2010-06-25T16:40
By Noah
at 2010-06-28T22:00
at 2010-06-28T22:00
By Freda
at 2010-07-02T17:02
at 2010-07-02T17:02
By Doris
at 2010-07-03T22:41
at 2010-07-03T22:41
By Hedy
at 2010-07-04T13:39
at 2010-07-04T13:39
By Frederica
at 2010-07-08T16:04
at 2010-07-08T16:04
Related Posts
不知道看影片學Linux會不會快一點
By Olivia
at 2010-06-16T17:37
at 2010-06-16T17:37
ubuntu 10.04 如何驅動 EZ100PU讀卡機?
By Andrew
at 2010-06-16T12:31
at 2010-06-16T12:31
Qt
By Ida
at 2010-06-16T01:41
at 2010-06-16T01:41
32 bit 的 ubunto 能抓幾g ram
By Hazel
at 2010-06-16T00:22
at 2010-06-16T00:22
ubuntu 10.04 big5
By Tristan Cohan
at 2010-06-15T14:09
at 2010-06-15T14:09