[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[Linux-cluster] compile gnbd-kernel error



Hi folks,

I tried to compile gnbd-kernel on Gentoo Linux 2.6.29-gentoo-r5 but I got some error messages. :(

the error messages are appear on cluster-2.03.09, cluster-2.03.10, cluster-2.03.11

# uname -a
Linux node26 2.6.29-gentoo-r5 #3 SMP Mon Jun 1 19:05:23 CST 2009 i686 Intel(R) Xeon(TM) CPU 3.06GHz GenuineIntel GNU/Linux

cluster-2.03.11 # make gnbd-kernel
[ -n "" ] || make -C gnbd-kernel/src all
make[1]: Entering directory `/usr/portage/distfiles/cluster-2.03.11/gnbd-kernel/src'
make -C /lib/modules/2.6.29-gentoo-r5/build M=/usr/portage/distfiles/cluster-2.03.11/gnbd-kernel/src symverfile=/lib/modules/2.6.29-gentoo-r5/build/Module.symvers modules USING_KBUILD=yes
make[2]: Entering directory `/usr/src/linux-2.6.29-gentoo-r5'
  CC [M]  /usr/portage/distfiles/cluster-2.03.11/gnbd-kernel/src/gnbd.o
/usr/portage/distfiles/cluster-2.03.11/gnbd-kernel/src/gnbd.c:933: warning: initialization from incompatible pointer type
/usr/portage/distfiles/cluster-2.03.11/gnbd-kernel/src/gnbd.c:934: warning: initialization from incompatible pointer type
/usr/portage/distfiles/cluster-2.03.11/gnbd-kernel/src/gnbd.c: In function 'gnbd_init':
/usr/portage/distfiles/cluster-2.03.11/gnbd-kernel/src/gnbd.c:1054: error: 'struct gendisk' has no member named 'dev'
make[3]: *** [/usr/portage/distfiles/cluster-2.03.11/gnbd-kernel/src/gnbd.o] Error 1
make[2]: *** [_module_/usr/portage/distfiles/cluster-2.03.11/gnbd-kernel/src] Error 2
make[2]: Leaving directory `/usr/src/linux-2.6.29-gentoo-r5'
make[1]: *** [gnbd.ko] Error 2
make[1]: Leaving directory `/usr/portage/distfiles/cluster-2.03.11/gnbd-kernel/src'
make: *** [gnbd-kernel/src] Error 2

Does anyone have the same problems?
Any suggestions are appreciate.

Thanks in advanced,
Jin-Shan



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]