help compiling bluetooth package

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



Hi,

I am trying to compile ( the small package ) 
http://bluetooth-alsa.sourforge.net
the bluetooth package does not compile on centos 4.2 but does other distros.

I do the cvs checkout, ./bootstrap, .configure, make make install.
cd kernel, make

and I get an error

make[1]: Entering directory `/usr/src/kernels/2.6.9-22.0.1.EL-i686'
 CC [M]  /usr/src/btsco-0.41/kernel/btsco.o
/usr/src/btsco-0.41/kernel/btsco.c:88: error: invalid lvalue in unary
`&'
/usr/src/btsco-0.41/kernel/btsco.c:88: error: initializer element is not
constant
/usr/src/btsco-0.41/kernel/btsco.c:88: error: (near initialization for
`__param_arr_index.num')
make[2]: *** [/usr/src/btsco-0.41/kernel/btsco.o] Error 1
make[1]: *** [_module_/usr/src/btsco-0.41/kernel] Error 2
make[1]: Leaving directory `/usr/src/kernels/2.6.9-22.0.1.EL-i686'

THe source is:

static int index[SNDRV_CARDS] = {[0 ... (SNDRV_CARDS - 1)] = -2};

module_param_array(index, int, NULL, 0444);
MODULE_PARM_DESC(index, "Index value for Bluetooth SCO Headset 
Soundcard.");

Can someone who knows more than me about kernel happenings try
to compile this and see what you get. I am using straight 4.2 centos.

Jerry





[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux