When I try to do make I get the following error. Any suggestions?
CC [M] /home/linuxmce/v4l-dvb/v4l/saa7146_video.o
CC [M] /home/linuxmce/v4l-dvb/v4l/saa7146_hlp.o
CC [M] /home/linuxmce/v4l-dvb/v4l/saa7146_vbi.o
CC [M] /home/linuxmce/v4l-dvb/v4l/smscoreapi.o
/home/linuxmce/v4l-dvb/v4l/smscoreapi.c: In function 'smscore_detect_mode':
/home/linuxmce/v4l-dvb/v4l/smscoreapi.c:689: error: 'uintptr_t' undeclared (first use in this function)
/home/linuxmce/v4l-dvb/v4l/smscoreapi.c:689: error: (Each undeclared identifier is reported only once
/home/linuxmce/v4l-dvb/v4l/smscoreapi.c:689: error: for each function it appears in.)
/home/linuxmce/v4l-dvb/v4l/smscoreapi.c: In function 'smscore_set_device_mode':
/home/linuxmce/v4l-dvb/v4l/smscoreapi.c:820: error: 'uintptr_t' undeclared (first use in this function)
make: *** [/home/linuxmce/v4l-dvb/v4l/smscoreapi.o] Error 1
make: *** [_module_/home/linuxmce/v4l-dvb/v4l] Error 2
make: Leaving directory `/usr/src/linux-headers-2.6.22-14-generic'
make: *** [default] Error 2
make: Leaving directory `/home/linuxmce/v4l-dvb/v4l'
make: *** [all] Error 2
I found this thread (and forum) earlier today when Googling, having encountered the same issue. The good news is that it is now resolved, the video4linux v4l-dvb code maintainers having now uploaded fixed source code.
If you download the sources again and run make, it should now compile.
For completeness, I do so as follows:
hg clone newbielink:http://linuxtv.org/hg/v4l-dvb [nonactive]
(or, within my local v4l-dvb directory, hg pull -u)
Then run make clean (if hg pull -u was used), make, then sudo make install.