Coda File System

Linux Kernel module and kernel 2.6.22

From: Gerald Brandt <gbr_at_majentis.com>
Date: Mon, 03 Sep 2007 10:16:57 -0500 (CDT)
Hi, 

I can't compile the Linux Kernel module under 2.6.22. This is the error I get... 

gbr_at_laptop ~/coda/linux-coda/linux2.6 $ make 
make CONFIG_CODA_FS=m CPPFLAGS="-D__KERNEL__ -I/home/gbr/coda/linux-coda/linux2.6 -Iinclude -include linux/autoconf.h" INSTALL_MOD_DIR=kernel/fs/coda -C /lib/modules/2.6.22-sabayon/build M=/home/gbr/coda/linux-coda/linux2.6 
make[1]: Entering directory `/usr/src/linux-2.6.22-sabayon' 
LD /home/gbr/coda/linux-coda/linux2.6/built-in.o 
CC [M] /home/gbr/coda/linux-coda/linux2.6/psdev.o 
CC [M] /home/gbr/coda/linux-coda/linux2.6/cache.o 
/home/gbr/coda/linux-coda/linux2.6/cache.c: In function ‘coda_cache_enter’: 
/home/gbr/coda/linux-coda/linux2.6/cache.c:23: error: dereferencing pointer to incomplete type 
/home/gbr/coda/linux-coda/linux2.6/cache.c:24: error: dereferencing pointer to incomplete type 
/home/gbr/coda/linux-coda/linux2.6/cache.c: In function ‘coda_cache_check’: 
/home/gbr/coda/linux-coda/linux2.6/cache.c:51: error: dereferencing pointer to incomplete type 
make[2]: *** [/home/gbr/coda/linux-coda/linux2.6/cache.o] Error 1 
make[1]: *** [_module_/home/gbr/coda/linux-coda/linux2.6] Error 2 
make[1]: Leaving directory `/usr/src/linux-2.6.22-sabayon' 
make: *** [all] Error 2 

Thanks, 
Gerald 
Received on 2007-09-03 12:27:09