[DRBD-user] 0.7cvs fails build without devfs in kernel

Lars Ellenberg Lars.Ellenberg at linbit.com
Sun Feb 1 23:50:14 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.


/ 2004-01-31 22:26:27 -0500
\ george young:
> [drbd-0.7 from cvs 2004-01-31, SuSE x86 Linux 8.2, 2.4.24]
> 
> I tried building 0.7: compiling failed with:
>   drbd_main.c:1352: error: `devfs_handle' undeclared
> 
> After I configured devfs in the kernel it built ok.
> Perhaps a note in README or INSTALL file that devfs is required?

it is not required, we forgot to remove one ifdef, see below ...
 
> How safe do we think 0.7 is running on 2.4.24?
> Shall I forge ahead and use it?

see Philipps announcement of 0.7-pre4

	Lars Ellenberg


--- drbd_main.c	1 Feb 2004 12:09:31 -0000	1.73.2.119
+++ drbd_main.c	1 Feb 2004 21:18:08 -0000
@@ -70,7 +70,7 @@ extern asmlinkage int sys_ioctl(unsigned
 #include "drbd.h"
 #include "drbd_int.h"
 
-#if LINUX_VERSION_CODE < KERNEL_VERSION(2,5,0) && defined (CONFIG_DEVFS_FS)
+#if LINUX_VERSION_CODE < KERNEL_VERSION(2,5,0)
 static devfs_handle_t devfs_handle;
 #endif



More information about the drbd-user mailing list