[linux-dvb] unable to compile latest HG

hermann pitton hermann-pitton at arcor.de
Mon Jan 28 18:50:08 CET 2008


Hi,

Am Montag, den 28.01.2008, 15:06 +0000 schrieb Stephen Rowles:
> Hi,
> 
> I am trying to build the latest HG to get the fixes for my Nova-T-Stick
> that were added a couple of days ago. However I the following problem with
> the stk-webcam modiles:
> 
> Is there something I'm missing? Do I need a later kernel than the 2.6.21
> that I currently have or is there some other problem?
> 
> As I don't need this device, is there an easy way to stop it being built?
> 
> Cheers.
> 
> Steve
> 
> 
> Make Error:
> 
> [root at lounge v4l-dvb]# make
> make -C /home/root/dvb/latest-hg/v4l-dvb/v4l
> make[1]: Entering directory `/home/root/dvb/latest-hg/v4l-dvb/v4l'
> creating symbolic links...
> Kernel build directory is /lib/modules/2.6.21-1.3194.fc7/build
> make -C /lib/modules/2.6.21-1.3194.fc7/build
> SUBDIRS=/home/root/dvb/latest-hg/v4l-dvb/v4l  modules
> make[2]: Entering directory `/usr/src/kernels/2.6.21-1.3194.fc7-i686'
>   CC [M]  /home/root/dvb/latest-hg/v4l-dvb/v4l/stk-webcam.o
> /home/root/dvb/latest-hg/v4l-dvb/v4l/stk-webcam.c: In function
> 'stk_isoc_handler':
> /home/root/dvb/latest-hg/v4l-dvb/v4l/stk-webcam.c:400: warning: implicit
> declaration of function 'list_first_entry'
                           ^^^^^^^^^^^^^^^^
> /home/root/dvb/latest-hg/v4l-dvb/v4l/stk-webcam.c:401: error: expected
> expression before 'struct'
> /home/root/dvb/latest-hg/v4l-dvb/v4l/stk-webcam.c:401: warning: assignment
> makes pointer from integer without a cast
> /home/root/dvb/latest-hg/v4l-dvb/v4l/stk-webcam.c:448: error: expected
> expression before 'struct'
> /home/root/dvb/latest-hg/v4l-dvb/v4l/stk-webcam.c:448: warning: assignment
> makes pointer from integer without a cast
> /home/root/dvb/latest-hg/v4l-dvb/v4l/stk-webcam.c: In function
> 'v4l_stk_read':
> /home/root/dvb/latest-hg/v4l-dvb/v4l/stk-webcam.c:778: error: expected
> expression before 'struct'
> /home/root/dvb/latest-hg/v4l-dvb/v4l/stk-webcam.c:778: warning: assignment
> makes pointer from integer without a cast
> /home/root/dvb/latest-hg/v4l-dvb/v4l/stk-webcam.c: In function
> 'stk_vidioc_dqbuf':
> /home/root/dvb/latest-hg/v4l-dvb/v4l/stk-webcam.c:1251: error: expected
> expression before 'struct'
> /home/root/dvb/latest-hg/v4l-dvb/v4l/stk-webcam.c:1251: warning:
> assignment makes pointer from integer without a cast
> make[3]: *** [/home/root/dvb/latest-hg/v4l-dvb/v4l/stk-webcam.o] Error 1
> make[2]: *** [_module_/home/root/dvb/latest-hg/v4l-dvb/v4l] Error 2
> make[2]: Leaving directory `/usr/src/kernels/2.6.21-1.3194.fc7-i686'
> make[1]: *** [default] Error 2
> make[1]: Leaving directory `/home/root/dvb/latest-hg/v4l-dvb/v4l'
> make: *** [all] Error 2
> 

Darren Salt last night posted a compat fix for it to the
video4linux-list.

It works at least down to 2.6.20 and on 2.6.22 and higher it is not
needed.

Else you can simply disable the syntek webcam in "make xconfig" or
similar for the moment.

Mauro, if you should get any time for such these days, please have a
look at Darren's patches.

Thanks,
Hermann
  




More information about the linux-dvb mailing list