[linux-dvb] Compilation against 2.6.25 kernel

Pavel Smirnov huge at ax.ru
Thu Apr 24 17:21:26 CEST 2008


Not sure I was sane to do this, but tried to get hvr4000-dvb working on 
2.6.25 kernel.
Reckon problem is not unique to this branch hence my post:


[huga at boxer hvr4000-build]# make
make -C /huga/hvr4000-build/v4l
make[1]: Entering directory `/huga/hvr4000-build/v4l'
creating symbolic links...
Kernel build directory is /lib/modules/2.6.25/build
make -C /lib/modules/2.6.25/build SUBDIRS=/huga/hvr4000-build/v4l  modules
make[2]: Entering directory `/usr/src/redhat/BUILD/kernel-2.6.25'
  CC [M]  /huga/hvr4000-build/v4l/cx25840-core.o
/huga/hvr4000-build/v4l/cx25840-core.c:69: error: conflicting type 
qualifiers for 'addr_data'
/huga/hvr4000-build/v4l/../linux/include/media/v4l2-i2c-drv-legacy.h:41: 
error: previous declaration of 'addr_data' was here
make[3]: *** [/huga/hvr4000-build/v4l/cx25840-core.o] Error 1
make[2]: *** [_module_/huga/hvr4000-build/v4l] Error 2
make[2]: Leaving directory `/usr/src/redhat/BUILD/kernel-2.6.25'
make[1]: *** [default] Error 2
make[1]: Leaving directory `/huga/hvr4000-build/v4l'
make: *** [all] Error 2
[huga at boxer hvr4000-build]# make
make -C /huga/hvr4000-build/v4l
make[1]: Entering directory `/huga/hvr4000-build/v4l'
creating symbolic links...
Kernel build directory is /lib/modules/2.6.25/build
make -C /lib/modules/2.6.25/build SUBDIRS=/huga/hvr4000-build/v4l  modules
make[2]: Entering directory `/usr/src/redhat/BUILD/kernel-2.6.25'
  CC [M]  /huga/hvr4000-build/v4l/cx25840-core.o
/huga/hvr4000-build/v4l/cx25840-core.c:69: error: conflicting type 
qualifiers for 'addr_data'
/huga/hvr4000-build/v4l/../linux/include/media/v4l2-i2c-drv-legacy.h:41: 
error: previous declaration of 'addr_data' was here
make[3]: *** [/huga/hvr4000-build/v4l/cx25840-core.o] Error 1
make[2]: *** [_module_/huga/hvr4000-build/v4l] Error 2
make[2]: Leaving directory `/usr/src/redhat/BUILD/kernel-2.6.25'
make[1]: *** [default] Error 2
make[1]: Leaving directory `/huga/hvr4000-build/v4l'
make: *** [all] Error 2
[huga at boxer hvr4000-build]# uname -r
2.6.25


Any comments or suggestions - I'll be jumping my brain circuits in 
excitement...

Cheers,

Pav



More information about the linux-dvb mailing list