Re: Trouble building v4l-dvb

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Thanks !

Indeed, the hack so that
make allyesmod
not select firedtv would be very helpful.

that way, it is also clear that firedtv will not work on debian-like distros.

Is there a way I cen help with that ?
I have no experience with Kconfig, so it would be a learning experience for me.


Mauro Carvalho Chehab wrote:
Em 17-09-2010 06:35, Jan Hoogenraad escreveu:
I see that the build now succeeded.

Ole: this is something that should have been fixed a long time ago, but isn't.
make allyesmod
should set only those divers that do actually compile.
Unfortunately, the FIREDTV driver has bugs for as long as I remember.

The problem are not related to bugs at firedtv driver, but, instead, due to the fact
that the provided firewire drivers and fw-core don't match the drivers that are shipped
with the distro kernel. In order words, at Ubuntu (and some other deb-based distros),
they're shipping the wrong include files at /lib/modules/`uname -r`/build/. So, there's
no way to build and run any module based on that wrong broken headers.

Up to a certain amount, the same happens with -alsa files on Ubuntu: although they
will compile [1], as the provided headers at /lib/modules/`uname -r`/build/ are from a different
version than the alsa modules provided with Ubuntu, the drivers that depend on -alsa will generally compile, but they generally won't load (and, if they load, they'll can cause
an OOPS and some other random troubles), as the symbol dependency will not match.

While a hack might be added at v4l-dvb -hg tree to make firedtv to compile against a broken
header, the firedtv driver will not work anyway.

The only real solution for it is to fix this issue at the distro.

Cheers,
Mauro

[1] The v4l-dvb is smart enough to adapt to -alsa API changes that are backported into
an older kernel, since it checks for the API symbols that changed, instead of just looking
for the kernel version. This works fine with all distros (like Fedora, RHEL, SUSE, OpenSUSE,
Mandriva, ...) where the include files for alsa are at the right place:
/lib/modules/`uname -r`/build/).



--
Jan Hoogenraad
Hoogenraad Interface Services
Postbus 2717
3500 GS Utrecht
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux