HI:
i try to compile elotouch driver and showme this:
:elocontrol# make -f makefile_2.4
/usr/bin/gcc -c -DMODULE -D__KERNEL__ -Wall -Wstrict-prototypes -O2
-I/usr/src/l
inux/include main.c
In file included from /usr/include/asm/memory.h:16,
from /usr/include/asm/cpu-single.h:35,
from /usr/include/asm/proc-fns.h:136,
from /usr/include/asm/system.h:67,
from /usr/include/asm/atomic.h:30,
from /usr/include/asm/processor.h:25,
from /usr/include/linux/prefetch.h:13,
from /usr/include/linux/list.h:7,
from /usr/include/linux/wait.h:14,
from /usr/include/linux/poll.h:8,
from elocontrol.h:1,
from main.c:10:
/usr/include/asm/arch/memory.h:44:2: #error "Undefined footbridge mode"
/usr/include/asm/arch/memory.h:62:2: #error "Undefined footbridge
architecture"
In file included from /usr/include/asm/cpu-single.h:35,
from /usr/include/asm/proc-fns.h:136,
from /usr/include/asm/system.h:67,
from /usr/include/asm/atomic.h:30,
from /usr/include/asm/processor.h:25,
from /usr/include/linux/prefetch.h:13,
from /usr/include/linux/list.h:7,
from /usr/include/linux/wait.h:14,
from /usr/include/linux/poll.h:8,
from elocontrol.h:1,
from main.c:10:
/usr/include/asm/memory.h: In function `virt_to_phys':
/usr/include/asm/memory.h:38: error: `PAGE_OFFSET' undeclared (first
use in this
function)
/usr/include/asm/memory.h:38: error: (Each undeclared identifier is
reported onl
y once
/usr/include/asm/memory.h:38: error: for each function it appears in.)
/usr/include/asm/memory.h: In function `phys_to_virt':
/usr/include/asm/memory.h:43: error: `PAGE_OFFSET' undeclared (first
use in this
function)
In file included from /usr/include/asm/page.h:27,
from /usr/include/asm/cpu-single.h:36,
from /usr/include/asm/proc-fns.h:136,
from /usr/include/asm/system.h:67,
from /usr/include/asm/atomic.h:30,
from /usr/include/asm/processor.h:25,
from /usr/include/linux/prefetch.h:13,
from /usr/include/linux/list.h:7,
from /usr/include/linux/wait.h:14,
from /usr/include/linux/poll.h:8,
from elocontrol.h:1,
from main.c:10:
/usr/include/asm/glue.h:102:2: #error Unknown data abort handler type
In file included from /usr/include/asm/cpu-single.h:36,
from /usr/include/asm/proc-fns.h:136,
from /usr/include/asm/system.h:67,
from /usr/include/asm/atomic.h:30,
from /usr/include/asm/processor.h:25,
from /usr/include/linux/prefetch.h:13,
from /usr/include/linux/list.h:7,
from /usr/include/linux/wait.h:14,
from /usr/include/linux/wait.h:14,
from elocontrol.h:1,
from main.c:10:
/usr/include/asm/page.h:88:2: #error Unknown user operations model
In file included from /usr/include/linux/mm.h:25,
from /usr/include/linux/poll.h:10,
from elocontrol.h:1,
from main.c:10:
/usr/include/asm/pgtable.h: In function `pmd_page_kernel':
/usr/include/asm/pgtable.h:280: error: `PAGE_OFFSET' undeclared (first
use in th
is function)
In file included from /usr/include/linux/poll.h:10,
from elocontrol.h:1,
from main.c:10:
/usr/include/linux/mm.h: In function `lowmem_page_address':
/usr/include/linux/mm.h:349: error: `PAGE_OFFSET' undeclared (first
use in this
function)
main.c: In function `elocontrol_open':
main.c:114: warning: `MOD_INC_USE_COUNT' is deprecated (declared at
/usr/include
/linux/module.h:482)
main.c: In function `elocontrol_release':
main.c:341: warning: `MOD_DEC_USE_COUNT' is deprecated (declared at
/usr/include
/linux/module.h:494)
make: *** [main.o] Error 1
thanks for yours replies.
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ts-7000/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/ts-7000/join
(Yahoo! ID required)
<*> To change settings via email:
<*> To unsubscribe from this group, send an email to:
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|