Skip to contentSkip to conversation

2.6.10 compile error - blackbird_load_firmware

PATCH New prem.de.ms 3 participants 3 messages Dec 27, 2004 – Jan 3, 2005 Media (V4L/DVB)

lore
Share & tools
lore

prem.de.ms

author
#0 lore raw

Hello,

I get the following error message when I try to compile the new 2.6.10-kernel:

[...]
CHK include/linux/compile.h

 UPD     include/linux/compile.h
 CC      init/version.o
 LD      init/built-in.o
 LD      .tmp_vmlinux1

drivers/built-in.o(.text+0x8a3b2): In function `blackbird_load_firmware':
: undefined reference to request_firmware' drivers/built-in.o(.text+0x8a454): In function blackbird_load_firmware':
: undefined reference to `release_firmware'
make: *** [.tmp_vmlinux1] Error 1

Seems like the Conexant drivers are broken because the kernel compiles when I uncheck them.

Any suggestions?

#1 lore raw

PATCH 1/1 let VIDEO_CX88 select FW_LOADER

Quoted 17 lines · prem.de.ms

Hello,

I get the following error message when I try to compile the new 2.6.10-kernel:

[...]
CHK include/linux/compile.h

 UPD     include/linux/compile.h
 CC      init/version.o
 LD      init/built-in.o
 LD      .tmp_vmlinux1

drivers/built-in.o(.text+0x8a3b2): In function `blackbird_load_firmware':
: undefined reference to request_firmware' drivers/built-in.o(.text+0x8a454): In function blackbird_load_firmware':
: undefined reference to `release_firmware'
make: *** [.tmp_vmlinux1] Error 1

Quoted 4 lines

Seems like the Conexant drivers are broken because the kernel compiles when I uncheck them.

Any suggestions?

Thanks for this report.

The patch below should fix it.

drivers/media/video/Kconfig renamed from drivers/media/video/Kconfig.old +1 -0
@@ -304,8 +304,9 @@
 config VIDEO_CX88
 	tristate "Conexant 2388x (bt878 successor) support"
 	depends on VIDEO_DEV && PCI && EXPERIMENTAL
 	select I2C_ALGOBIT
+	select FW_LOADER
 	select VIDEO_BTCX
 	select VIDEO_BUF
 	select VIDEO_TUNER
 	---help---
#2 lore raw
In reply to prem.de.ms
Quoted 9 lines · prem.de.ms

Hello,

I get the following error message when I try to compile the new 2.6.10-kernel:

<snip>
Seems like the Conexant drivers are broken because the kernel compiles when I uncheck them.

It seems Conexant uses the firmware loader as well as I2C w/o requiring them. Patch attached.

drivers/media/video/Kconfig renamed from drivers/media/video/Kconfig~ +2 -1
@@ -303,8 +303,9 @@
 
 config VIDEO_CX88
 	tristate "Conexant 2388x (bt878 successor) support"
-	depends on VIDEO_DEV && PCI && EXPERIMENTAL
+	depends on VIDEO_DEV && PCI && I2C && EXPERIMENTAL
 	select I2C_ALGOBIT
+	select FW_LOADER
 	select VIDEO_BTCX
 	select VIDEO_BUF
 	select VIDEO_TUNER