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

Trent Piepho xyzzy at speakeasy.org
Sun Sep 3 23:28:15 CEST 2006

On Sun, 3 Sep 2006, Klaus Schmidinger wrote:
> Klaus Schmidinger wrote:
> > 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':
> >
> > 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?
> Still the same with today's driver source (54eb9f90c06d).
> Does anybody have an idea what might be causing this?

It looks like this might be a kernel incompatibility.  I get the same
problem when trying to compile against 2.6.12, but if I try to compile
against 2.6.18-rc4 it works.

The only thing that seems strange to me is that the first error is because
struct snd_sg_buf isn't defined.  In 2.6.12, this _is_ defined in the
kernel file include/sound/memalloc.h, and bt87x.c _does_ include this file.
It's no different than 2.6.18-rc4.

So it should work under 2.6.12 (and 2.6.13 too I would assume), but
doesn't.  I'm not sure what is going on.  Something to do with include
searching maybe?

More information about the linux-dvb mailing list