[DRBD-user] Building drbd

Johnson Fisher jfisher.bug at googlemail.com
Sun Jun 19 10:36:42 CEST 2011

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


Hi,

when I try to build the 8.3.10 kernel module on a RedHat 6.0 (and SL6.0) OS
with Kernel Version 2.6.32-131.2.1.el6.i686 I always get an error. The 8.3.9
Version of DRBD works without problems but the 8.3.10 only works with the
older RedHat kernel (2.6.32-71.29).
Is there some issue or am I missing something?

 Greetings
   Johnson


make -C /lib/modules/2.6.32-131.2.1.el6.i686/build
SUBDIRS=/home/bobthebuilder/rpmbuild/BUILD/drbd-8.3.10/drbd  modules
make[2]: Entering directory `/usr/src/kernels/2.6.32-131.2.1.el6.i686'
  CC [M]
 /home/bobthebuilder/rpmbuild/BUILD/drbd-8.3.10/drbd/drbd_buildtag.o
  CC [M]  /home/bobthebuilder/rpmbuild/BUILD/drbd-8.3.10/drbd/drbd_bitmap.o
  CC [M]  /home/bobthebuilder/rpmbuild/BUILD/drbd-8.3.10/drbd/drbd_proc.o
  CC [M]  /home/bobthebuilder/rpmbuild/BUILD/drbd-8.3.10/drbd/drbd_worker.o
  CC [M]
 /home/bobthebuilder/rpmbuild/BUILD/drbd-8.3.10/drbd/drbd_receiver.o
  CC [M]  /home/bobthebuilder/rpmbuild/BUILD/drbd-8.3.10/drbd/drbd_req.o
/home/bobthebuilder/rpmbuild/BUILD/drbd-8.3.10/drbd/drbd_receiver.c: In
function 'drbd_submit_ee':
/home/bobthebuilder/rpmbuild/BUILD/drbd-8.3.10/drbd/drbd_receiver.c:1286:
error: 'REQ_UNPLUG' undeclared (first use in this function)
/home/bobthebuilder/rpmbuild/BUILD/drbd-8.3.10/drbd/drbd_receiver.c:1286:
error: (Each undeclared identifier is reported only once
/home/bobthebuilder/rpmbuild/BUILD/drbd-8.3.10/drbd/drbd_receiver.c:1286:
error: for each function it appears in.)
/home/bobthebuilder/rpmbuild/BUILD/drbd-8.3.10/drbd/drbd_receiver.c: In
function 'wire_flags_to_bio':
/home/bobthebuilder/rpmbuild/BUILD/drbd-8.3.10/drbd/drbd_receiver.c:1864:
error: 'REQ_UNPLUG' undeclared (first use in this function)
make[3]: ***
[/home/bobthebuilder/rpmbuild/BUILD/drbd-8.3.10/drbd/drbd_receiver.o] Error
1
make[3]: *** Waiting for unfinished jobs....
make[2]: *** [_module_/home/bobthebuilder/rpmbuild/BUILD/drbd-8.3.10/drbd]
Error 2
make[2]: Leaving directory `/usr/src/kernels/2.6.32-131.2.1.el6.i686'
make[1]: *** [kbuild] Error 2
make[1]: Leaving directory
`/home/bobthebuilder/rpmbuild/BUILD/drbd-8.3.10/drbd'
make: *** [module] Error 2
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linbit.com/pipermail/drbd-user/attachments/20110619/7e81a78d/attachment.htm>


More information about the drbd-user mailing list