Author Topic: make error on v4l-dbv for radio-tea5764.c  (Read 461 times)


  • First post!
  • Posts: 1
    • View Profile
make error on v4l-dbv for radio-tea5764.c
« on: January 02, 2009, 04:55:12 pm »
I just installed the latest LinuxMCE from DVD (LinuxMCE-DVD-i386-rc2) and I'm trying to get the Hauppauge 1800 PCI card to work. From other places it looks like you can do the following to get the card to work.

cd /usr/local/src
hg clone newbielink: [nonactive]
cd v4l-dvb

make && make install

When I do the make I receive the following errors and the make stops....make -C /usr/local/src/v4l-dvb/v4l
make[1]: Entering directory `/usr/local/src/v4l-dvb/v4l'
creating symbolic links...
Kernel build directory is /lib/modules/2.6.22-14-generic/build
make -C /lib/modules/2.6.22-14-generic/build SUBDIRS=/usr/local/src/v4l-dvb/v4l  modules
make[2]: Entering directory `/usr/src/linux-headers-2.6.22-14-generic'
  CC [M]  /usr/local/src/v4l-dvb/v4l/radio-tea5764.o
/usr/local/src/v4l-dvb/v4l/radio-tea5764.c:597: warning: initialization makes integer from pointer without a cast
/usr/local/src/v4l-dvb/v4l/radio-tea5764.c:597: error: initializer element is not computable at load time
/usr/local/src/v4l-dvb/v4l/radio-tea5764.c:597: error: (near initialization for 'tea5764_id[0].id')
/usr/local/src/v4l-dvb/v4l/radio-tea5764.c:597: warning: excess elements in struct initializer
/usr/local/src/v4l-dvb/v4l/radio-tea5764.c:597: warning: (near initialization for 'tea5764_id[0]')
/usr/local/src/v4l-dvb/v4l/radio-tea5764.c:607: warning: initialization from incompatible pointer type
/usr/local/src/v4l-dvb/v4l/radio-tea5764.c:609: error: unknown field 'id_table' specified in initializer
/usr/local/src/v4l-dvb/v4l/radio-tea5764.c:609: warning: initialization from incompatible pointer type
make[3]: *** [/usr/local/src/v4l-dvb/v4l/radio-tea5764.o] Error 1
make[2]: *** [_module_/usr/local/src/v4l-dvb/v4l] Error 2
make[2]: Leaving directory `/usr/src/linux-headers-2.6.22-14-generic'
make[1]: *** [default] Error 2
make[1]: Leaving directory `/usr/local/src/v4l-dvb/v4l'
make: *** [all] Error 2

Looks like the radio-tea5764.c is generated each time so removing doesn't work.
Adding the Linus header directory to libpath didn't work.
Compared the module to other listings on the web and they look the same for the lines in question.

What is causing the error????