[DRBD-user] Problems compiling drbd-8.0_pre1

James Davis jamesd at jml.net
Wed Apr 5 18:05:30 CEST 2006

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


I'm compiling drbd-8.0_pre1 on a Debian/Etch system, but I get the
following error running 'make all'. Any ideas?

Regards,

James

...
To (re)make the documentation: make doc
make[1]: Leaving directory `/usr/src/modules/drbd-8.0_pre1/documentation'
make[1]: Entering directory `/usr/src/modules/drbd-8.0_pre1/drbd'

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

make -C /lib/modules/2.6.8-2-386/build
SUBDIRS=/usr/src/modules/drbd-8.0_pre1/drbd  modules
make[2]: Entering directory `/usr/src/kernel-headers-2.6.8-2-386'
  CC [M]  /usr/src/modules/drbd-8.0_pre1/drbd/drbd_sizeof_sanity_check.o
  CC [M]  /usr/src/modules/drbd-8.0_pre1/drbd/drbd_buildtag.o
  CC [M]  /usr/src/modules/drbd-8.0_pre1/drbd/drbd_bitmap.o
In file included from include/asm/thread_info.h:16,
                 from include/linux/thread_info.h:21,
                 from include/linux/spinlock.h:12,
                 from include/linux/vmalloc.h:4,
                 from /usr/src/modules/drbd-8.0_pre1/drbd/drbd_bitmap.c:30:
include/asm/processor.h:87: error: array type has incomplete element type
In file included from /usr/src/modules/drbd-8.0_pre1/drbd/drbd_bitmap.c:34:
/usr/src/modules/drbd-8.0_pre1/drbd/drbd_int.h: In function
'drbd_queue_order_type':
/usr/src/modules/drbd-8.0_pre1/drbd/drbd_int.h:1663: error: 'struct
request_queue' has no member named 'ordered'
make[3]: *** [/usr/src/modules/drbd-8.0_pre1/drbd/drbd_bitmap.o] Error 1
make[2]: *** [_module_/usr/src/modules/drbd-8.0_pre1/drbd] Error 2
make[2]: Leaving directory `/usr/src/kernel-headers-2.6.8-2-386'
make[1]: *** [kbuild] Error 2
make[1]: Leaving directory `/usr/src/modules/drbd-8.0_pre1/drbd'
make: *** [all] Error 2
primary:/usr/src/modules/drbd-8.0_pre1#



More information about the drbd-user mailing list