* [Bluez-users] btsco.41 not compiling
@ 2006-01-12 18:27 Jerry Geis
2006-01-13 16:37 ` Brad Midgley
0 siblings, 1 reply; 5+ messages in thread
From: Jerry Geis @ 2006-01-12 18:27 UTC (permalink / raw)
To: bluez-users
I downloaded btsc.41 today. did the ./bootsrap; .configure; make ; make install
all that was good.
cd kernel; make and I get the following errors from this section of code.
static int index[SNDRV_CARDS] = {[0 ... (SNDRV_CARDS - 1)] = -2}; /*
Exclude the first card */
module_param_array(index, int, NULL, 0444);
MODULE_PARM_DESC(index, "Index value for Bluetooth SCO Headset
Soundcard.");
[root@geisjdell kernel]#
[root@geisjdell kernel]# make
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'
make: *** [default] Error 2
[root@geisjdell kernel]#
-----------------
What do I do?
I am running centos 4.2, with kernel 2.6.9-22.0.1-EL.
alsa 1.0.11rc2
Thanks,
Jerry
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [Bluez-users] btsco.41 not compiling
2006-01-12 18:27 [Bluez-users] btsco.41 not compiling Jerry Geis
@ 2006-01-13 16:37 ` Brad Midgley
2006-01-13 16:43 ` Jerry Geis
0 siblings, 1 reply; 5+ messages in thread
From: Brad Midgley @ 2006-01-13 16:37 UTC (permalink / raw)
To: bluez-users
Jerry
what compiler are you using again?
also something may have changed from your 2.6.9 to 2.6.15. we've only
been tracking the current kernel.
brad
> I downloaded btsc.41 today. did the ./bootsrap; .configure; make ; make
> install
> all that was good.
> cd kernel; make and I get the following errors from this section of code.
>
>
> static int index[SNDRV_CARDS] = {[0 ... (SNDRV_CARDS - 1)] = -2}; /*
> Exclude the first card */
>
> module_param_array(index, int, NULL, 0444);
> MODULE_PARM_DESC(index, "Index value for Bluetooth SCO Headset
> Soundcard.");
>
>
>
>
> [root@geisjdell kernel]#
> [root@geisjdell kernel]# make
> 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'
> make: *** [default] Error 2
> [root@geisjdell kernel]#
>
> -----------------
>
> What do I do?
>
> I am running centos 4.2, with kernel 2.6.9-22.0.1-EL.
> alsa 1.0.11rc2
>
> Thanks,
>
> Jerry
>
>
>
>
>
> -------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc. Do you grep through log
> files
> for problems? Stop! Download the new AJAX search engine that makes
> searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
> http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
> _______________________________________________
> Bluez-users mailing list
> Bluez-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bluez-users
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [Bluez-users] btsco.41 not compiling
2006-01-13 16:37 ` Brad Midgley
@ 2006-01-13 16:43 ` Jerry Geis
2006-01-13 16:47 ` Brad Midgley
0 siblings, 1 reply; 5+ messages in thread
From: Jerry Geis @ 2006-01-13 16:43 UTC (permalink / raw)
To: bluez-users
[-- Attachment #1: Type: text/plain, Size: 2837 bytes --]
gcc -version reports 3.4.4
I am running a redhat kernel uname -r gives 2.6.9.-22.0.1-EL
My machine compiles alsa-drivers just fine. It has all kinds of
module_param_array statesments also....
Why would this be failing?
Jerry Geis
MessageNet Systems
101 East Carmel Dr. Suite 105
Carmel, IN 46032
(317)566-1677
(317)663-0808 Fax
Brad Midgley wrote:
>Jerry
>
>what compiler are you using again?
>
>also something may have changed from your 2.6.9 to 2.6.15. we've only
>been tracking the current kernel.
>
>brad
>
>
>
>>I downloaded btsc.41 today. did the ./bootsrap; .configure; make ; make
>>install
>>all that was good.
>>cd kernel; make and I get the following errors from this section of code.
>>
>>
>>static int index[SNDRV_CARDS] = {[0 ... (SNDRV_CARDS - 1)] = -2}; /*
>>Exclude the first card */
>>
>>module_param_array(index, int, NULL, 0444);
>>MODULE_PARM_DESC(index, "Index value for Bluetooth SCO Headset
>>Soundcard.");
>>
>>
>>
>>
>>[root@geisjdell kernel]#
>>[root@geisjdell kernel]# make
>>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'
>>make: *** [default] Error 2
>>[root@geisjdell kernel]#
>>
>>-----------------
>>
>>What do I do?
>>
>>I am running centos 4.2, with kernel 2.6.9-22.0.1-EL.
>>alsa 1.0.11rc2
>>
>>Thanks,
>>
>>Jerry
>>
>>
>>
>>
>>
>>-------------------------------------------------------
>>This SF.net email is sponsored by: Splunk Inc. Do you grep through log
>>files
>>for problems? Stop! Download the new AJAX search engine that makes
>>searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
>>http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
>>_______________________________________________
>>Bluez-users mailing list
>>Bluez-users@lists.sourceforge.net
>>https://lists.sourceforge.net/lists/listinfo/bluez-users
>>
>>
>
>
>
>-------------------------------------------------------
>This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
>for problems? Stop! Download the new AJAX search engine that makes
>searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
>http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
>_______________________________________________
>Bluez-users mailing list
>Bluez-users@lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/bluez-users
>
>
>
>
[-- Attachment #2: Type: text/html, Size: 3887 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [Bluez-users] btsco.41 not compiling
2006-01-13 16:43 ` Jerry Geis
@ 2006-01-13 16:47 ` Brad Midgley
2006-01-13 20:14 ` Jerry Geis
0 siblings, 1 reply; 5+ messages in thread
From: Brad Midgley @ 2006-01-13 16:47 UTC (permalink / raw)
To: bluez-users
Jerry Geis wrote:
> gcc -version reports 3.4.4
>
> I am running a redhat kernel uname -r gives 2.6.9.-22.0.1-EL
>
> My machine compiles alsa-drivers just fine. It has all kinds of
> module_param_array statesments also....
> Why would this be failing?
so it uses module_params_array similarly? is index declared in the same way?
this stuff was part of a submission i accepted a few months ago to
prevent the btsco adapter from making itself the first adapter. you
could look in cvs for the version before the change.
brad
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [Bluez-users] btsco.41 not compiling
2006-01-13 16:47 ` Brad Midgley
@ 2006-01-13 20:14 ` Jerry Geis
0 siblings, 0 replies; 5+ messages in thread
From: Jerry Geis @ 2006-01-13 20:14 UTC (permalink / raw)
To: bluez-users
[-- Attachment #1: Type: text/plain, Size: 1548 bytes --]
Brad,
I backd off to 0.4 and it compiles. however, when I run depmod all is OK
then run modprobe snd-bt-sco and I get an error about
snd_bt_sco: disagrees about version of symbol snd_ctl_add
unknown symbol snd_ctl_add.
There are a number of others also, snd_card_register, etccc....
What is wrong with that? alsa works fine on my machine...
Jerry Geis
MessageNet Systems
101 East Carmel Dr. Suite 105
Carmel, IN 46032
(317)566-1677
(317)663-0808 Fax
Brad Midgley wrote:
>Jerry Geis wrote:
>
>
>>gcc -version reports 3.4.4
>>
>>I am running a redhat kernel uname -r gives 2.6.9.-22.0.1-EL
>>
>>My machine compiles alsa-drivers just fine. It has all kinds of
>>module_param_array statesments also....
>>Why would this be failing?
>>
>>
>
>so it uses module_params_array similarly? is index declared in the same way?
>
>this stuff was part of a submission i accepted a few months ago to
>prevent the btsco adapter from making itself the first adapter. you
>could look in cvs for the version before the change.
>
>brad
>
>
>-------------------------------------------------------
>This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
>for problems? Stop! Download the new AJAX search engine that makes
>searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
>http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
>_______________________________________________
>Bluez-users mailing list
>Bluez-users@lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/bluez-users
>
>
>
>
[-- Attachment #2: Type: text/html, Size: 2422 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2006-01-13 20:14 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-01-12 18:27 [Bluez-users] btsco.41 not compiling Jerry Geis
2006-01-13 16:37 ` Brad Midgley
2006-01-13 16:43 ` Jerry Geis
2006-01-13 16:47 ` Brad Midgley
2006-01-13 20:14 ` Jerry Geis
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).