[Pxc] pxc-snapshot-000719.tar.gz
Alessandro Rubini
rubini@gnu.org
Mon, 24 Jul 2000 08:51:30 +0200
> Commenting out those lines permitted a clean compile. Interesting.
Well, this simple patch should fix the problem, building properly with
both versioned and non-versioned kernels.
Index: allocator.c
===================================================================
RCS file: /data/cvs/pxc/allocator.c,v
retrieving revision 1.4
diff -u -r1.4 allocator.c
--- allocator.c 1999/12/10 10:02:55 1.4
+++ allocator.c 2000/07/24 05:39:13
@@ -31,6 +31,13 @@
#include <linux/version.h>
+/* deal with modversions */
+#include <linux/config.h>
+#ifdef CONFIG_MODVERSIONS
+# define MODVERSIONS
+# include <linux/modversions.h>
+#endif
+
#include <linux/sched.h>
#include <linux/kernel.h>
#include <linux/fs.h>
Index: main.c
===================================================================
RCS file: /data/cvs/pxc/main.c,v
retrieving revision 1.22
diff -u -r1.22 main.c
--- main.c 2000/07/19 20:20:03 1.22
+++ main.c 2000/07/24 05:39:14
@@ -31,6 +31,14 @@
#include <linux/module.h>
+/* deal with modversions */
+#include <linux/config.h>
+#ifdef CONFIG_MODVERSIONS
+# define MODVERSIONS
+# include <linux/modversions.h>
+#endif
+
+
#include <linux/kernel.h> /* printk() */
#include <linux/malloc.h> /* kmalloc() */
#include <linux/fs.h> /* everything... */
Index: pxc200.h
===================================================================
RCS file: /data/cvs/pxc/pxc200.h,v
retrieving revision 1.17
diff -u -r1.17 pxc200.h
--- pxc200.h 2000/07/19 20:20:03 1.17
+++ pxc200.h 2000/07/24 05:39:14
@@ -235,14 +235,6 @@
#ifdef __KERNEL__ /* =================================================== */
-/* deal with modversions */
-#include <linux/config.h>
-#ifdef CONFIG_MODVERSIONS
-# define MODVERSIONS
-# include <linux/modversions.h>
-#endif
-
-
#include <linux/delay.h>