[DRBD-user] No compile drbd 0.7.25 with FC7 2.6.23.1-10 kernel

Francis SOUYRI francis.souyri at apec.fr
Wed Oct 31 08:17:35 CET 2007

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


Hello,

The drbd 0.7.25 (no problem with the 8.2.0) do not compile with the 
Fedora Core 7 2.6.23.1-10 kernel.
I have the messages below:

/usr/src/cluster/drbd-0.7.25/dist/BUILD/drbd-0.7.25/drbd/drbd_int.h:752: 
warning: 'request_queue_t' is deprecated
/usr/src/cluster/drbd-0.7.25/dist/BUILD/drbd-0.7.25/drbd/drbd_int.h:1041: 
warning: 'request_queue_t' is deprecated
In file included from 
/usr/src/cluster/drbd-0.7.25/dist/BUILD/drbd-0.7.25/drbd/drbd_int.h:1149,
                 from 
/usr/src/cluster/drbd-0.7.25/dist/BUILD/drbd-0.7.25/drbd/drbd_main.c:61:
/usr/src/cluster/drbd-0.7.25/dist/BUILD/drbd-0.7.25/drbd/drbd_compat_wrappers.h:585: 
warning: 'request_queue_t' is deprecated
/usr/src/cluster/drbd-0.7.25/dist/BUILD/drbd-0.7.25/drbd/drbd_compat_wrappers.h: 
In function 'drbd_plug_device':
/usr/src/cluster/drbd-0.7.25/dist/BUILD/drbd-0.7.25/drbd/drbd_compat_wrappers.h:605: 
warning: 'request_queue_t' is deprecated
/usr/src/cluster/drbd-0.7.25/dist/BUILD/drbd-0.7.25/drbd/drbd_main.c: At 
top level:
/usr/src/cluster/drbd-0.7.25/dist/BUILD/drbd-0.7.25/drbd/drbd_main.c:1419: 
warning: 'request_queue_t' is deprecated
/usr/src/cluster/drbd-0.7.25/dist/BUILD/drbd-0.7.25/drbd/drbd_main.c: In 
function 'drbd_create_mempools':
/usr/src/cluster/drbd-0.7.25/dist/BUILD/drbd-0.7.25/drbd/drbd_main.c:1650: 
error: too many arguments to function 'kmem_cache_create'
/usr/src/cluster/drbd-0.7.25/dist/BUILD/drbd-0.7.25/drbd/drbd_main.c:1656: 
error: too many arguments to function 'kmem_cache_create'
/usr/src/cluster/drbd-0.7.25/dist/BUILD/drbd-0.7.25/drbd/drbd_main.c: In 
function 'drbd_cleanup':
/usr/src/cluster/drbd-0.7.25/dist/BUILD/drbd-0.7.25/drbd/drbd_main.c:1697: 
warning: 'request_queue_t' is deprecated
/usr/src/cluster/drbd-0.7.25/dist/BUILD/drbd-0.7.25/drbd/drbd_main.c:1802: 
error: void value not ignored as it ought to be
/usr/src/cluster/drbd-0.7.25/dist/BUILD/drbd-0.7.25/drbd/drbd_main.c: In 
function 'drbd_init':
/usr/src/cluster/drbd-0.7.25/dist/BUILD/drbd-0.7.25/drbd/drbd_main.c:1904: 
warning: 'request_queue_t' is deprecated
make[4]: *** 
[/usr/src/cluster/drbd-0.7.25/dist/BUILD/drbd-0.7.25/drbd/drbd_main.o] 
Error 1
make[3]: *** 
[_module_/usr/src/cluster/drbd-0.7.25/dist/BUILD/drbd-0.7.25/drbd] Error 2
make[3]: Leaving directory `/usr/src/kernels/2.6.23.1-10.fc7-i686'
make[2]: *** [kbuild] Error 2
make[2]: Leaving directory 
`/usr/src/cluster/drbd-0.7.25/dist/BUILD/drbd-0.7.25/drbd'
make[1]: *** [all] Error 2
make[1]: Leaving directory 
`/usr/src/cluster/drbd-0.7.25/dist/BUILD/drbd-0.7.25'
error: Bad exit status from /var/tmp/rpm-tmp.35100 (%build)


RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.35100 (%build)
make: *** [rpm] Error 1

Best regards.

Francis




More information about the drbd-user mailing list