[DRBD-user] drbd0.7-pre7 and kernel 2.6.6 - no luck

Lars Ellenberg Lars.Ellenberg at linbit.com
Wed May 19 18:49:04 CEST 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-05-19 18:26:42 +0200
\ Marcus Meyer:
> > no nightly tarball, not much use for it with *two* developers...
> >
> > uploaded tgz as of now (0.7-pre7-20040519) to above mentioned page.
> 
> Mmmhhhh.....
> 
> It doesn't compile:
> 
> /root/source/drbd-0.7_pre7_20040519/drbd/drbd_fs.c:36:31:
> linux/modversions.h: No such file or directory

sorry.
never tested with MODVERSIONS.
another leftover from the pre linux 2.6.X days ...
shows now, because I got rid of the HAVE_AUTOCONF leftover from probably
linux 2.2 days...

	Lars Ellenberg


Index: drbd_dsender.c
===================================================================
RCS file: /var/lib/cvs/drbd/drbd/drbd/Attic/drbd_dsender.c,v
retrieving revision 1.1.2.111
diff -u -p -r1.1.2.111 drbd_dsender.c
--- drbd_dsender.c	18 May 2004 16:20:42 -0000	1.1.2.111
+++ drbd_dsender.c	19 May 2004 16:49:55 -0000
@@ -28,9 +28,7 @@
  */
 
 #include <linux/config.h>
-#ifdef CONFIG_MODVERSIONS
-#include <linux/modversions.h>
-#endif
+#include <linux/module.h>
 
 #include <asm/bitops.h>
 #include <linux/sched.h>
Index: drbd_fs.c
===================================================================
RCS file: /var/lib/cvs/drbd/drbd/drbd/drbd_fs.c,v
retrieving revision 1.28.2.93
diff -u -p -r1.28.2.93 drbd_fs.c
--- drbd_fs.c	18 May 2004 16:20:42 -0000	1.28.2.93
+++ drbd_fs.c	19 May 2004 16:49:56 -0000
@@ -32,9 +32,6 @@
 
 #include <linux/config.h>
 #include <linux/module.h>
-#ifdef CONFIG_MODVERSIONS
-#include <linux/modversions.h>
-#endif
 
 #include <asm/uaccess.h>
 #include <linux/in.h>
Index: drbd_int.h
===================================================================
RCS file: /var/lib/cvs/drbd/drbd/drbd/drbd_int.h,v
retrieving revision 1.58.2.163
diff -u -p -r1.58.2.163 drbd_int.h
--- drbd_int.h	18 May 2004 16:20:42 -0000	1.58.2.163
+++ drbd_int.h	19 May 2004 16:49:58 -0000
@@ -769,6 +769,7 @@ extern int drbd_send_drequest(drbd_dev *
 extern int drbd_send_insync(drbd_dev *mdev,sector_t sector,
 			    u64 block_id);
 extern int drbd_send_bitmap(drbd_dev *mdev);
+extern int _drbd_send_bitmap(drbd_dev *mdev);
 extern void drbd_free_ll_dev(drbd_dev *mdev);
 extern int drbd_io_error(drbd_dev* mdev);
 extern void drbd_mdev_cleanup(drbd_dev *mdev);
Index: drbd_main.c
===================================================================
RCS file: /var/lib/cvs/drbd/drbd/drbd/drbd_main.c,v
retrieving revision 1.73.2.178
diff -u -p -r1.73.2.178 drbd_main.c
--- drbd_main.c	19 May 2004 15:36:05 -0000	1.73.2.178
+++ drbd_main.c	19 May 2004 16:50:00 -0000
@@ -34,15 +34,12 @@
  */
 
 #include <linux/config.h>
-#ifdef CONFIG_MODVERSIONS
-#include <linux/modversions.h>
-#endif
+#include <linux/module.h>
 
 #include <asm/uaccess.h>
 #include <asm/bitops.h>
 #include <asm/types.h>
 #include <net/sock.h>
-#include <linux/module.h>
 #include <linux/smp_lock.h>
 #include <linux/fs.h>
 #include <linux/file.h>
Index: drbd_proc.c
===================================================================
RCS file: /var/lib/cvs/drbd/drbd/drbd/drbd_proc.c,v
retrieving revision 1.8.2.27
diff -u -p -r1.8.2.27 drbd_proc.c
--- drbd_proc.c	18 May 2004 16:20:42 -0000	1.8.2.27
+++ drbd_proc.c	19 May 2004 16:50:00 -0000
@@ -28,9 +28,7 @@
  */
 
 #include <linux/config.h>
-#ifdef CONFIG_MODVERSIONS
-#include <linux/modversions.h>
-#endif
+#include <linux/module.h>
 
 #include <asm/uaccess.h>
 #include <linux/fs.h>
Index: drbd_receiver.c
===================================================================
RCS file: /var/lib/cvs/drbd/drbd/drbd/drbd_receiver.c,v
retrieving revision 1.97.2.160
diff -u -p -r1.97.2.160 drbd_receiver.c
--- drbd_receiver.c	19 May 2004 15:36:05 -0000	1.97.2.160
+++ drbd_receiver.c	19 May 2004 16:50:02 -0000
@@ -31,9 +31,7 @@
 
 
 #include <linux/config.h>
-#ifdef CONFIG_MODVERSIONS
-#include <linux/modversions.h>
-#endif
+#include <linux/module.h>
 
 #include <asm/uaccess.h>
 #include <net/sock.h>
Index: drbd_req-2.4.c
===================================================================
RCS file: /var/lib/cvs/drbd/drbd/drbd/drbd_req-2.4.c,v
retrieving revision 1.33.2.80
diff -u -p -r1.33.2.80 drbd_req-2.4.c
--- drbd_req-2.4.c	18 May 2004 22:06:56 -0000	1.33.2.80
+++ drbd_req-2.4.c	19 May 2004 16:50:02 -0000
@@ -25,9 +25,7 @@
  */
 
 #include <linux/config.h>
-#ifdef CONFIG_MODVERSIONS
-#include <linux/modversions.h>
-#endif
+#include <linux/module.h>
 
 #include <linux/slab.h>
 #include <linux/drbd.h>



More information about the drbd-user mailing list