編譯driver的錯誤 SA_INTERRUPT - Linux
By Kyle
at 2010-06-17T18:50
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
--
: 我在編譯 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
By Michael
at 2010-06-22T17:05
at 2010-06-22T17:05
By Bennie
at 2010-06-25T09:39
at 2010-06-25T09:39
Related Posts
編譯driver的錯誤 SA_INTERRUPT
By Emma
at 2010-06-17T17:35
at 2010-06-17T17:35
新手發問
By Freda
at 2010-06-17T15:27
at 2010-06-17T15:27
請推薦適合做科學運算用的linux
By Christine
at 2010-06-17T03:21
at 2010-06-17T03:21
wake-on-lan
By Jessica
at 2010-06-17T01:36
at 2010-06-17T01:36
不知道看影片學Linux會不會快一點
By Olivia
at 2010-06-16T17:37
at 2010-06-16T17:37