public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
* [Bluez-users] Unresolved Symbols
@ 2004-05-20  9:05 Florian Beyer
  2004-05-20  9:22 ` Marcel Holtmann
  0 siblings, 1 reply; 6+ messages in thread
From: Florian Beyer @ 2004-05-20  9:05 UTC (permalink / raw)
  To: bluez-users

Hello,

I have problems compiling the bluez-kernel-2.3-package with kernel  
2.4.22 and the mh6-patch (with activated bluetooth support of course).  
The same happens for kernel 2.4.26 and mh1-patch.

After a

./configure --with-kernel=/usr/src/linux-2.4 --prefix=/usr
make
make install

I get

/sbin/depmod -a
depmod: *** Unresolved symbols in /lib/modules/2.4.22-mh6/kernel/net/ 
bluetooth/bnep/bnep.o
depmod: *** Unresolved symbols in /lib/modules/2.4.22-mh6/kernel/net/ 
bluetooth/rfcomm/rfcomm.o

Furthermore I have

/sbin/modprobe bnep
/lib/modules/2.4.22-mh6/kernel/net/bluetooth/bnep/bnep.o: unresolved  
symbol l2cap_load_Rfc31fe88
/lib/modules/2.4.22-mh6/kernel/net/bluetooth/bnep/bnep.o: insmod /lib/ 
modules/2.4.22-mh6/kernel/net/bluetooth/bnep/bnep.o failed

and

/sbin/modprobe rfcomm
/lib/modules/2.4.22-mh6/kernel/net/bluetooth/rfcomm/rfcomm.o:  
unresolved symbol
l2cap_load_Rfc31fe88
/lib/modules/2.4.22-mh6/kernel/net/bluetooth/rfcomm/rfcomm.o:  
unresolved symbol
bluez_sock_wait_state_R12a89245
/lib/modules/2.4.22-mh6/kernel/net/bluetooth/rfcomm/rfcomm.o: insmod / 
lib/modules/2.4.22-mh6/kernel/net/bluetooth/rfcomm/rfcomm.o failed


What can I do?

Thanks for your help,
Florian Beyer



-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [Bluez-users] Unresolved Symbols
  2004-05-20  9:05 [Bluez-users] Unresolved Symbols Florian Beyer
@ 2004-05-20  9:22 ` Marcel Holtmann
  2004-05-20 11:47   ` the-flash
  0 siblings, 1 reply; 6+ messages in thread
From: Marcel Holtmann @ 2004-05-20  9:22 UTC (permalink / raw)
  To: Florian Beyer; +Cc: BlueZ Mailing List

Hi Florian,

> I have problems compiling the bluez-kernel-2.3-package with kernel  
> 2.4.22 and the mh6-patch (with activated bluetooth support of course).  
> The same happens for kernel 2.4.26 and mh1-patch.
> 
> After a
> 
> ./configure --with-kernel=/usr/src/linux-2.4 --prefix=/usr
> make
> make install
> 
> I get
> 
> /sbin/depmod -a
> depmod: *** Unresolved symbols in /lib/modules/2.4.22-mh6/kernel/net/ 
> bluetooth/bnep/bnep.o
> depmod: *** Unresolved symbols in /lib/modules/2.4.22-mh6/kernel/net/ 
> bluetooth/rfcomm/rfcomm.o
> 
> Furthermore I have
> 
> /sbin/modprobe bnep
> /lib/modules/2.4.22-mh6/kernel/net/bluetooth/bnep/bnep.o: unresolved  
> symbol l2cap_load_Rfc31fe88
> /lib/modules/2.4.22-mh6/kernel/net/bluetooth/bnep/bnep.o: insmod /lib/ 
> modules/2.4.22-mh6/kernel/net/bluetooth/bnep/bnep.o failed
> 
> and
> 
> /sbin/modprobe rfcomm
> /lib/modules/2.4.22-mh6/kernel/net/bluetooth/rfcomm/rfcomm.o:  
> unresolved symbol
> l2cap_load_Rfc31fe88
> /lib/modules/2.4.22-mh6/kernel/net/bluetooth/rfcomm/rfcomm.o:  
> unresolved symbol
> bluez_sock_wait_state_R12a89245
> /lib/modules/2.4.22-mh6/kernel/net/bluetooth/rfcomm/rfcomm.o: insmod / 
> lib/modules/2.4.22-mh6/kernel/net/bluetooth/rfcomm/rfcomm.o failed
> 
> 
> What can I do?

don't use bluez-kernel-2.3 !!! This package is deprecated and no longer
needed. The only way to update the kernel drivers is via my -mh patch.

Regards

Marcel




-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [Bluez-users] Unresolved Symbols
  2004-05-20  9:22 ` Marcel Holtmann
