Web lists-archives.com

Error installing v4l driver


I’m using Ubuntu Jaunty 9.04 with kernel 2.6.28-15-generic. I’m using MythTV with Hauppauge Nova-T 500 dual DVB card. After updating system with new linux-headres, I should reinstall v4l driver in order to get IR receiver to work. I have made this several times when linux-headers are updated without any problems.
For reinstall I have used:
hg pull
hg update
make clean
rm v4l/.version
make all
sudo make install

Now I get errors during command make all.
Error is listed below.

  CC [M]  /home/avo/v4l-dvb/v4l/stb6100.o
/home/avo/v4l-dvb/v4l/stb6100.c: In function 'stb6100_set_frequency':
/home/avo/v4l-dvb/v4l/stb6100.c:377: error: implicit declaration of function 'DIV_ROUND_CLOSEST'
make[3]: *** [/home/avo/v4l-dvb/v4l/stb6100.o] Error 1
make[2]: *** [_module_/home/avo/v4l-dvb/v4l] Error 2
make[2]: Leaving directory `/usr/src/linux-headers-2.6.28-15-generic'
make[1]: *** [default] Error 2
make[1]: Leaving directory `/home/avo/v4l-dvb/v4l'
make: *** [all] Error 2

Can you help me to fix this problem?


Avo Aasma, CISA
Webit OÜ<http://www.webit.ee/>
+372 50 34999
MSN: avo.aasma@xxxxxxxxxx<mailto:avo.aasma@xxxxxxxxxx>
Skype: avoaasma5272

video4linux-list mailing list
Unsubscribe mailto:video4linux-list-request@xxxxxxxxxx?subject=unsubscribe