[linux-dvb] Driver version 7a0daff8ed2c doesn't compile

Klaus Schmidinger Klaus.Schmidinger at cadsoft.de
Fri Sep 1 17:24:49 CEST 2006


I'm trying to compile today's driver (version 7a0daff8ed2c from the Hg)
and get the following error:

  CC [M]  /home/kls/vdr/v4l-dvb-7a0daff8ed2c/v4l/bt87x.o
/home/kls/vdr/v4l-dvb-7a0daff8ed2c/v4l/bt87x.c: In function 'snd_bt87x_create_risc':
/home/kls/vdr/v4l-dvb-7a0daff8ed2c/v4l/bt87x.c:191: error: dereferencing pointer to incomplete type
/home/kls/vdr/v4l-dvb-7a0daff8ed2c/v4l/bt87x.c: In function 'snd_bt87x_interrupt':
/home/kls/vdr/v4l-dvb-7a0daff8ed2c/v4l/bt87x.c:303: warning: passing argument 1 of 'snd_pcm_period_elapsed' from incompatible pointer type
/home/kls/vdr/v4l-dvb-7a0daff8ed2c/v4l/bt87x.c: At top level:
/home/kls/vdr/v4l-dvb-7a0daff8ed2c/v4l/bt87x.c:308: error: variable 'snd_bt87x_digital_hw' has initializer but incomplete type
/home/kls/vdr/v4l-dvb-7a0daff8ed2c/v4l/bt87x.c:309: error: unknown field 'info' specified in initializer
/home/kls/vdr/v4l-dvb-7a0daff8ed2c/v4l/bt87x.c:312: warning: excess elements in struct initializer
/home/kls/vdr/v4l-dvb-7a0daff8ed2c/v4l/bt87x.c:312: warning: (near initialization for 'snd_bt87x_digital_hw')
/home/kls/vdr/v4l-dvb-7a0daff8ed2c/v4l/bt87x.c:313: error: unknown field 'formats' specified in initializer
/home/kls/vdr/v4l-dvb-7a0daff8ed2c/v4l/bt87x.c:313: warning: excess elements in struct initializer
/home/kls/vdr/v4l-dvb-7a0daff8ed2c/v4l/bt87x.c:313: warning: (near initialization for 'snd_bt87x_digital_hw')
/home/kls/vdr/v4l-dvb-7a0daff8ed2c/v4l/bt87x.c:314: error: unknown field 'rates' specified in initializer
/home/kls/vdr/v4l-dvb-7a0daff8ed2c/v4l/bt87x.c:314: warning: excess elements in struct initializer
/home/kls/vdr/v4l-dvb-7a0daff8ed2c/v4l/bt87x.c:314: warning: (near initialization for 'snd_bt87x_digital_hw')
/home/kls/vdr/v4l-dvb-7a0daff8ed2c/v4l/bt87x.c:315: error: unknown field 'channels_min' specified in initializer
/home/kls/vdr/v4l-dvb-7a0daff8ed2c/v4l/bt87x.c:315: warning: excess elements in struct initializer
/home/kls/vdr/v4l-dvb-7a0daff8ed2c/v4l/bt87x.c:315: warning: (near initialization for 'snd_bt87x_digital_hw')
/home/kls/vdr/v4l-dvb-7a0daff8ed2c/v4l/bt87x.c:316: error: unknown field 'channels_max' specified in initializer
/home/kls/vdr/v4l-dvb-7a0daff8ed2c/v4l/bt87x.c:316: warning: excess elements in struct initializer
...

(the list goes on for quite a while).

I'm using SUSE Linux 10.0 with kernel 2.6.13.

Any ideas what might be wrong here?
Looks like a missing #include, but which one?


Klaus



More information about the linux-dvb mailing list