@ 2004-05-20 11:47   ` the-flash
  2004-05-20 12:27     ` Marcel Holtmann
  0 siblings, 1 reply; 6+ messages in thread
From: the-flash @ 2004-05-20 11:47 UTC (permalink / raw)
  To: Marcel Holtmann; +Cc: BlueZ Mailing List

Thanks for your answer.

> > What can I do?
> 
> don't use bluez-kernel-2.3 !!! This package is deprecated and no
> longer
> needed. The only way to update the kernel drivers is via my -mh  
> patch.

The problem is the following. I want to use my Sitecom CN-500 USB- 
Bluetooth adapter. On Sitecom's webpage they say that I have to use the  
bluez-kernel-2.3-package but they actually use kernel 2.4.18.

Because im want to use a newer kernel and - as you said - the bluez- 
kernel-2.3-package is deprecated, I tried it now with 2.4.26-mh1. After  
compiling and rebooting and having plugged in the bluetooth adapter, I  
get the following output from from dmesg

usb.c: USB device 2 (vend/prod 0xa12/0x1) is not claimed by any active  
driver.
usb-uhci.c: ENXIO 80000280, flags 0, urb dedad280, burb dedad400
usbdevfs: USBDEVFS_CONTROL failed dev 2 rqt 128 rq 6 len 193 ret -6
usb-uhci.c: ENXIO 80000280, flags 0, urb dedad200, burb dedad400
usbdevfs: USBDEVFS_CONTROL failed dev 2 rqt 128 rq 6 len 18 ret -6
BlueZ Core ver 2.3 Copyright (C) 2000,2001 Qualcomm Inc
Written 2000,2001 by Maxim Krasnyansky <maxk@qualcomm.com>
usb-uhci.c: ENXIO 80000280, flags 0, urb dedad400, burb df388f00
usbdevfs: USBDEVFS_CONTROL failed dev 2 rqt 128 rq 6 len 193 ret -6
usb-uhci.c: ENXIO 80000280, flags 0, urb dedad400, burb df388f00
usbdevfs: USBDEVFS_CONTROL failed dev 2 rqt 128 rq 6 len 18 ret -6
usb-uhci.c: ENXIO 80000280, flags 0, urb df388f00, burb dedad400
usbdevfs: USBDEVFS_CONTROL failed dev 2 rqt 128 rq 6 len 9 ret -6
BlueZ HCI USB driver ver 2.5 Copyright (C) 2000,2001 Qualcomm Inc
Written 2000,2001 by Maxim Krasnyansky <maxk@qualcomm.com>
usb.c: registered new driver hci_usb
BlueZ L2CAP ver 2.3 Copyright (C) 2000,2001 Qualcomm Inc
Written 2000,2001 by Maxim Krasnyansky <maxk@qualcomm.com>



Furthermore I get

/usr/sbin/hciconfig
hci0:   Type: USB
        BD Address: 00:00:00:00:00:00 ACL MTU: 0:0  SCO MTU: 0:0
        DOWN
        RX bytes:0 acl:0 sco:0 events:0 errors:0
        TX bytes:0 acl:0 sco:0 commands:0 errors:0


