Mailing List archive

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

[linux-dvb] Re: Problem while compiling dvb-kernel withkernel-2.6.9 :'(



dark,

linuxtv-dvb-1.1.1 works OK with 2.6.3, but I had problems with my
drivers with 2.6.7 and on. I suggest that you use the CVS version for
current kernels. It worked for me.

There are API changes in the recent kernels which break the dvb 1.1.1
tarball.

If you search the archives of this list, I think you will find that they
have been discussed before. The I2C_XXX stuff looks familiar.

Ben.

On Tue, 2004-09-07 at 20:29, dark wrote:
> Hi everybody ;-)
> 
> I want to compile the linuxtv-dvb-1.1.1 by hand, but i have an error
> during the "make".
> 
> What i have done is:
> 
> 1- cd linuxtv-dvb-1.1.1/build-2.6
> 2- ./getlinks /usr/src/linux-2.6.9-rc1-mm2
> 3- make
> 
> But the make command results:
> ----------------------------------------------------------------------
> # make
> [ -L saa7146_video.c ] || ./getlinks
> gcc -o fdump fdump.c
> ./fdump "/usr/lib/hotplug/firmware/dvb-ttpci-01.fw" dvb_ttpci_fw av7110_firm.h
> make -C /lib/modules/2.6.9-rc1-mm2/build
> SUBDIRS=/usr/local/src/linuxtv-dvb-1.1.1/build-2.6
> make[1]: Entering directory `/usr/src/linux-2.6.9-rc1-mm2'
>   LD      /usr/local/src/linuxtv-dvb-1.1.1/build-2.6/built-in.o
>   CC [M]  /usr/local/src/linuxtv-dvb-1.1.1/build-2.6/dvbdev.o
>   CC [M]  /usr/local/src/linuxtv-dvb-1.1.1/build-2.6/dmxdev.o
>   CC [M]  /usr/local/src/linuxtv-dvb-1.1.1/build-2.6/dvb_demux.o
>   CC [M]  /usr/local/src/linuxtv-dvb-1.1.1/build-2.6/dvb_filter.o
>   CC [M]  /usr/local/src/linuxtv-dvb-1.1.1/build-2.6/dvb_functions.o
>   CC [M]  /usr/local/src/linuxtv-dvb-1.1.1/build-2.6/dvb_frontend.o
>   CC [M]  /usr/local/src/linuxtv-dvb-1.1.1/build-2.6/dvb_i2c.o
>   CC [M]  /usr/local/src/linuxtv-dvb-1.1.1/build-2.6/dvb_net.o
>   CC [M]  /usr/local/src/linuxtv-dvb-1.1.1/build-2.6/dvb_ksyms.o
>   CC [M]  /usr/local/src/linuxtv-dvb-1.1.1/build-2.6/dvb_ringbuffer.o
>   CC [M]  /usr/local/src/linuxtv-dvb-1.1.1/build-2.6/av7110_hw.o
>   CC [M]  /usr/local/src/linuxtv-dvb-1.1.1/build-2.6/av7110_v4l.o
>   CC [M]  /usr/local/src/linuxtv-dvb-1.1.1/build-2.6/av7110_av.o
>   CC [M]  /usr/local/src/linuxtv-dvb-1.1.1/build-2.6/av7110_ca.o
>   CC [M]  /usr/local/src/linuxtv-dvb-1.1.1/build-2.6/av7110.o
>   CC [M]  /usr/local/src/linuxtv-dvb-1.1.1/build-2.6/av7110_ipack.o
>   CC [M]  /usr/local/src/linuxtv-dvb-1.1.1/build-2.6/av7110_ir.o
>   CC [M]  /usr/local/src/linuxtv-dvb-1.1.1/build-2.6/saa7146_i2c.o
> /usr/local/src/linuxtv-dvb-1.1.1/build-2.6/saa7146_i2c.c: Dans la
> fonction « saa7146_i2c_adapter_prepare »:
> /usr/local/src/linuxtv-dvb-1.1.1/build-2.6/saa7146_i2c.c:428: error:
> `I2C_ADAP_CLASS_TV_ANALOG' undeclared (first use in this function)
> /usr/local/src/linuxtv-dvb-1.1.1/build-2.6/saa7146_i2c.c:428: error:
> (Each undeclared identifier is reported only once
> /usr/local/src/linuxtv-dvb-1.1.1/build-2.6/saa7146_i2c.c:428: error:
> for each function it appears in.)
> make[2]: *** [/usr/local/src/linuxtv-dvb-1.1.1/build-2.6/saa7146_i2c.o] Erreur 1
> make[1]: *** [_module_/usr/local/src/linuxtv-dvb-1.1.1/build-2.6] Erreur 2
> make[1]: Leaving directory `/usr/src/linux-2.6.9-rc1-mm2'
> make: *** [all] Erreur 2
> ----------------------------------------------------------------------
> 
> 
> I don't understand the error :'(
> What should i do now?
> I need help...
> 
> Thanks to all ;-)
> 
> 
> 





Home | Main Index | Thread Index