Re: 'make dep' produces lots of errors with this .config

From: Alex Buell (alex.buell@tahallah.demon.co.uk)
Date: Fri Aug 17 2001 - 17:11:42 EST


On Fri, 17 Aug 2001, André Dahlqvist wrote:

> I have come across what might be a problem and what might be
> completely harmless. I have noticed that when I configure my kernel in
> a certain way (the config file is attached) 'make dep' produces these
> errors while it is being run (these are just the errors, normal output
> is omitted):

Dear Gods, not another of Linus's "holiday presents". These are for the
Sparc32 port, I came across one earlier and here's a slightly modified
patch for drivers/char/vt.c. Original patch came from a l-lk post earlier
(must have missed it, found a reference to it on sparclinux)

--- linux/drivers/char/vt.c.original Fri Aug 17 21:21:47 2001
+++ linux/drivers/char/vt.c Fri Aug 17 22:29:46 2001
@@ -28,7 +28,10 @@

 #include <asm/io.h>
 #include <asm/uaccess.h>
+
+#if !defined(__sparc__)
 #include <asm/keyboard.h>
+#endif

 #include <linux/kbd_kern.h>
 #include <linux/vt_kern.h>
@@ -499,7 +502,8 @@
 #endif

        /* Linux m68k/i386 interface for setting the keyboard delay/repeat rate */
-
+
+#if !defined(__sparc__)
        case KDKBDREP:
        {
                struct kbd_repeat kbrep;
@@ -518,6 +522,7 @@
                        return -EFAULT;
                return 0;
        }
+#endif

        case KDSETMODE:
                /*

-- 
A pancake! I've photocopied a pancake!

http://www.tahallah.demon.co.uk

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Thu Aug 23 2001 - 21:00:26 EST