and

hcitool dev
Devices:


which does NOT look good, right?

Is there no working driver available at the moment? Should I try to go  
back to kernel-2.4.18 as the Sitecom-people suggest?

Thanks and goodbye,
Florian

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [Bluez-users] Unresolved Symbols
  2004-05-20 11:47   ` the-flash
@ 2004-05-20 12:27     ` Marcel Holtmann
       [not found]       ` <20040521161644.GA17561@mcmabrruq.sirius.net>
  0 siblings, 1 reply; 6+ messages in thread
From: Marcel Holtmann @ 2004-05-20 12:27 UTC (permalink / raw)
  To: the-flash; +Cc: BlueZ Mailing List

Hi Florian,

> The problem is the following. I want to use my Sitecom CN-500 USB- 
> Bluetooth adapter. On Sitecom's webpage they say that I have to use the  
> bluez-kernel-2.3-package but they actually use kernel 2.4.18.

and who cares what Sitecom says ;)

> Because im want to use a newer kernel and - as you said - the bluez- 
> kernel-2.3-package is deprecated, I tried it now with 2.4.26-mh1. After  
> compiling and rebooting and having plugged in the bluetooth adapter, I  
> get the following output from from dmesg
> 
> usb.c: USB device 2 (vend/prod 0xa12/0x1) is not claimed by any active  
> driver.
> usb-uhci.c: ENXIO 80000280, flags 0, urb dedad280, burb dedad400
> usbdevfs: USBDEVFS_CONTROL failed dev 2 rqt 128 rq 6 len 193 ret -6
> usb-uhci.c: ENXIO 80000280, flags 0, urb dedad200, burb dedad400
> usbdevfs: USBDEVFS_CONTROL failed dev 2 rqt 128 rq 6 len 18 ret -6
> BlueZ Core ver 2.3 Copyright (C) 2000,2001 Qualcomm Inc
> Written 2000,2001 by Maxim Krasnyansky <maxk@qualcomm.com>
> usb-uhci.c: ENXIO 80000280, flags 0, urb dedad400, burb df388f00
> usbdevfs: USBDEVFS_CONTROL failed dev 2 rqt 128 rq 6 len 193 ret -6
> usb-uhci.c: ENXIO 80000280, flags 0, urb dedad400, burb df388f00
> usbdevfs: USBDEVFS_CONTROL failed dev 2 rqt 128 rq 6 len 18 ret -6
> usb-uhci.c: ENXIO 80000280, flags 0, urb df388f00, burb dedad400
> usbdevfs: USBDEVFS_CONTROL failed dev 2 rqt 128 rq 6 len 9 ret -6

This stuff above is all USB related and not a BlueZ problem.

> BlueZ HCI USB driver ver 2.5 Copyright (C) 2000,2001 Qualcomm Inc
> Written 2000,2001 by Maxim Krasnyansky <maxk@qualcomm.com>
> usb.c: registered new driver hci_usb
> BlueZ L2CAP ver 2.3 Copyright (C) 2000,2001 Qualcomm Inc
> Written 2000,2001 by Maxim Krasnyansky <maxk@qualcomm.com>
> 
> Furthermore I get
> 
> /usr/sbin/hciconfig
> hci0:   Type: USB
>         BD Address: 00:00:00:00:00:00 ACL MTU: 0:0  SCO MTU: 0:0
>         DOWN
>         RX bytes:0 acl:0 sco:0 events:0 errors:0
>         TX bytes:0 acl:0 sco:0 commands:0 errors:0

And so what? Run "hciconfig hci0 up" or start "hcid".

> Is there no working driver available at the moment? Should I try to go  
> back to kernel-2.4.18 as the Sitecom-people suggest?

Of course you can go back, but then ask Sitecom for help if you get
problems.

Regards

Marcel




-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [Bluez-users] Unresolved Symbols
       [not found]       ` <20040521161644.GA17561@mcmabrruq.sirius.net>
