GLUG Meeting on 13th July, 4pm at KReSIT, IIT Campus, Powai. 
----------------------------------------------------------
Hello friends ,
               I am getting problem in compiling my
module (RAMDISK kernel module).My kernel version is
Linux indus 2.4.18-14 . The following errors i am
getting plz help me to solve them .

gcc -D__KERNEL__ -I/usr/src/linux-2.4.18-14/include/
-DMODULE  -Wall -O2   -c -o radimo_del.o radimo_del.c

               In file included from radimo_del.c:21:
/usr/src/linux-2.4.18-14/include/linux/vmalloc.h: In
function `vmalloc':
/usr/src/linux-2.4.18-14/include/linux/vmalloc.h:35:
`boot_cpu_data_R0657d037' undeclared (first use in
this function)
/usr/src/linux-2.4.18-14/include/linux/vmalloc.h:35:
(Each undeclared identifier is reported only once
/usr/src/linux-2.4.18-14/include/linux/vmalloc.h:35:
for each function it appears in.)
/usr/src/linux-2.4.18-14/include/linux/vmalloc.h: In
function `vmalloc_dma':
/usr/src/linux-2.4.18-14/include/linux/vmalloc.h:44:
`boot_cpu_data_R0657d037' undeclared (first use in
this function)
/usr/src/linux-2.4.18-14/include/linux/vmalloc.h: In
function `vmalloc_32':
/usr/src/linux-2.4.18-14/include/linux/vmalloc.h:53:
`boot_cpu_data_R0657d037' undeclared (first use in
this function)
In file included from
/usr/src/linux-2.4.18-14/include/linux/highmem.h:5,
                 from
/usr/src/linux-2.4.18-14/include/linux/pagemap.h:16,
                 from
/usr/src/linux-2.4.18-14/include/linux/locks.h:8,
                 from
/usr/src/linux-2.4.18-14/include/linux/blk.h:5,
                 from radimo_del.c:33:
/usr/src/linux-2.4.18-14/include/asm/pgalloc.h: In
function `get_pgd_fast':
/usr/src/linux-2.4.18-14/include/asm/pgalloc.h:78:
`boot_cpu_data_R0657d037' undeclared (first use in
this function)
/usr/src/linux-2.4.18-14/include/asm/pgalloc.h: In
function `free_pgd_fast':
/usr/src/linux-2.4.18-14/include/asm/pgalloc.h:89:
`boot_cpu_data_R0657d037' undeclared (first use in
this function)
/usr/src/linux-2.4.18-14/include/asm/pgalloc.h: In
function `pte_alloc_one_fast':
/usr/src/linux-2.4.18-14/include/asm/pgalloc.h:127:
`boot_cpu_data_R0657d037' undeclared (first use in
this function)
/usr/src/linux-2.4.18-14/include/asm/pgalloc.h: In
function `pte_free_fast':
/usr/src/linux-2.4.18-14/include/asm/pgalloc.h:137:
`boot_cpu_data_R0657d037' undeclared (first use in
this function)
radimo_del.c: At top level:
radimo_del.c:72: warning: initialization from
incompatible pointer type
radimo_del.c:73: warning: initialization from
incompatible pointer type
radimo_del.c:76: warning: initialization from
incompatible pointer type
radimo_del.c:78: warning: initialization from
incompatible pointer type
radimo_del.c:80: warning: initialization from
incompatible pointer type
radimo_del.c:83: warning: initialization from
incompatible pointer type
radimo_del.c:84: warning: initialization from
incompatible pointer type
radimo_del.c:89: conflicting types for
`radimo_request1'
/usr/src/linux-2.4.18-14/include/linux/blk.h:369:
previous declaration of `radimo_request1'
radimo_del.c: In function `init_module':
radimo_del.c:317: warning: assignment from
incompatible pointer type
make: *** [radimo_del.o] Error 1


__________________________________
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com

-- 
http://mm.ilug-bom.org.in/mailman/listinfo/linuxers

Reply via email to