[DRBD-user] 0.7.20 doesn't build on Fedora's new 2.6.18 kernel

Ben bench at silentmedia.com
Sat Oct 21 05:23:31 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.


On Fedora Core 5's new 2.6.18-1.2200 kernel, when I run make on a  
clean drbd 0.7.20 directory:

make -C /lib/modules/2.6.18-1.2200.fc5xen0/build SUBDIRS=/usr/local/ 
src/drbd/drbd-0.7.20/drbd  modules
make[2]: Entering directory `/usr/src/kernels/2.6.18-1.2200.fc5-xen0- 
x86_64'
   CC [M]  /usr/local/src/drbd/drbd-0.7.20/drbd/ 
drbd_sizeof_sanity_check.o
   CC [M]  /usr/local/src/drbd/drbd-0.7.20/drbd/drbd_buildtag.o
   CC [M]  /usr/local/src/drbd/drbd-0.7.20/drbd/drbd_bitmap.o
   CC [M]  /usr/local/src/drbd/drbd-0.7.20/drbd/drbd_fs.o
In file included from /usr/local/src/drbd/drbd-0.7.20/drbd/drbd_fs.c:31:
include/linux/config.h:6:2: warning: #warning Including config.h is  
deprecated.
   CC [M]  /usr/local/src/drbd/drbd-0.7.20/drbd/drbd_proc.o
In file included from /usr/local/src/drbd/drbd-0.7.20/drbd/ 
drbd_proc.c:28:
include/linux/config.h:6:2: warning: #warning Including config.h is  
deprecated.
   CC [M]  /usr/local/src/drbd/drbd-0.7.20/drbd/drbd_worker.o
In file included from /usr/local/src/drbd/drbd-0.7.20/drbd/ 
drbd_worker.c:28:
include/linux/config.h:6:2: warning: #warning Including config.h is  
deprecated.
   CC [M]  /usr/local/src/drbd/drbd-0.7.20/drbd/drbd_receiver.o
In file included from /usr/local/src/drbd/drbd-0.7.20/drbd/ 
drbd_receiver.c:28:
include/linux/config.h:6:2: warning: #warning Including config.h is  
deprecated.
   CC [M]  /usr/local/src/drbd/drbd-0.7.20/drbd/drbd_req.o
In file included from /usr/local/src/drbd/drbd-0.7.20/drbd/drbd_req.c: 
28:
include/linux/config.h:6:2: warning: #warning Including config.h is  
deprecated.
   CC [M]  /usr/local/src/drbd/drbd-0.7.20/drbd/drbd_actlog.o
   CC [M]  /usr/local/src/drbd/drbd-0.7.20/drbd/lru_cache.o
   CC [M]  /usr/local/src/drbd/drbd-0.7.20/drbd/drbd_main.o
In file included from /usr/local/src/drbd/drbd-0.7.20/drbd/ 
drbd_main.c:34:
include/linux/config.h:6:2: warning: #warning Including config.h is  
deprecated.
/usr/local/src/drbd/drbd-0.7.20/drbd/drbd_main.c:52:35: error: linux/ 
devfs_fs_kernel.h: No such file or directory
/usr/local/src/drbd/drbd-0.7.20/drbd/drbd_main.c: In function  
‘drbd_cleanup’:
/usr/local/src/drbd/drbd-0.7.20/drbd/drbd_main.c:1690: error:  
implicit declaration of function ‘devfs_remove’
/usr/local/src/drbd/drbd-0.7.20/drbd/drbd_main.c: In function  
‘drbd_init’:
/usr/local/src/drbd/drbd-0.7.20/drbd/drbd_main.c:1786: error:  
implicit declaration of function ‘devfs_mk_dir’
/usr/local/src/drbd/drbd-0.7.20/drbd/drbd_main.c:1809: error: ‘struct  
gendisk’ has no member named ‘devfs_name’
make[3]: *** [/usr/local/src/drbd/drbd-0.7.20/drbd/drbd_main.o] Error 1
make[2]: *** [_module_/usr/local/src/drbd/drbd-0.7.20/drbd] Error 2
make[2]: Leaving directory `/usr/src/kernels/2.6.18-1.2200.fc5-xen0- 
x86_64'
make[1]: *** [kbuild] Error 2
make[1]: Leaving directory `/usr/local/src/drbd/drbd-0.7.20/drbd'
make: *** [all] Error 2


Is this a known thing that'll be fixed in the upcoming 0.7.22  
release, or something new?


More information about the drbd-user mailing list