※ 引述《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
--
All Comments