<html><head></head><body>Forgot to say that Im using the source package from here:<br>
<a href="http://oss.linbit.com/drbd/">http://oss.linbit.com/drbd/</a><br>
<br><br><div class="gmail_quote">On 17 November 2015 21:08:52 GMT+00:00, Yannis Milios <yannis.milios@gmail.com> wrote:<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Hello,<br />
<br />
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:<br />
<br />
[QUOTE]Need a git checkout to regenerate drbd/.drbd_git_revision<br />
make[1]: Entering directory '/root/drbd-8.4.6/drbd'<br />
<br />
Calling toplevel makefile of kernel source tree, which I believe is in<br />
KDIR=/lib/modules/4.2.3-2-pve/build<br />
<br />
make -C /lib/modules/4.2.3-2-pve/build SUBDIRS=/root/drbd-8.4.6/drbd modules<br />
CC [M] /root/drbd-8.4.6/drbd/drbd_debugfs.o<br />
CC [M] /root/drbd-8.4.6/drbd/drbd_bitmap.o<br />
CC [M] /root/drbd-8.4.6/drbd/drbd_proc.o<br />
/root/drbd-8.4.6/drbd/drbd_proc.c: In function ‘drbd_seq_show’:<br />
/root/drbd-8.4.6/drbd/drbd_proc.c:292:4: error: implicit declaration of function ‘bdi_rw_congested’ [-Werror=implicit-function-declaration]<br />
bdi_rw_congested(&device->rq_queue->backing_dev_info);<br />
^<br />
cc1: some warnings being treated as errors<br />
scripts/Makefile.build:258: recipe for target '/root/drbd-8.4.6/drbd/drbd_proc.o' failed<br />
make[3]: *** [/root/drbd-8.4.6/drbd/drbd_proc.o] Error 1<br />
Makefile:1398: recipe for target '_module_/root/drbd-8.4.6/drbd' failed<br />
make[2]: *** [_module_/root/drbd-8.4.6/drbd] Error 2<br />
Makefile:103: recipe for target 'kbuild' failed<br />
make[1]: *** [kbuild] Error 2<br />
make[1]: Leaving directory '/root/drbd-8.4.6/drbd'<br />
Makefile:90: recipe for target 'module' failed<br />
make: *** <br />
<br />
PVE already includes DRBD9 in the kernel. Is there to replace it be the above version?<br />
<br />
Thank you<br />
<br />
Yannis</blockquote></div><br>
-- <br>
Sent from mobile</body></html>