Bugfix Solution:

http://forum.xbmc.org/showthread.php?tid=151600&pid=1294123#pid1294123

sudo apt-get install crystalhd-dkms gstreamer0.10-crystalhd firmware-
crystalhd libcrystalhd-dev libcrystalhd3

Setting up crystalhd-dkms will fail giving you this error:

Error! Bad return status for module build on kernel:

It is due to a current bug in ubuntu:
https://bugs.launchpad.net/ubuntu/+sourc...ug/1016976

To fix:

sudo nano
/usr/src/crystalhd-0.0~git20110715.fdd2f19/driver/linux/crystalhd_misc.h

Go down to line 38, it should say:

#include <asm/system.h>

Comment it out by adding // to the front of the line so it says:

// #include <asm/system.h>

Hit control-x, then yes to save.

type: sudo nano
/usr/src/crystalhd-0.0~git20110715.fdd2f19/driver/linux/crystalhd_lnx.h

Then go down 48 lines to:

#include <asm/system.h>

Do the same, adding two / like so:

// #include <asm/system.h>

Control-X, then Yes to save.

Then run:

sudo dpkg-reconfigure crystalhd-dkms

It will reconfigure crystalhd-dkms and build the kernel module.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1075814

Title:
  crystalhd-dkms 1:0.0~git20110715.fdd2f19-7: crystalhd kernel module
  failed to build

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/crystalhd/+bug/1075814/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to