* PROBLEM 2.6.12-git6 CX88
@ 2005-06-24 19:46 Sean Bruno
2005-06-24 20:22 ` [PATCH-GIT] " Mauro Carvalho Chehab
0 siblings, 1 reply; 2+ messages in thread
From: Sean Bruno @ 2005-06-24 19:46 UTC (permalink / raw)
To: 'linux-kernel@vger.kernel.org'
Attempted to compile 2.6.12 with git6 today received the following error
on the cx88 module:
[root@home-desk linux-2.6.12]# make -j3 modules
CHK include/linux/version.h
SPLIT include/linux/autoconf.h -> include/config/*
make[1]: `arch/x86_64/kernel/asm-offsets.s' is up to date.
CC [M] drivers/media/video/cx88/cx88-core.o
CC [M] drivers/media/video/cx88/cx88-i2c.o
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
make[4]: *** [drivers/media/video/cx88/cx88-core.o] Error 1
make[4]: *** Waiting for unfinished jobs....
make[3]: *** [drivers/media/video/cx88] Error 2
make[2]: *** [drivers/media/video] Error 2
make[1]: *** [drivers/media] Error 2
make: *** [drivers] Error 2
make: *** Waiting for unfinished jobs....
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
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man
--infodir=/usr/share/info --enable-shared --enable-threads=posix
--enable-checking=release --with-system-zlib --enable-__cxa_atexit
--disable-libunwind-exceptions --enable-libgcj-multifile
--enable-languages=c,c++,objc,java,f95,ada --enable-java-awt=gtk
--with-java-home=/usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre
--host=x86_64-redhat-linux
Thread model: posix
gcc version 4.0.0 20050519 (Red Hat 4.0.0-8)
^ permalink raw reply [flat|nested] 2+ messages in thread
* [PATCH-GIT] Re: PROBLEM 2.6.12-git6 CX88
2005-06-24 19:46 PROBLEM 2.6.12-git6 CX88 Sean Bruno
@ 2005-06-24 20:22 ` Mauro Carvalho Chehab
0 siblings, 0 replies; 2+ messages in thread
From: Mauro Carvalho Chehab @ 2005-06-24 20:22 UTC (permalink / raw)
To: Sean Bruno; +Cc: 'linux-kernel@vger.kernel.org', Andrew Morton, trivial
[-- Attachment #1: Type: text/plain, Size: 742 bytes --]
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.
[-- Attachment #2: v4l_cx88_pci_irqs.patch --]
[-- Type: text/x-patch, Size: 569 bytes --]
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,
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2005-06-24 20:23 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-06-24 19:46 PROBLEM 2.6.12-git6 CX88 Sean Bruno
2005-06-24 20:22 ` [PATCH-GIT] " Mauro Carvalho Chehab
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®