@ 2004-05-21 16:17         ` the-flash
  2004-05-21 16:25           ` Marcel Holtmann
  0 siblings, 1 reply; 6+ messages in thread
From: the-flash @ 2004-05-21 16:17 UTC (permalink / raw)
  To: Marcel Holtmann; +Cc: BlueZ Mailing List

Hello,

> And so what? Run "hciconfig hci0 up" or start "hcid".

Ok, this was the missing key :-) ... now that works.

I am even able to mount my Nokia6600 with p3nfs via bluetooth  
now ... :-)

But, now the problem is that gnokii does not seem to be able to find my  
bluetooth libraries/include files. I have installed bluez-libs-2.7 with  
the --prefix=/usr option. Doing a 'configure --prefix=/usr' in the  
gnokii-0.6.1 source directory gives

checking for the bluetooth support...
checking for the struct sockaddr_rc in <bluetooth/rfcomm.h>... no
checking for the MacOS X bluetooth support...
checking CoreFoundation/CoreFoundation.h usability... no
checking CoreFoundation/CoreFoundation.h presence... no
checking for CoreFoundation/CoreFoundation.h... no
checking IOBluetooth/Bluetooth.h usability... no
checking IOBluetooth/Bluetooth.h presence... no
checking for IOBluetooth/Bluetooth.h... no
checking IOBluetooth/IOBluetoothUserLib.h usability... no
checking IOBluetooth/IOBluetoothUserLib.h presence... no
checking for IOBluetooth/IOBluetoothUserLib.h... no



and config.log says

configure:27343: checking for the bluetooth support
configure:27346: checking for the struct sockaddr_rc in <bluetooth/ 
rfcomm.h>
configure:27369: gcc -c -g -O2  conftest.c >&5
conftest.c: In function `main':
conftest.c:105: storage size of `rc' isn't known
configure:27375: $? = 1
configure: failed program was:
| /* confdefs.h.  */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define YYTEXT_POINTER 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_DLFCN_H 1
| #ifdef __cplusplus
| extern "C" void std::exit (int) throw (); using std::exit;
| #endif
| #define HAVE_ICONV 1
| #define ICONV_CONST
| #define HAVE_LIBINTL_H 1
| #define HAVE_LONG_LONG 1
| #define HAVE_LONG_DOUBLE 1
| #define HAVE_WCHAR_T 1
| #define HAVE_WINT_T 1
| #define HAVE_INTTYPES_H_WITH_UINTMAX 1
| #define HAVE_STDINT_H_WITH_UINTMAX 1
| #define HAVE_INTMAX_T 1
| #define HAVE_POSIX_PRINTF 1
| #define HAVE_ALLOCA_H 1
| #define HAVE_ALLOCA 1
| #define HAVE_STDLIB_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_GETPAGESIZE 1
| #define HAVE_MMAP 1
| #define INTDIV0_RAISES_SIGFPE 1
| #define HAVE_UNSIGNED_LONG_LONG 1
| #define HAVE_UINTMAX_T 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_ARGZ_H 1
| #define HAVE_LIMITS_H 1
| #define HAVE_LOCALE_H 1
| #define HAVE_NL_TYPES_H 1
| #define HAVE_MALLOC_H 1
| #define HAVE_STDDEF_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_SYS_PARAM_H 1
| #define HAVE_ASPRINTF 1
| #define HAVE_FWPRINTF 1
| #define HAVE_GETCWD 1
| #define HAVE_GETEGID 1
| #define HAVE_GETEUID 1
| #define HAVE_GETGID 1
| #define HAVE_GETUID 1
| #define HAVE_MEMPCPY 1
| #define HAVE_MUNMAP 1
| #define HAVE_PUTENV 1
| #define HAVE_SETENV 1
| #define HAVE_SETLOCALE 1
| #define HAVE_SNPRINTF 1
| #define HAVE_STPCPY 1
| #define HAVE_STRCASECMP 1
| #define HAVE_STRDUP 1
| #define HAVE_STRTOUL 1
| #define HAVE_TSEARCH 1
| #define HAVE_WCSLEN 1
| #define HAVE___ARGZ_COUNT 1
| #define HAVE___ARGZ_STRINGIFY 1
| #define HAVE___ARGZ_NEXT 1
| #define HAVE___FSETLOCKING 1
| #define HAVE_DECL__SNPRINTF 0
| #define HAVE_DECL__SNWPRINTF 0
| #define HAVE_DECL_FEOF_UNLOCKED 1
| #define HAVE_DECL_FGETS_UNLOCKED 0
| #define HAVE_DECL_GETC_UNLOCKED 1
| #define HAVE_ICONV 1
| #define ICONV_CONST
| #define HAVE_LANGINFO_CODESET 1
| #define HAVE_LC_MESSAGES 1
| #define ENABLE_NLS 1
| #define HAVE_GETTEXT 1
| #define HAVE_DCGETTEXT 1
| #define DEBUG 1
| #define XDEBUG 1
| #define RLP_DEBUG 1
| #define HAVE_TM_GMTON 1
| #define HAVE_TIMEOPS 1
| #define HAVE_CFSETSPEED 1
| #define HAVE_IRDA 1
| /* end confdefs.h.  */
| #include <sys/socket.h>
| 			#include <bluetooth/bluetooth.h>
| 			#include <bluetooth/rfcomm.h>
| int
| main ()
| {
| struct sockaddr_rc rc;
|   ;
|   return 0;
| }




