[DRBD-user] 0.7.22 and svn 0.7 does not buil on fc6

Axel Straschil axel at straschil.com
Fri Nov 10 11:48:35 CET 2006

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 try to build drbd 0.7.22 or the 0.7 svn version on fc6 (kernel-devel
installed) and get:

[...]
make[1]: Entering directory `/root/drbd-0.7/drbd'

    Calling toplevel makefile of kernel source tree, which I believe is in
    KDIR=/lib/modules/2.6.18-1.2798.fc6/build

test -f ../scripts/adjust_drbd_config_h.sh && \
        
KDIR=/lib/modules/2.6.18-1.2798.fc6/build /bin/sh ../scripts/adjust_drbd_config_h.sh

  Using unmodified drbd_config.h

make -C /lib/modules/2.6.18-1.2798.fc6/build SUBDIRS=/root/drbd-0.7/drbd 
modules
make[2]: Entering directory `/usr/src/kernels/2.6.18-1.2798.fc6-x86_64'
make[2]: Warning: File
`/usr/src/kernels/2.6.18-1.2798.fc6-x86_64/arch/x86_64/Makefile' has
modification time 1.3e+07 s in the future
make[3]: Warning: File `scripts/Makefile.lib' has modification time 1.1e+07
s in the future
  CC [M]  /root/drbd-0.7/drbd/drbd_sizeof_sanity_check.o
  CC [M]  /root/drbd-0.7/drbd/drbd_bitmap.o
  CC [M]  /root/drbd-0.7/drbd/drbd_fs.o
/root/drbd-0.7/drbd/drbd_fs.c:31:26: error: linux/config.h: No such file or
directory
make[3]: *** [/root/drbd-0.7/drbd/drbd_fs.o] Error 1
make[2]: *** [_module_/root/drbd-0.7/drbd] Error 2
make[2]: Leaving directory `/usr/src/kernels/2.6.18-1.2798.fc6-x86_64'
make[1]: *** [kbuild] Error 2
make[1]: Leaving directory `/root/drbd-0.7/drbd'
make: *** [all] Error 2

Any idea what to do?

Thanks, AXEL.




More information about the drbd-user mailing list