[DRBD-user] Unable to build drbd 8.2.7 rpms on Fedora Core 12

Francis SOUYRI francis.souyri at apec.fr
Thu May 27 15:35:38 CEST 2010

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


Hello,

     I am running drbd 8.2.7 on a Fedora Core 10 without problems and I 
am trying to upgrade the system to the Fedora Core 12, but I can not 
build drbd 8.2.7 rpms, I have the errors messages below.

Is there a solution for this problem ? if not is there a paper to how 
migrate drbd from a 8.2 to a 8.3 (I have no problem to build de 8.3.7) ?

make -C /usr/src/kernels/2.6.32.12-115.fc12.i686 
SUBDIRS=/usr/src/cluster/drbd-8.2.7/dist/BUILD/drbd-8.2.7/drbd  modules
make[3]: Entering directory `/usr/src/kernels/2.6.32.12-115.fc12.i686'
   CC [M]  
/usr/src/cluster/drbd-8.2.7/dist/BUILD/drbd-8.2.7/drbd/drbd_buildtag.o
   CC [M]  
/usr/src/cluster/drbd-8.2.7/dist/BUILD/drbd-8.2.7/drbd/drbd_bitmap.o
In file included from 
/usr/src/cluster/drbd-8.2.7/dist/BUILD/drbd-8.2.7/drbd/drbd_int.h:1347,
                  from 
/usr/src/cluster/drbd-8.2.7/dist/BUILD/drbd-8.2.7/drbd/drbd_bitmap.c:31:
/usr/src/cluster/drbd-8.2.7/dist/BUILD/drbd-8.2.7/drbd/drbd_wrappers.h: 
In function 'drbd_get_hardsect':
/usr/src/cluster/drbd-8.2.7/dist/BUILD/drbd-8.2.7/drbd/drbd_wrappers.h:23: 
error: 'struct request_queue' has no member named 'hardsect_size'
make[4]: *** 
[/usr/src/cluster/drbd-8.2.7/dist/BUILD/drbd-8.2.7/drbd/drbd_bitmap.o] 
Error 1
make[3]: *** 
[_module_/usr/src/cluster/drbd-8.2.7/dist/BUILD/drbd-8.2.7/drbd] Error 2
make[3]: Leaving directory `/usr/src/kernels/2.6.32.12-115.fc12.i686'
make[2]: *** [kbuild] Error 2
make[2]: Leaving directory 
`/usr/src/cluster/drbd-8.2.7/dist/BUILD/drbd-8.2.7/drbd'
make[1]: *** [module] Error 2
make[1]: Leaving directory 
`/usr/src/cluster/drbd-8.2.7/dist/BUILD/drbd-8.2.7'
error: Bad exit status from /var/tmp/rpm-tmp.EYxCvT (%build)


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

Best regards.

Francis



More information about the drbd-user mailing list