HI, I am installing drbd over SuSe 10.1<br>the output from uanme -a <br>Linux test2 2.6.16.13-4-smp #1 SMP Wed May 3 04:53:23 UTC 2006 i686 i686 i386 GNU/Linux<br><br>while compiling drbd, i'm getting the following error , i'm giving it the Kernel source path with KDIR
<br><br>make -C /usr/src/linux SUBDIRS=/root/drbd-0.7.14/drbd&nbsp; modules<br>make[1]: Entering directory `/usr/src/linux-2.6.16.21-0.25'<br>&nbsp; CC [M]&nbsp; /root/drbd-0.7.14/drbd/drbd_sizeof_sanity_check.o<br>&nbsp; CC [M]&nbsp; /root/drbd-
0.7.14/drbd/drbd_buildtag.o<br>&nbsp; CC [M]&nbsp; /root/drbd-0.7.14/drbd/drbd_bitmap.o<br>In file included from /root/drbd-0.7.14/drbd/drbd_bitmap.c:34:<br>/root/drbd-0.7.14/drbd/drbd_int.h:1108:5: warning: &quot;USE_RW_WAIT_QUEUE_SPINLOCK&quot; is not defined
<br>&nbsp; CC [M]&nbsp; /root/drbd-0.7.14/drbd/drbd_fs.o<br>In file included from /root/drbd-0.7.14/drbd/drbd_fs.c:43:<br>/root/drbd-0.7.14/drbd/drbd_int.h:1108:5: warning: &quot;USE_RW_WAIT_QUEUE_SPINLOCK&quot; is not defined<br>/root/drbd-
0.7.14/drbd/drbd_fs.c: In function âdrbd_ioctl_set_diskâ:<br>/root/drbd-0.7.14/drbd/drbd_fs.c:462: warning: comparison of distinct pointer types lacks a cast<br>&nbsp; CC [M]&nbsp; /root/drbd-0.7.14/drbd/drbd_proc.o<br>In file included from /root/drbd-
0.7.14/drbd/drbd_proc.c:40:<br>/root/drbd-0.7.14/drbd/drbd_int.h:1108:5: warning: &quot;USE_RW_WAIT_QUEUE_SPINLOCK&quot; is not defined<br>&nbsp; CC [M]&nbsp; /root/drbd-0.7.14/drbd/drbd_worker.o<br>In file included from /root/drbd-
0.7.14/drbd/drbd_worker.c:43:<br>/root/drbd-0.7.14/drbd/drbd_int.h:1108:5: warning: &quot;USE_RW_WAIT_QUEUE_SPINLOCK&quot; is not defined<br>&nbsp; CC [M]&nbsp; /root/drbd-0.7.14/drbd/drbd_receiver.o<br>In file included from /root/drbd-
0.7.14/drbd/drbd_receiver.c:53:<br>/root/drbd-0.7.14/drbd/drbd_int.h:1108:5: warning: &quot;USE_RW_WAIT_QUEUE_SPINLOCK&quot; is not defined<br>/root/drbd-0.7.14/drbd/drbd_receiver.c: In function âdrbd_acceptâ:<br>/root/drbd-
0.7.14/drbd/drbd_receiver.c:495: error: âIPPROTO_TCPâ undeclared (first use in this function)<br>/root/drbd-0.7.14/drbd/drbd_receiver.c:495: error: (Each undeclared identifier is reported only once<br>/root/drbd-0.7.14/drbd/drbd_receiver.c:495: error: for each function it appears in.)
<br>/root/drbd-0.7.14/drbd/drbd_receiver.c: In function âdrbd_try_connectâ:<br>/root/drbd-0.7.14/drbd/drbd_receiver.c:617: error: storage size of âsrc_inâ isnât known<br>/root/drbd-0.7.14/drbd/drbd_receiver.c:635: error: invalid application of âsizeofâ to incomplete type âstruct sockaddr_inâ
<br>/root/drbd-0.7.14/drbd/drbd_receiver.c:635: error: invalid application of âsizeofâ to incomplete type âstruct sockaddr_inâ<br>/root/drbd-0.7.14/drbd/drbd_receiver.c:635: error: invalid application of âsizeofâ to incomplete type âstruct sockaddr_inâ
<br>/root/drbd-0.7.14/drbd/drbd_receiver.c:640: error: invalid application of âsizeofâ to incomplete type âstruct sockaddr_inâ<br>/root/drbd-0.7.14/drbd/drbd_receiver.c:617: warning: unused variable âsrc_inâ<br>make[2]: *** [/root/drbd-
0.7.14/drbd/drbd_receiver.o] Error 1<br>make[1]: *** [_module_/root/drbd-0.7.14/drbd] Error 2<br>make[1]: Leaving directory `/usr/src/linux-2.6.16.21-0.25'<br>make: *** [kbuild] Error 2<br><br clear="all"><br>-- <br>Regards
<br>M Kamran Nisar,