Package: kernel-source-2.6.11
Version: 2.6.11-7
The kernel fails to compile with gcc4.0. I include the error. I found
a patch, but I have not tried it. It was at:
http://www.uwsg.iu.edu/hypermail/linux/kernel/0503.1/2428.html
Thanks,
Marc
...
CC [M] drivers/char/generic_serial.o
drivers/char/generic_serial.c:38: error: static declaration of
'gs_debug' follows non-static declaration
include/linux/generic_serial.h:94: error: previous declaration of
'gs_debug' was here
...
make[3]: *** [drivers/char/generic_serial.o] Error 1
make[2]: *** [drivers/char] Error 2
make[1]: *** [drivers] Error 2
make[1]: Leaving directory `/usr/src/kernel-source-2.6.11'
make: *** [stamp-build] Error 2
Exit 2
--- linux-2.6.11/include/linux/generic_serial.h.~1~ 2005-03-02
19:24:19.000000000 +0100
+++ linux-2.6.11/include/linux/generic_serial.h 2005-03-15
17:11:07.000000000 +0100
@@ -91,6 +91,4 @@ int gs_setserial(struct gs_port *port,
int gs_getserial(struct gs_port *port, struct serial_struct __user *sp);
void gs_got_break(struct gs_port *port);
-extern int gs_debug;
-
#endif
-
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]