What's wrong now?

Thanks again for your help!

Best,
Florian

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [Bluez-users] Unresolved Symbols
  2004-05-21 16:17         ` the-flash
@ 2004-05-21 16:25           ` Marcel Holtmann
  0 siblings, 0 replies; 6+ messages in thread
From: Marcel Holtmann @ 2004-05-21 16:25 UTC (permalink / raw)
  To: the-flash; +Cc: BlueZ Mailing List

Hi Florian,

> But, now the problem is that gnokii does not seem to be able to find my  
> bluetooth libraries/include files. I have installed bluez-libs-2.7 with  
> the --prefix=/usr option. Doing a 'configure --prefix=/usr' in the  
> gnokii-0.6.1 source directory gives
> 
> checking for the bluetooth support...
> checking for the struct sockaddr_rc in <bluetooth/rfcomm.h>... no
> checking for the MacOS X bluetooth support...
> checking CoreFoundation/CoreFoundation.h usability... no
> checking CoreFoundation/CoreFoundation.h presence... no
> checking for CoreFoundation/CoreFoundation.h... no
> checking IOBluetooth/Bluetooth.h usability... no
> checking IOBluetooth/Bluetooth.h presence... no
> checking for IOBluetooth/Bluetooth.h... no
> checking IOBluetooth/IOBluetoothUserLib.h usability... no
> checking IOBluetooth/IOBluetoothUserLib.h presence... no
> checking for IOBluetooth/IOBluetoothUserLib.h... no

actually this is a question for the Gnokii guys and you should look at
"./configure --help", because "--with-bluetooth" looks like a good
starting point.

Regards

Marcel






-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2004-05-21 16:25 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-05-20  9:05 [Bluez-users] Unresolved Symbols Florian Beyer
2004-05-20  9:22 ` Marcel Holtmann
2004-05-20 11:47   ` the-flash
2004-05-20 12:27     ` Marcel Holtmann
     [not found]       ` <20040521161644.GA17561@mcmabrruq.sirius.net>
2004-05-21 16:17         ` the-flash
2004-05-21 16:25           ` Marcel Holtmann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox