Digittrade DVB-T USB Stick compile error

Hallo,

I have bought the Digittrade DVB-T Stick, which officially supports Linux. When I try to install the driver, there occurs a error message which i cant handle. I don’t know what i made wrong.

I downloaded the driver and the installation-instructions here: DIGITTRADE Online-Shop - Hier finden Sie Downloads zu unseren Produkten.

many thanks for your help!!! PS: I am using opensuse 11.2

ich habe mir den Digitrade DVB-T Stick gekauft, welcher offiziell Linux unterstützt. Bei der Installation des Treibers habe ich aber leider ein Problem, das ich nicht lösen kann. Gegoogelt habe ich schon.

Hello

Wenn ich die automatische install.sh als root ausführe kommt er so weit:

linux-4evr:/home/user/Downloads # sh install.sh                                                                                                                     
Verifying archive integrity... All good.                                                                                                                               
Uncompressing test.....                                                                                                                                                
make -C /tmp/selfgz845115622/af9015-74e494a94960/v4l                                                                                                                   
make[1]: Entering directory `/tmp/selfgz845115622/af9015-74e494a94960/v4l'                                                                                             
No version yet, using 2.6.31.12-0.2-pae                                                                                                                                
make[1]: Leaving directory `/tmp/selfgz845115622/af9015-74e494a94960/v4l'                                                                                              
make[1]: Entering directory `/tmp/selfgz845115622/af9015-74e494a94960/v4l'                                                                                             
scripts/make_makefile.pl                                                                                                                                               
Updating/Creating .config                                                                                                                                              
Preparing to compile for kernel version 2.6.31                                                                                                                         
VIDEO_PLANB: Requires at least kernel 2.6.99                                                                                                                           
Created default (all yes) .config file                                                                                                                                 
./scripts/make_myconfig.pl                                                                                                                                             
make[1]: Leaving directory `/tmp/selfgz845115622/af9015-74e494a94960/v4l'                                                                                              
make[1]: Entering directory `/tmp/selfgz845115622/af9015-74e494a94960/v4l'                                                                                             
perl scripts/make_config_compat.pl /lib/modules/2.6.31.12-0.2-pae/source ./.myconfig ./config-compat.h                                                                 
creating symbolic links...                                                                                                                                             
ln -sf . oss                                                                                                                                                           
Kernel build directory is /lib/modules/2.6.31.12-0.2-pae/build                                                                                                         
make -C /lib/modules/2.6.31.12-0.2-pae/build SUBDIRS=/tmp/selfgz845115622/af9015-74e494a94960/v4l  modules                                                             
make[2]: Entering directory `/usr/src/linux-2.6.31.12-0.2-obj/i386/pae'                                                                                                
make -C ../../../linux-2.6.31.12-0.2 O=/usr/src/linux-2.6.31.12-0.2-obj/i386/pae/. modules                                                                             
  CC [M]  /tmp/selfgz845115622/af9015-74e494a94960/v4l/flexcop-pci.o                                                                                                   
.....



                  
/tmp/selfgz845115622/af9015-74e494a94960/v4l/bttv-driver.c:3677: error: unknown field 'vidioc_s_ctrl' specified in initializer                                         
/tmp/selfgz845115622/af9015-74e494a94960/v4l/bttv-driver.c:3677: warning: excess elements in struct initializer                                                        
/tmp/selfgz845115622/af9015-74e494a94960/v4l/bttv-driver.c:3677: warning: (near initialization for 'radio_template')                                                   
/tmp/selfgz845115622/af9015-74e494a94960/v4l/bttv-driver.c:3678: error: unknown field 'vidioc_g_frequency' specified in initializer                                    
/tmp/selfgz845115622/af9015-74e494a94960/v4l/bttv-driver.c:3678: warning: excess elements in struct initializer                                                        
/tmp/selfgz845115622/af9015-74e494a94960/v4l/bttv-driver.c:3678: warning: (near initialization for 'radio_template')                                                   
/tmp/selfgz845115622/af9015-74e494a94960/v4l/bttv-driver.c:3679: error: unknown field 'vidioc_s_frequency' specified in initializer                                    
/tmp/selfgz845115622/af9015-74e494a94960/v4l/bttv-driver.c:3679: warning: excess elements in struct initializer                                                        
/tmp/selfgz845115622/af9015-74e494a94960/v4l/bttv-driver.c:3679: warning: (near initialization for 'radio_template')                                                   
/tmp/selfgz845115622/af9015-74e494a94960/v4l/bttv-driver.c: In function 'vdev_init':                                                                                   
/tmp/selfgz845115622/af9015-74e494a94960/v4l/bttv-driver.c:4221: error: incompatible types when assigning to type 'struct device' from type 'struct device *'          
/tmp/selfgz845115622/af9015-74e494a94960/v4l/bttv-driver.c:4224: error: 'struct video_device' has no member named 'type'                                               
/tmp/selfgz845115622/af9015-74e494a94960/v4l/bttv-driver.c: In function 'bttv_register_video':                                                                         
/tmp/selfgz845115622/af9015-74e494a94960/v4l/bttv-driver.c:4265: error: 'struct video_device' has no member named 'type'                                               
/tmp/selfgz845115622/af9015-74e494a94960/v4l/bttv-driver.c:4280: error: 'struct video_device' has no member named 'class_dev'                                          
/tmp/selfgz845115622/af9015-74e494a94960/v4l/bttv-driver.c: In function 'bttv_probe':                                                                                  
/tmp/selfgz845115622/af9015-74e494a94960/v4l/bttv-driver.c:4378: warning: 'DMA_nnBIT_MASK' is deprecated                                                               
make[5]: *** [/tmp/selfgz845115622/af9015-74e494a94960/v4l/bttv-driver.o] Error 1                                                                                      
make[4]: *** [_module_/tmp/selfgz845115622/af9015-74e494a94960/v4l] Error 2                                                                                            
make[3]: *** [sub-make] Error 2                                                                                                                                        
make[2]: *** [all] Error 2                                                                                                                                             
make[2]: Leaving directory `/usr/src/linux-2.6.31.12-0.2-obj/i386/pae'                                                                                                 
make[1]: *** [default] Fehler 2                                                                                                                                        
make[1]: Leaving directory `/tmp/selfgz845115622/af9015-74e494a94960/v4l'                                                                                              
make: *** [all] Fehler 2
make -C /tmp/selfgz845115622/af9015-74e494a94960/v4l install
make[1]: Entering directory `/tmp/selfgz845115622/af9015-74e494a94960/v4l'
Stripping debug info from files
Usage: strip <option(s)> in-file(s)
 Removes symbols and sections from files
 The options are:
  -I --input-target=<bfdname>      Assume input file is in format <bfdname>
  -O --output-target=<bfdname>     Create an output file in format <bfdname>
  -F --target=<bfdname>            Set both input and output format to <bfdname>
  -p --preserve-dates              Copy modified/access timestamps to the output
  -R --remove-section=<name>       Remove section <name> from the output
  -s --strip-all                   Remove all symbol and relocation information
  -g -S -d --strip-debug           Remove all debugging symbols & sections
     --strip-unneeded              Remove all symbols not needed by relocations
     --only-keep-debug             Strip everything but the debug information
  -N --strip-symbol=<name>         Do not copy symbol <name>
  -K --keep-symbol=<name>          Do not strip symbol <name>
     --keep-file-symbols           Do not strip file symbol(s)
  -w --wildcard                    Permit wildcard in symbol comparison
  -x --discard-all                 Remove all non-global symbols
  -X --discard-locals              Remove any compiler-generated symbols
  -v --verbose                     List all object files modified
  -V --version                     Display this program's version number
  -h --help                        Display this output
     --info                        List object formats & architectures supported
  -o <file>                        Place stripped output into <file>
strip: supported targets: elf32-i386 a.out-i386-linux pei-i386 elf32-little elf32-big elf64-alpha ecoff-littlealpha elf64-little elf64-big elf32-littlearm elf32-bigarm elf32-hppa-linux elf32-hppa elf64-hppa-linux elf64-hppa elf64-x86-64 elf64-ia64-little elf64-ia64-big pei-ia64 elf32-m68k a.out-m68k-linux elf32-tradbigmips elf32-tradlittlemips ecoff-bigmips ecoff-littlemips elf32-ntradbigmips elf64-tradbigmips elf32-ntradlittlemips elf64-tradlittlemips elf32-powerpc aixcoff-rs6000 elf32-powerpcle ppcboot elf64-powerpc elf64-powerpcle aixcoff64-rs6000 elf32-s390 elf64-s390 elf32-sh-linux elf32-shbig-linux elf32-sparc a.out-sparc-linux elf64-sparc a.out-sunos-big pei-x86-64 xcoff-powermac mach-o-be mach-o-le mach-o-fat pef pef-xlib sym elf32-spu srec symbolsrec verilog tekhex binary ihex trad-core
make[1]: *** [media] Fehler 1
make[1]: Leaving directory `/tmp/selfgz845115622/af9015-74e494a94960/v4l'
make: *** [install] Fehler 2
linux-4evr:/home/user/Downloads #

I have found a solution:

I downloaded a older version of the driver and make went on without errors. The Stick runs perfectly with kaffeine on opensuse 11.2

For those of you which have got the same problem - I’ve downloaded the older version as explained in this thread: [EasyLinux-Suse] USB DVB-T Stick mit Afatech Chip](http://www.easylinux.de/pipermail/suse/2010-March/045799.html)

Best greets