[DRBD-user] drbd9 with kernel 4.2.5 - compile fails

Lee Lists lists at jave.fr
Wed Oct 28 16:59:21 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.


Hi,

I'm trying to build drbd-9.0 on debian 8.1 / kernel-4.2.5 vanilla

make[1]: Entering directory '/usr/src/drbd-9.0/drbd'

    Calling toplevel makefile of kernel source tree, which I believe is in
    KDIR=/lib/modules/4.2.5-jave/build

make -C /lib/modules/4.2.5-jave/build   SUBDIRS=/usr/src/drbd-9.0/drbd  modules
  CC [M]  /usr/src/drbd-9.0/drbd/drbd_debugfs.o
In file included from /usr/src/drbd-9.0/drbd/drbd_debugfs.c:10:0:
/usr/src/drbd-9.0/drbd/drbd_int.h:533:30: error: field ‘page_chain’ has incomplete type
  struct drbd_page_chain_head page_chain;
                              ^
scripts/Makefile.build:258: recipe for target '/usr/src/drbd-9.0/drbd/drbd_debugfs.o' failed
make[3]: *** [/usr/src/drbd-9.0/drbd/drbd_debugfs.o] Error 1
Makefile:1386: recipe for target '_module_/usr/src/drbd-9.0/drbd' failed
make[2]: *** [_module_/usr/src/drbd-9.0/drbd] Error 2
Makefile:103: recipe for target 'kbuild' failed
make[1]: *** [kbuild] Error 2
make[1]: Leaving directory '/usr/src/drbd-9.0/drbd'
Makefile:101: recipe for target 'module' failed
make: *** [module] Error 2

Regards,
Lee



More information about the drbd-user mailing list