[DRBD-user] Error While installoing drbd

Kamran Nisar mkamrannisar at gmail.com
Mon Nov 27 13:40:29 CET 2006

Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.


HI, I am installing drbd over SuSe 10.1
the output from uanme -a
Linux test2 2.6.16.13-4-smp #1 SMP Wed May 3 04:53:23 UTC 2006 i686 i686
i386 GNU/Linux

while compiling drbd, i'm getting the following error , i'm giving it the
Kernel source path with KDIR

make -C /usr/src/linux SUBDIRS=/root/drbd-0.7.14/drbd  modules
make[1]: Entering directory `/usr/src/linux-2.6.16.21-0.25'
  CC [M]  /root/drbd-0.7.14/drbd/drbd_sizeof_sanity_check.o
  CC [M]  /root/drbd-0.7.14/drbd/drbd_buildtag.o
  CC [M]  /root/drbd-0.7.14/drbd/drbd_bitmap.o
In file included from /root/drbd-0.7.14/drbd/drbd_bitmap.c:34:
/root/drbd-0.7.14/drbd/drbd_int.h:1108:5: warning:
"USE_RW_WAIT_QUEUE_SPINLOCK" is not defined
  CC [M]  /root/drbd-0.7.14/drbd/drbd_fs.o
In file included from /root/drbd-0.7.14/drbd/drbd_fs.c:43:
/root/drbd-0.7.14/drbd/drbd_int.h:1108:5: warning:
"USE_RW_WAIT_QUEUE_SPINLOCK" is not defined
/root/drbd-0.7.14/drbd/drbd_fs.c: In function âdrbd_ioctl_set_diskâ:
/root/drbd-0.7.14/drbd/drbd_fs.c:462: warning: comparison of distinct
pointer types lacks a cast
  CC [M]  /root/drbd-0.7.14/drbd/drbd_proc.o
In file included from /root/drbd-0.7.14/drbd/drbd_proc.c:40:
/root/drbd-0.7.14/drbd/drbd_int.h:1108:5: warning:
"USE_RW_WAIT_QUEUE_SPINLOCK" is not defined
  CC [M]  /root/drbd-0.7.14/drbd/drbd_worker.o
In file included from /root/drbd-0.7.14/drbd/drbd_worker.c:43:
/root/drbd-0.7.14/drbd/drbd_int.h:1108:5: warning:
"USE_RW_WAIT_QUEUE_SPINLOCK" is not defined
  CC [M]  /root/drbd-0.7.14/drbd/drbd_receiver.o
In file included from /root/drbd-0.7.14/drbd/drbd_receiver.c:53:
/root/drbd-0.7.14/drbd/drbd_int.h:1108:5: warning:
"USE_RW_WAIT_QUEUE_SPINLOCK" is not defined
/root/drbd-0.7.14/drbd/drbd_receiver.c: In function âdrbd_acceptâ:
/root/drbd-0.7.14/drbd/drbd_receiver.c:495: error: âIPPROTO_TCPâ undeclared
(first use in this function)
/root/drbd-0.7.14/drbd/drbd_receiver.c:495: error: (Each undeclared
identifier is reported only once
/root/drbd-0.7.14/drbd/drbd_receiver.c:495: error: for each function it
appears in.)
/root/drbd-0.7.14/drbd/drbd_receiver.c: In function âdrbd_try_connectâ:
/root/drbd-0.7.14/drbd/drbd_receiver.c:617: error: storage size of âsrc_inâ
isnât known
/root/drbd-0.7.14/drbd/drbd_receiver.c:635: error: invalid application of
âsizeofâ to incomplete type âstruct sockaddr_inâ
/root/drbd-0.7.14/drbd/drbd_receiver.c:635: error: invalid application of
âsizeofâ to incomplete type âstruct sockaddr_inâ
/root/drbd-0.7.14/drbd/drbd_receiver.c:635: error: invalid application of
âsizeofâ to incomplete type âstruct sockaddr_inâ
/root/drbd-0.7.14/drbd/drbd_receiver.c:640: error: invalid application of
âsizeofâ to incomplete type âstruct sockaddr_inâ
/root/drbd-0.7.14/drbd/drbd_receiver.c:617: warning: unused variable
âsrc_inâ
make[2]: *** [/root/drbd-0.7.14/drbd/drbd_receiver.o] Error 1
make[1]: *** [_module_/root/drbd-0.7.14/drbd] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.16.21-0.25'
make: *** [kbuild] Error 2


-- 
Regards
M Kamran Nisar,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linbit.com/pipermail/drbd-user/attachments/20061127/b0fe6018/attachment.htm>


More information about the drbd-user mailing list