[DRBD-user] Compile errors with DRBD 8.4.6 and 4.2.3-2-pve kernel

Yannis Milios yannis.milios at gmail.com
Tue Nov 17 22:13:40 CET 2015

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


Forgot to say that Im using the source package from here:
http://oss.linbit.com/drbd/


On 17 November 2015 21:08:52 GMT+00:00, Yannis Milios <yannis.milios at gmail.com> wrote:
>Hello,
>
>I'm trying to compile DRBD 8.4.6 against 4.2.3-2-pve kernel (Proxmox
>4.0) but I get the following error:
>
>[QUOTE]Need a git checkout to regenerate drbd/.drbd_git_revision
>make[1]: Entering directory '/root/drbd-8.4.6/drbd'
>
> Calling toplevel makefile of kernel source tree, which I believe is in
>    KDIR=/lib/modules/4.2.3-2-pve/build
>
>make -C /lib/modules/4.2.3-2-pve/build   SUBDIRS=/root/drbd-8.4.6/drbd 
>modules
>  CC [M]  /root/drbd-8.4.6/drbd/drbd_debugfs.o
>  CC [M]  /root/drbd-8.4.6/drbd/drbd_bitmap.o
>  CC [M]  /root/drbd-8.4.6/drbd/drbd_proc.o
>/root/drbd-8.4.6/drbd/drbd_proc.c: In function ‘drbd_seq_show’:
>/root/drbd-8.4.6/drbd/drbd_proc.c:292:4: error: implicit declaration of
>function ‘bdi_rw_congested’ [-Werror=implicit-function-declaration]
>    bdi_rw_congested(&device->rq_queue->backing_dev_info);
>    ^
>cc1: some warnings being treated as errors
>scripts/Makefile.build:258: recipe for target
>'/root/drbd-8.4.6/drbd/drbd_proc.o' failed
>make[3]: *** [/root/drbd-8.4.6/drbd/drbd_proc.o] Error 1
>Makefile:1398: recipe for target '_module_/root/drbd-8.4.6/drbd' failed
>make[2]: *** [_module_/root/drbd-8.4.6/drbd] Error 2
>Makefile:103: recipe for target 'kbuild' failed
>make[1]: *** [kbuild] Error 2
>make[1]: Leaving directory '/root/drbd-8.4.6/drbd'
>Makefile:90: recipe for target 'module' failed
>make: *** 
>
>PVE already includes DRBD9 in the kernel. Is there to replace it be the
>above version?
>
>Thank you
>
>Yannis

-- 
Sent from mobile
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linbit.com/pipermail/drbd-user/attachments/20151117/5b9d8e0a/attachment.htm>


More information about the drbd-user mailing list