Messages in this thread Patch in this message |  | | | Date | Fri, 24 Jun 2005 17:22:49 -0300 | | From | Mauro Carvalho Chehab <> | | Subject | [PATCH-GIT] Re: PROBLEM 2.6.12-git6 CX88 |
| |
Sean,
It is an already seen error that occurs only with gcc 4.0. It's correction was already sent to Andrew Morton to be applied on the -mm series. I'm enclosing a patch for solving it.
Sean Bruno wrote: > Attempted to compile 2.6.12 with git6 today received the following error > on the cx88 module: > drivers/media/video/cx88/cx88-core.c:548: error: static declaration of > ‘cx88_pci_irqs’ follows non-static declaration > drivers/media/video/cx88/cx88.h:438: error: previous declaration of > ‘cx88_pci_irqs’ was here > Also, here is my gcc version info: > [root@home-desk linux-2.6.12]# gcc -v > Using built-in specs. > Target: x86_64-redhat-linux > gcc version 4.0.0 20050519 (Red Hat 4.0.0-8) +++++ ^
Mauro. drivers/media/video/cx88/cx88.h | 1 - 1 files changed, 1 deletion(-) --- drivers/media/video/cx88/cx88.h.old 2005-06-24 17:13:51.000000000 -0300 +++ drivers/media/video/cx88/cx88.h 2005-06-24 17:14:05.000000000 -0300 @@ -435,7 +435,6 @@ struct cx8802_dev { /* ----------------------------------------------------------- */ /* cx88-core.c */ -extern char *cx88_pci_irqs[32]; extern char *cx88_vid_irqs[32]; extern char *cx88_mpeg_irqs[32]; extern void cx88_print_irqbits(char *name, char *tag, char **strings, |  |