Skip to contentSkip to conversation

snd-bt-sco - unknown symbol snd_hwdep_new undefined!

Bluez-devel Ruben Jenster 3 participants 5 messages Nov 26, 2004 – Nov 27, 2004 Bluetooth drivers

lore
Share & tools
lore
#0 lore raw

Hi,
I have problems compiling the snd-bt-sco module aginst gentoo-dev-sources-2.6.9-r6.
Does anyone knows what's the reason for this warning?
- Is it due to a change in the kernel or in the btsco sources?

Quoted 1 line
Quoted 1 line

modprobe snd-bt-sco

FATAL: Error inserting snd_bt_sco (/lib/modules/2.6.9-gentoo-r6/extra/snd-bt-sco.ko): Unknown symbol in module, or unknown parameter (see dmesg)

Quoted 1 line
Quoted 1 line

dmesg:

snd_bt_sco: Unknown symbol snd_hwdep_new

Quoted 1 line
Quoted 1 line

compile process of the kernel module:

22:57 root [/home/ruben/temp/btsco/btsco/kernel] : make make[1]: Entering directory `/usr/src/linux-2.6.9-gentoo-r6' CC [M]  /home/ruben/temp/btsco/btsco/kernel/btsco.o /home/ruben/temp/btsco/btsco/kernel/btsco.c: In Funktion »snd_card_bt_sco_thread«:
/home/ruben/temp/btsco/btsco/kernel/btsco.c:809: Warnung: ISO C90 forbids mixed declarations and code
  LD [M]  /home/ruben/temp/btsco/btsco/kernel/snd-bt-sco.o Building modules, stage 2.
  MODPOST
*** Warning:
"snd_hwdep_new" [/home/ruben/temp/btsco/btsco/kernel/snd-bt-sco.ko] undefined!
  CC      /home/ruben/temp/btsco/btsco/kernel/snd-bt-sco.mod.o LD [M]  /home/ruben/temp/btsco/btsco/kernel/snd-bt-sco.ko make[1]: Leaving directory `/usr/src/linux-2.6.9-gentoo-r6'

Ruben

maintainer
#1 lore raw

Hi Ruben,

Quoted 10 lines

I have problems compiling the snd-bt-sco module aginst gentoo-dev-sources-2.6.9-r6.
Does anyone knows what's the reason for this warning?
- Is it due to a change in the kernel or in the btsco sources? =20
=20

Quoted 1 line
Quoted 1 line

modprobe snd-bt-sco

=20
FATAL: Error inserting snd_bt_sco=20 (/lib/modules/2.6.9-gentoo-r6/extra/snd-bt-sco.ko): Unknown symbol in m=

odule,=20

Quoted 6 lines

or unknown parameter (see dmesg)
=20
=20

Quoted 1 line
Quoted 1 line

dmesg:

=20
snd_bt_sco: Unknown symbol snd_hwdep_new

you may need to make "depmod -e" first or simply load the "snd-hwdep" kernel module.

Quoted 8 lines
Quoted 1 line
Quoted 1 line

compile process of the kernel module:

=20
22:57 root [/home/ruben/temp/btsco/btsco/kernel] : make make[1]: Entering directory `/usr/src/linux-2.6.9-gentoo-r6'
CC [M] /home/ruben/temp/btsco/btsco/kernel/btsco.o
/home/ruben/temp/btsco/btsco/kernel/btsco.c: In Funktion=20 =BBsnd_card_bt_sco_thread=AB:
/home/ruben/temp/btsco/btsco/kernel/btsco.c:809: Warnung: ISO C90 forbi=

ds=20

Quoted 1 line

mixed declarations and code

This one is now fixed in CVS.

Regards

Marcel

-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel

#2 lore raw

First Marcel,
I want to excuse my impatience. I received two confirmation e-mails this morning. I'm now shure that is was the problem of my mail provider (1und1). But let's switch to my problem:

Quoted 2 lines

you may need to make "depmod -e" first or simply load the "snd-hwdep" kernel module.

The problem is that there doesn't exist a module called snd-hwdep. For my last kernel I generated a kernel patch from the cvs kernel module. Building only the module that is included in the cvs btsco module doesn't work.

Do you have to apply the cvs kernel module although?

Quoted 29 lines
Quoted 10 lines
Quoted 2 lines
Quoted 2 lines

compile process of the kernel module:

22:57 root [/home/ruben/temp/btsco/btsco/kernel] : make make[1]: Entering directory `/usr/src/linux-2.6.9-gentoo-r6'
CC [M] /home/ruben/temp/btsco/btsco/kernel/btsco.o
/home/ruben/temp/btsco/btsco/kernel/btsco.c: In Funktion »snd_card_bt_sco_thread«:
/home/ruben/temp/btsco/btsco/kernel/btsco.c:809: Warnung: ISO C90 forbids mixed declarations and code

This one is now fixed in CVS.

Regards

Marcel

-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel

maintainer
#3 lore raw

Hi Ruben,

Quoted 7 lines
Quoted 2 lines

you may need to make "depmod -e" first or simply load the "snd-hwdep" kernel module.

The problem is that there doesn't exist a module called snd-hwdep. For my last kernel I generated a kernel patch from the cvs kernel module. Building only the module that is included in the cvs btsco module doesn't work.

this module is not always built. Select CONFIG_SND_USB_USX2Y and it should be built.

Regards

Marcel

-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel

#4 lore raw
In reply to Ruben Jenster

Hi

the cvs module 'kernel' is the old way of doing things and I'll remove (or just empty it)

Brad

Quoted 46 lines · Ruben Jenster

First Marcel,
I want to excuse my impatience. I received two confirmation e-mails this morning. I'm now shure that is was the problem of my mail provider (1und1). But let's switch to my problem:

Quoted 2 lines

you may need to make "depmod -e" first or simply load the "snd-hwdep" kernel module.

The problem is that there doesn't exist a module called snd-hwdep. For my last kernel I generated a kernel patch from the cvs kernel module. Building only the module that is included in the cvs btsco module doesn't work.

Do you have to apply the cvs kernel module although?

Quoted 19 lines
Quoted 9 lines
Quoted 1 line
Quoted 1 line

compile process of the kernel module:

22:57 root [/home/ruben/temp/btsco/btsco/kernel] : make make[1]: Entering directory `/usr/src/linux-2.6.9-gentoo-r6'
CC [M] /home/ruben/temp/btsco/btsco/kernel/btsco.o
/home/ruben/temp/btsco/btsco/kernel/btsco.c: In Funktion »snd_card_bt_sco_thread«:
/home/ruben/temp/btsco/btsco/kernel/btsco.c:809: Warnung: ISO C90 forbids mixed declarations and code

This one is now fixed in CVS.

Regards

Marcel

Quoted 9 lines

-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-deve

Quoted 1 line

l

-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel