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
_______________________________________________
drbd-user mailing list
drbd-user@lists.linbit.com
http://lists.linbit.com/mailman/listinfo/drbd-user