[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#320953: marked as done (Kernel fails to build: error at generic_serial.c)



Your message dated Sun, 14 May 2006 21:54:03 -0700 (PDT)
with message-id <Pine.LNX.4.63.0605142153080.16817@bobcat>
and subject line Kernel fails to build: error at generic_serial.c
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
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
-


--- End Message ---
--- Begin Message ---
Hi,

As we have been building all our kernels with gcc 4.0 for a while now, this bug is obviously fixed, so I'm closing the bug report.

Best regards,

Jurij Smakov                                        jurij@wooyd.org
Key: http://www.wooyd.org/pgpkey/                   KeyID: C99E03CC

--- End Message ---

Reply to: