[linux-dvb] Driver version 7a0daff8ed2c doesn't compile
Klaus.Schmidinger at cadsoft.de
Mon Sep 4 19:31:42 CEST 2006
Trent Piepho wrote:
> 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
>>> 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?
Nevermind, I simply disabled that module in the config, and
now the rest compiles.
More information about the linux-dvb