[DRBD-user] drbd_receiver.c in drbd-0.7.15 doesn't compile under linux-2.6.16-rc1

Maurice Volaski mvolaski at aecom.yu.edu
Sun Jan 22 00:48:27 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.


I get the following errors via emerge drbd (0.7.15) under Gentoo 
Linux with vanilla kernel linux-2.6.16-rc1....

make[2]: Entering directory `/usr/src/linux-2.6.16-rc1'
   CC [M] 
/var/tmp/portage/drbd-0.7.15/work/drbd-0.7.15/drbd/drbd_sizeof_sanity_check.o
   CC [M]  /var/tmp/portage/drbd-0.7.15/work/drbd-0.7.15/drbd/drbd_buildtag.o
   CC [M]  /var/tmp/portage/drbd-0.7.15/work/drbd-0.7.15/drbd/drbd_bitmap.o
   CC [M]  /var/tmp/portage/drbd-0.7.15/work/drbd-0.7.15/drbd/drbd_fs.o
   CC [M]  /var/tmp/portage/drbd-0.7.15/work/drbd-0.7.15/drbd/drbd_proc.o
   CC [M]  /var/tmp/portage/drbd-0.7.15/work/drbd-0.7.15/drbd/drbd_worker.o
   CC [M]  /var/tmp/portage/drbd-0.7.15/work/drbd-0.7.15/drbd/drbd_receiver.o
/var/tmp/portage/drbd-0.7.15/work/drbd-0.7.15/drbd/drbd_receiver.c: 
In function `drbd_accept':
/var/tmp/portage/drbd-0.7.15/work/drbd-0.7.15/drbd/drbd_receiver.c:495: 
error: `IPPROTO_TCP' undeclared (first use in this function)
/var/tmp/portage/drbd-0.7.15/work/drbd-0.7.15/drbd/drbd_receiver.c:495: 
error: (Each undeclared identifier is reported only once
/var/tmp/portage/drbd-0.7.15/work/drbd-0.7.15/drbd/drbd_receiver.c:495: 
error: for each function it appears in.)
/var/tmp/portage/drbd-0.7.15/work/drbd-0.7.15/drbd/drbd_receiver.c: 
In function `drbd_try_connect':
/var/tmp/portage/drbd-0.7.15/work/drbd-0.7.15/drbd/drbd_receiver.c:617: 
error: storage size of 'src_in' isn't known
/var/tmp/portage/drbd-0.7.15/work/drbd-0.7.15/drbd/drbd_receiver.c:635: 
error: invalid application of `sizeof' to incomplete type 
`sockaddr_in'
/var/tmp/portage/drbd-0.7.15/work/drbd-0.7.15/drbd/drbd_receiver.c:635: 
error: invalid application of `sizeof' to incomplete type 
`sockaddr_in'
/var/tmp/portage/drbd-0.7.15/work/drbd-0.7.15/drbd/drbd_receiver.c:640: 
error: invalid application of `sizeof' to incomplete type 
`sockaddr_in'
/var/tmp/portage/drbd-0.7.15/work/drbd-0.7.15/drbd/drbd_receiver.c:617: 
warning: unused variable `src_in'
-- 

Maurice Volaski, mvolaski at aecom.yu.edu
Computing Support, Rose F. Kennedy Center
Albert Einstein College of Medicine of Yeshiva University



More information about the drbd-user mailing list