編譯driver的錯誤 SA_INTERRUPT - Linux

Kyle avatar
By Kyle
at 2010-06-17T18:50

Table of Contents

※ 引述《longrider (龍騎士2)》之銘言:
: 我在編譯 driver 時, 發生了幾個錯誤
: error: 'SA_INTERRUPT' undeclared (first use in this function)
: error: 'SA_SHIRQ' undeclared (first use in this function)

謝謝 james732, 新的問題出現了
mmap.c: In function 'si_vmanopage':
mmap.c:113: error: 'NOPAGE_SIGBUS' undeclared (first use in this function)
mmap.c:113: error: (Each undeclared identifier is reported only once
mmap.c:113: error: for each function it appears in.)
mmap.c: At top level:
mmap.c:146: error: unknown field 'nopage' specified in initializer
mmap.c:147: warning: initialization from incompatible pointer type
mmap.c: In function 'si_alloc_memory':
mmap.c:321: warning: unused variable 'flags'

新的是 'NOPAGE_SIGBUS' undeclared


--
Tags: Linux

All Comments

Michael avatar
By Michael
at 2010-06-22T17:05
繼續GOOGLE
Bennie avatar
By Bennie
at 2010-06-25T09:39
這個我就沒遇過了耶 XD 只能說加油了

編譯driver的錯誤 SA_INTERRUPT

Emma avatar
By Emma
at 2010-06-17T17:35
我在編譯 driver 時, 發生了幾個錯誤 error: and#39;SA_INTERRUPTand#39; undeclared (first use in this function) error: and#39;SA_SHIRQand#39; undeclared (first use in thi ...

新手發問

Freda avatar
By Freda
at 2010-06-17T15:27
最近原PO想試著裝LINUX在原PO的小筆電上 爬了很多文 還沒決定要用哪一版的LINUX,倒是有幾個問題想請鄉民們解答 1)64Bit 跟32Bit 用起來差在哪? 2)UBUNTU 似乎比較多人用,可是10.04真的有比9.10 糟嗎? 3)版上好像都沒有關於 FEDORA 13 的文,是12比 ...

請推薦適合做科學運算用的linux

Christine avatar
By Christine
at 2010-06-17T03:21
※ 引述《sinlin (新生活!~)》之銘言: : 請問一下 : 我們實驗室進了四台新的電腦 : 現在我被要求把它們平行化 : 有哪一套linux軟體是有針對科學運算的效率開發的嗎? : 我看以前學長在用都是用red hat,不過他自己也說現在用那個太舊了 : 我現在自己的電腦是用ubuntu : 如果是用 ...

wake-on-lan

Jessica avatar
By Jessica
at 2010-06-17T01:36
我的家用電腦系統是 triple-boot win7/fedora12/freebsd8.0 想要從遠端電腦傳送 magic packet, 經由主機板內建的網路卡開機, 主機板是 ASUS M2N-E SLI, 晶片組是 NVIDIA nForce 500 SLI 每次使用 fedora12, 關機後都能 ...

不知道看影片學Linux會不會快一點

Olivia avatar
By Olivia
at 2010-06-16T17:37
這樣學習效率應該比較快 各位說是不是~~~Come On!!! ╰(‵◇ ′#)╯ Come On!!! http://tinyurl.com/2fyj7kk -- 白刃臨頭唯一笑, 青天在高任人狂。 ~劍車~冷傲真 - ...