[DRBD-user] Build fail - 2.6.1

David dm at lagoon.nc
Mon Jan 19 05:36:22 CET 2004

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


Hello,

I would like to know if anyone has successfully built drbd 0.6.10 against 
kernel 2.6.1 ?

It appears as a job in progress in the feature request list but some Makefiles 
in the source tree contain directives explicitly for 2.6 kernels (maybe for 
drbd 0.7). When I tried myself, it failed with an include related error 
message (AFAIK).
I'm a bit confused...

David


(I'm running Slackware 9.1 w/ gcc 3.2.3.)
----- 8< ----- 8< -----
[...]
make[1]: Entering directory `/root/drbd-0.6.10/drbd'

    Calling toplevel makefile of kernel source tree, which I believe is in
    KDIR=/lib/modules/2.6.1/build
    NOTE: please ignore warnings regarding overriding of SUBDIRS

make -C /lib/modules/2.6.1/build SUBDIRS=/root/drbd-0.6.10/drbd  modules
make[2]: Entering directory `/usr/src/linux-2.6.1'
*** Warning: Overriding SUBDIRS on the command line can cause
***          inconsistencies
make[3]: `arch/i386/kernel/asm-offsets.s' is up to date.
  CC [M]  /root/drbd-0.6.10/drbd/drbd_fs.o
In file included from /root/drbd-0.6.10/drbd/drbd_int.h:66,
                 from /root/drbd-0.6.10/drbd/drbd_fs.c:46:
include/linux/blk.h:1:2: warning: #warning this file is obsolete, please use 
<linux/blkdev.h> instead
In file included from /root/drbd-0.6.10/drbd/drbd_fs.c:46:
/root/drbd-0.6.10/drbd/drbd_int.h:312: syntax error before "kdev_t"
/root/drbd-0.6.10/drbd/drbd_int.h:312: warning: no semicolon at end of struct 
or union
/root/drbd-0.6.10/drbd/drbd_int.h:369: syntax error before '}' token
/root/drbd-0.6.10/drbd/drbd_int.h:429: syntax error before "dev"
/root/drbd-0.6.10/drbd/drbd_int.h:429: warning: function declaration isn't a 
prototype
/root/drbd-0.6.10/drbd/drbd_int.h: In function `set_cstate':
/root/drbd-0.6.10/drbd/drbd_int.h:512: dereferencing pointer to incomplete 
type
[... lots of similar error messages ...]




More information about the drbd-user mailing list