lkml.org 
[lkml]   [2008]   [Jul]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
SubjectRe: [v4l-dvb-maintainer] build issue #477 for v2.6.26-rc8-290-gb8a0b6c : input_event" [drivers/media/dvb/ttpci/dvb-ttpci.ko] undefined!
Date
Toralf Förster wrote:
> Hello,
>
> the build (.config attached) failed, make ends with :
> ...
> Building modules, stage 2.
> MODPOST 433 modules
> ERROR: "input_event" [drivers/media/dvb/ttpci/dvb-ttpci.ko] undefined!
> ERROR: "input_register_device" [drivers/media/dvb/ttpci/dvb-ttpci.ko] undefined!
> ERROR: "input_free_device" [drivers/media/dvb/ttpci/dvb-ttpci.ko] undefined!
> ERROR: "input_unregister_device" [drivers/media/dvb/ttpci/dvb-ttpci.ko] undefined!
> ERROR: "input_allocate_device" [drivers/media/dvb/ttpci/dvb-ttpci.ko] undefined!
> make[1]: *** [__modpost] Error 1
> make: *** [modules] Error 2
>
>
> The build was made with an old .config from kernel 2.6.25-rc9
> (where the build also failed but probably b/c of a different reason) :
> $>make oldconfig; make clean; make
>
> Here's the config:
>
> #
> # Automatically generated make config: don't edit
> # Linux kernel version: 2.6.26-rc8
> # Sat Jul 5 13:04:33 2008
> #
> ...
> #
> # Input device support
> #
> # CONFIG_INPUT is not set
> ...

Thanks for reporting.
Does the attached patch fix the problem?

CU
Oliver

--
----------------------------------------------------------------
VDR Remote Plugin 0.4.0: http://www.escape-edv.de/endriss/vdr/
----------------------------------------------------------------
Do not compile av7110_ir if CONFIG_INPUT_EVDEV is not selected.

Signed-off-by: Oliver Endriss <o.endriss@gmx.de>

diff -r cb91f21a543e linux/drivers/media/dvb/ttpci/Makefile
--- a/linux/drivers/media/dvb/ttpci/Makefile Mon Jun 23 22:30:42 2008 +0200
+++ b/linux/drivers/media/dvb/ttpci/Makefile Sun Jul 06 00:14:15 2008 +0200
@@ -3,7 +3,11 @@
# and the AV7110 DVB device driver
#

-dvb-ttpci-objs := av7110_hw.o av7110_v4l.o av7110_av.o av7110_ca.o av7110.o av7110_ipack.o av7110_ir.o
+dvb-ttpci-objs := av7110_hw.o av7110_v4l.o av7110_av.o av7110_ca.o av7110.o av7110_ipack.o
+
+ifdef CONFIG_INPUT_EVDEV
+dvb-ttpci-objs += av7110_ir.o
+endif

obj-$(CONFIG_TTPCI_EEPROM) += ttpci-eeprom.o
obj-$(CONFIG_DVB_BUDGET_CORE) += budget-core.o
\
 
 \ /
  Last update: 2008-07-06 00:47    [W:0.108 / U:0.036 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site