I've been battling around with it for a while. First it came up with this error:
make -C /lib/modules/3.4.0-sabayon/build SUBDIRS=/home/daniel/Desktop/07032010/driver/linux modules
make[1]: Entering directory `/usr/src/linux-3.4.0-sabayon'
CC [M] /home/daniel/Desktop/07032010/driver/linux/crystalhd_lnx.o
In file included from /home/daniel/Desktop/07032010/driver/linux/crystalhd_lnx.c:20:0:
/home/daniel/Desktop/07032010/driver/linux/crystalhd_lnx.h:48:24: fatal error: asm/system.h: No such file or directory
compilation terminated.
make[2]: *** [/home/daniel/Desktop/07032010/driver/linux/crystalhd_lnx.o] Error 1
make[1]: *** [_module_/home/daniel/Desktop/07032010/driver/linux] Error 2
make[1]: Leaving directory `/usr/src/linux-3.4.0-sabayon'
make: *** [all] Error 2
Then reading around forums they told me to comment out the lines
//#include <asm/system.h> is 2 of the files, crystalhd_lnx.h and crystalhd_misc.h
Then that led me to another error
make -C /lib/modules/3.4.0-sabayon/build SUBDIRS=/home/daniel/Desktop/07032010/driver/linux modules
make[1]: Entering directory `/usr/src/linux-3.4.0-sabayon'
CC [M] /home/daniel/Desktop/07032010/driver/linux/crystalhd_lnx.o
/home/daniel/Desktop/07032010/driver/linux/crystalhd_lnx.c:356:2: error: unknown field ‘ioctl’ specified in initializer
/home/daniel/Desktop/07032010/driver/linux/crystalhd_lnx.c:356:2: error: initialization from incompatible pointer type [-Werror]
/home/daniel/Desktop/07032010/driver/linux/crystalhd_lnx.c:356:2: error: (near initialization for ‘chd_dec_fops.llseek’) [-Werror]
cc1: all warnings being treated as errors
make[2]: *** [/home/daniel/Desktop/07032010/driver/linux/crystalhd_lnx.o] Error 1
make[1]: *** [_module_/home/daniel/Desktop/07032010/driver/linux] Error 2
make[1]: Leaving directory `/usr/src/linux-3.4.0-sabayon'
make: *** [all] Error 2
Anyone who has experience with this their help would be appreciated.
I downloaded the drivers from
http://www.broadcom.com/support/crystal_hd/
And I have also tried the drivers from
http://code.google.com/p/crystalhd-for-osx/
Both with no prevail.
Thanks for your help
Daniel
