Error compiling crystalhd 1.0.3 driver against kernel 2.6.26
#1
Code:
$ make
make -C /lib/modules/2.6.26-2-686/build SUBDIRS=/home/andrer/dev/crystalhd-for-osx-1.0.3/crystalhd/driver/linux modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.26-2-686'
  CC [M]  /home/andrer/dev/crystalhd-for-osx-1.0.3/crystalhd/driver/linux/crystalhd_lnx.o
cc1: warnings being treated as errors
/home/andrer/dev/crystalhd-for-osx-1.0.3/crystalhd/driver/linux/crystalhd_lnx.c: In function 'chd_dec_init_chdev':
/home/andrer/dev/crystalhd-for-osx-1.0.3/crystalhd/driver/linux/crystalhd_lnx.c:389: warning: too many arguments for format
make[2]: *** [/home/andrer/dev/crystalhd-for-osx-1.0.3/crystalhd/driver/linux/crystalhd_lnx.o] Error 1
make[1]: *** [_module_/home/andrer/dev/crystalhd-for-osx-1.0.3/crystalhd/driver/linux] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.26-2-686'
make: *** [all] Error 2

Since I like to fiddle around, I wanked off the -Werror from the Makefile, and then things got ugly again at the modprobe:

Code:
[ 1641.035546] Loading crystalhd 0.9.27
[ 1641.062793] PCI_INFO: Vendor:0x14e4 Device:0x1612 s_vendor:0x14e4 s_device: 0x2612
[ 1641.090796] Broadcom 70012 Decoder 0000:02:00.0: enabling device (0000 -> 0002)
[ 1641.118881] ACPI: PCI Interrupt 0000:02:00.0[A] -> GSI 16 (level, low) -> IRQ 16
[ 1641.147288] BUG: unable to handle kernel NULL pointer dereference at 00000000

Should this be working? Or is another kernel version recommended?
Reply

Logout Mark Read Team Forum Stats Members Help
Error compiling crystalhd 1.0.3 driver against kernel 2.6.260