Skip to contentSkip to conversation

problem building btsco.

Bluez-users Paulo Wollny 2 participants 6 messages Jun 24, 2005 Bluetooth drivers

lore
Share & tools
lore
#0 lore raw

Hi,

i'm trying o build the btsco and am getting the following error. Does anyone knows how to solve it?

Kind regards,

Paulo Wollny

gcc -DHAVE_CONFIG_H -I. -I. -I.. -Wall -O2 -c test -f 'sbcinfo.c' || echo './'sbcinfo.c
gcc -Wall -O2 -o sbcinfo sbcinfo.o -lasound -lm -ldl -lpthread
gcc -DHAVE_CONFIG_H -I. -I. -I.. -Wall -O2 -c test -f 'sbcenc.c' || echo './'sbcenc.c
gcc -Wall -O2 -o sbcenc sbcenc.o libsbc.a -lasound -lm -ldl -lpthread
gcc -DHAVE_CONFIG_H -I. -I. -I.. -Wall -O2 -c test -f 'rcplay.c' || echo './'rcplay.c
gcc -Wall -O2 -o rcplay rcplay.o -lbluetooth -lasound -lm -ldl -lpthread
rcplay.o(.text+0xd0): In function `main':
: undefined reference to sdp_connect' rcplay.o(.text+0xed): In function main':
: undefined reference to sdp_uuid16_create' rcplay.o(.text+0xf7): In function main':
: undefined reference to sdp_list_append' rcplay.o(.text+0x11b): In function main':
: undefined reference to sdp_list_append' rcplay.o(.text+0x12c): In function main':
: undefined reference to sdp_list_append' rcplay.o(.text+0x141): In function main':
: undefined reference to sdp_service_search_attr_req' rcplay.o(.text+0x14c): In function main':
: undefined reference to `sdp_close'
rcplay.o(.text+0x18f): In function `main':
: undefined reference to sdp_get_access_protos' rcplay.o(.text+0x1a6): In function main':
: undefined reference to `sdp_get_proto_port'
collect2: ld returned 1 exit status
make[2]: *** [rcplay] Fehler 1
make[2]: Leaving directory `/home/paulo/Bluetooth-Linux/btsco-0.4/sbc' make[1]: *** [all-recursive] Fehler 1
make[1]: Leaving directory `/home/paulo/Bluetooth-Linux/btsco-0.4'
make: *** [all] Fehler 2

-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

#1 lore raw

Hi Paolo
It looks as if your version of bluez-libs is very old. Recent versions have the sdp library merged in.

Cheers,
Steve

Quoted 53 lines · Paulo Wollny

Hi,

i'm trying o build the btsco and am getting the following error. Does anyone knows how to solve it?

Kind regards,

Paulo Wollny

gcc -DHAVE_CONFIG_H -I. -I. -I.. -Wall -O2 -c `test -f 'sbcinfo.c'

|| echo './'`sbcinfo.c
gcc  -Wall -O2   -o sbcinfo  sbcinfo.o  -lasound -lm -ldl -lpthread
gcc -DHAVE_CONFIG_H -I. -I. -I..     -Wall -O2 -c `test -f 'sbcenc.c' || 

echo './'`sbcenc.c
gcc -Wall -O2 -o sbcenc sbcenc.o libsbc.a -lasound -lm -ldl -lpthread
gcc -DHAVE_CONFIG_H -I. -I. -I.. -Wall -O2 -c `test -f 'rcplay.c' ||
echo './'`rcplay.c
gcc -Wall -O2 -o rcplay rcplay.o -lbluetooth -lasound -lm -ldl -lpthread
rcplay.o(.text+0xd0): In function `main':
: undefined reference to sdp_connect' rcplay.o(.text+0xed): In function main':
: undefined reference to sdp_uuid16_create' rcplay.o(.text+0xf7): In function main':
: undefined reference to sdp_list_append' rcplay.o(.text+0x11b): In function main':
: undefined reference to sdp_list_append' rcplay.o(.text+0x12c): In function main':
: undefined reference to sdp_list_append' rcplay.o(.text+0x141): In function main':
: undefined reference to sdp_service_search_attr_req' rcplay.o(.text+0x14c): In function main':
: undefined reference to `sdp_close'
rcplay.o(.text+0x18f): In function `main':
: undefined reference to sdp_get_access_protos' rcplay.o(.text+0x1a6): In function main':
: undefined reference to `sdp_get_proto_port'
collect2: ld returned 1 exit status
make[2]: *** [rcplay] Fehler 1
make[2]: Leaving directory `/home/paulo/Bluetooth-Linux/btsco-0.4/sbc' make[1]: *** [all-recursive] Fehler 1
make[1]: Leaving directory `/home/paulo/Bluetooth-Linux/btsco-0.4'
make: *** [all] Fehler 2

-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

Signature · 2 lines
Stephen Crane, Rococo Software Ltd. http://www.rococosoft.com
[email protected] +353-1-6601315 (ext 209)
#2 lore raw

Hi Steve,

i did update of all teh bluez packages, but when trying to run ktbobexsrv, i get the following message:

kbtobexsrv: error while loading shared libraries: libsdp.so.2: cannot open shared object file

Any hint?

I was able to build btsco.

Best regards,

Paulo Wollny

Quoted 4 lines · Stephen Crane

Hi Paolo
It looks as if your version of bluez-libs is very old. Recent versions have the sdp library merged in.

Quoted 54 lines

Cheers,
Steve

Quoted 49 lines · Paulo Wollny

Hi,

i'm trying o build the btsco and am getting the following error. Does anyone knows how to solve it?

Kind regards,

Paulo Wollny

gcc -DHAVE_CONFIG_H -I. -I. -I.. -Wall -O2 -c test -f 'sbcinfo.c' || echo './'sbcinfo.c
gcc -Wall -O2 -o sbcinfo sbcinfo.o -lasound -lm -ldl -lpthread
gcc -DHAVE_CONFIG_H -I. -I. -I.. -Wall -O2 -c test -f 'sbcenc.c' || echo './'sbcenc.c
gcc -Wall -O2 -o sbcenc sbcenc.o libsbc.a -lasound -lm -ldl -lpthread
gcc -DHAVE_CONFIG_H -I. -I. -I.. -Wall -O2 -c test -f 'rcplay.c' || echo './'rcplay.c
gcc -Wall -O2 -o rcplay rcplay.o -lbluetooth -lasound -lm -ldl -lpthread
rcplay.o(.text+0xd0): In function `main':
: undefined reference to sdp_connect' rcplay.o(.text+0xed): In function main':
: undefined reference to sdp_uuid16_create' rcplay.o(.text+0xf7): In function main':
: undefined reference to sdp_list_append' rcplay.o(.text+0x11b): In function main':
: undefined reference to sdp_list_append' rcplay.o(.text+0x12c): In function main':
: undefined reference to sdp_list_append' rcplay.o(.text+0x141): In function main':
: undefined reference to sdp_service_search_attr_req' rcplay.o(.text+0x14c): In function main':
: undefined reference to `sdp_close'
rcplay.o(.text+0x18f): In function `main':
: undefined reference to sdp_get_access_protos' rcplay.o(.text+0x1a6): In function main':
: undefined reference to `sdp_get_proto_port'
collect2: ld returned 1 exit status
make[2]: *** [rcplay] Fehler 1
make[2]: Leaving directory `/home/paulo/Bluetooth-Linux/btsco-0.4/sbc' make[1]: *** [all-recursive] Fehler 1
make[1]: Leaving directory `/home/paulo/Bluetooth-Linux/btsco-0.4'
make: *** [all] Fehler 2

-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

#3 lore raw

Hi Paolo,
What distribution is this? (You can kludge around your problem by softlinking libsdp.so.2 to libbluetooth.so but this a hack.)

Update kbtobexsrv or rebuild it from source.

Cheers,
Steve

Quoted 91 lines · Paulo Wollny

Hi Steve,

i did update of all teh bluez packages, but when trying to run ktbobexsrv, i get the following message:

kbtobexsrv: error while loading shared libraries: libsdp.so.2: cannot open shared object file

Any hint?

I was able to build btsco.

Best regards,

Paulo Wollny

Quoted 4 lines · Stephen Crane

Hi Paolo
It looks as if your version of bluez-libs is very old. Recent versions have the sdp library merged in.

Quoted 58 lines

Cheers,
Steve

Quoted 53 lines · Paulo Wollny

Hi,

i'm trying o build the btsco and am getting the following error. Does anyone knows how to solve it?

Kind regards,

Paulo Wollny

gcc -DHAVE_CONFIG_H -I. -I. -I.. -Wall -O2 -c `test -f 'sbcinfo.c'

|| echo './'`sbcinfo.c
gcc  -Wall -O2   -o sbcinfo  sbcinfo.o  -lasound -lm -ldl -lpthread
gcc -DHAVE_CONFIG_H -I. -I. -I..     -Wall -O2 -c `test -f 'sbcenc.c' || 

echo './'`sbcenc.c
gcc -Wall -O2 -o sbcenc sbcenc.o libsbc.a -lasound -lm -ldl -lpthread
gcc -DHAVE_CONFIG_H -I. -I. -I.. -Wall -O2 -c `test -f 'rcplay.c' ||
echo './'`rcplay.c
gcc -Wall -O2 -o rcplay rcplay.o -lbluetooth -lasound -lm -ldl -lpthread
rcplay.o(.text+0xd0): In function `main':
: undefined reference to sdp_connect' rcplay.o(.text+0xed): In function main':
: undefined reference to sdp_uuid16_create' rcplay.o(.text+0xf7): In function main':
: undefined reference to sdp_list_append' rcplay.o(.text+0x11b): In function main':
: undefined reference to sdp_list_append' rcplay.o(.text+0x12c): In function main':
: undefined reference to sdp_list_append' rcplay.o(.text+0x141): In function main':
: undefined reference to sdp_service_search_attr_req' rcplay.o(.text+0x14c): In function main':
: undefined reference to `sdp_close'
rcplay.o(.text+0x18f): In function `main':
: undefined reference to sdp_get_access_protos' rcplay.o(.text+0x1a6): In function main':
: undefined reference to `sdp_get_proto_port'
collect2: ld returned 1 exit status
make[2]: *** [rcplay] Fehler 1
make[2]: Leaving directory `/home/paulo/Bluetooth-Linux/btsco-0.4/sbc' make[1]: *** [all-recursive] Fehler 1
make[1]: Leaving directory `/home/paulo/Bluetooth-Linux/btsco-0.4'
make: *** [all] Fehler 2

-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

Signature · 2 lines
Stephen Crane, Rococo Software Ltd. http://www.rococosoft.com
[email protected] +353-1-6601315 (ext 209)
#4 lore raw

Hi Steve,

My distribution is suse 9.1 and i upgraded all the bluez packages from suse 9.3. Is working... kbluetoothd, kbtobexclient (i can call it), kbtobexsrv, multisync.

I found out that kbtobexsrv is no more a standalone program.. but is called from kbluetoothd.... When clicking on the kbluetoothd icon, i can see my phone, but trying to browse it, i get LMP response timeout..... Is there any way to browse my phone contents?

Best regards and thx for helping me.

Paulo Wollny

Quoted 4 lines · Stephen Crane

Hi Paolo,
What distribution is this? (You can kludge around your problem by softlinking libsdp.so.2 to libbluetooth.so but this a hack.)

Quoted 96 lines

Update kbtobexsrv or rebuild it from source.

Cheers,
Steve

Quoted 89 lines · Paulo Wollny

Hi Steve,

i did update of all teh bluez packages, but when trying to run ktbobexsrv, i get the following message:

kbtobexsrv: error while loading shared libraries: libsdp.so.2: cannot open shared object file

Any hint?

I was able to build btsco.

Best regards,

Paulo Wollny

Quoted 4 lines · Stephen Crane

Hi Paolo
It looks as if your version of bluez-libs is very old. Recent versions have the sdp library merged in.

Quoted 57 lines

Cheers,
Steve

Quoted 51 lines · Paulo Wollny

Hi,

i'm trying o build the btsco and am getting the following error. Does anyone knows how to solve it?

Kind regards,

Paulo Wollny

gcc -DHAVE_CONFIG_H -I. -I. -I.. -Wall -O2 -c test -f 'sbcinfo.c' || echo './'sbcinfo.c
gcc -Wall -O2 -o sbcinfo sbcinfo.o -lasound -lm -ldl -lpthread
gcc -DHAVE_CONFIG_H -I. -I. -I.. -Wall -O2 -c test -f 'sbcenc.c' || echo './'sbcenc.c
gcc -Wall -O2 -o sbcenc sbcenc.o libsbc.a -lasound -lm -ldl -lpthread
gcc -DHAVE_CONFIG_H -I. -I. -I.. -Wall -O2 -c test -f 'rcplay.c' || echo './'rcplay.c
gcc -Wall -O2 -o rcplay rcplay.o -lbluetooth -lasound -lm -ldl -lpthread
rcplay.o(.text+0xd0): In function `main':
: undefined reference to sdp_connect' rcplay.o(.text+0xed): In function main':
: undefined reference to sdp_uuid16_create' rcplay.o(.text+0xf7): In function main':
: undefined reference to sdp_list_append' rcplay.o(.text+0x11b): In function main':
: undefined reference to sdp_list_append' rcplay.o(.text+0x12c): In function main':
: undefined reference to sdp_list_append' rcplay.o(.text+0x141): In function main':
: undefined reference to sdp_service_search_attr_req' rcplay.o(.text+0x14c): In function main':
: undefined reference to `sdp_close'
rcplay.o(.text+0x18f): In function `main':
: undefined reference to sdp_get_access_protos' rcplay.o(.text+0x1a6): In function main':
: undefined reference to `sdp_get_proto_port'
collect2: ld returned 1 exit status
make[2]: *** [rcplay] Fehler 1
make[2]: Leaving directory `/home/paulo/Bluetooth-Linux/btsco-0.4/sbc' make[1]: *** [all-recursive] Fehler 1
make[1]: Leaving directory `/home/paulo/Bluetooth-Linux/btsco-0.4'
make: *** [all] Fehler 2

-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies

from IBM. Find simple to follow Roadmaps, straightforward articles,

informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Bluez-users mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

#5 lore raw

When i try to browse my phone, i get this:

Device Discovery Info
Discovery Time: Fr Jun 24 12:13:20 BRT 2005
Bluetooth Device Address: 00:01:E3:43:D0:2C
Bluetooth Device Name: PWS65

Services
Failed to connect to SDP server on 00:01:E3:43:D0:2C: Function not implemented

Quoted 122 lines · Paulo Wollny

Hi Steve,

My distribution is suse 9.1 and i upgraded all the bluez packages from suse 9.3. Is working... kbluetoothd, kbtobexclient (i can call it), kbtobexsrv, multisync.

I found out that kbtobexsrv is no more a standalone program.. but is called from kbluetoothd.... When clicking on the kbluetoothd icon, i can see my phone, but trying to browse it, i get LMP response timeout..... Is there any way to browse my phone contents?

Best regards and thx for helping me.

Paulo Wollny

Quoted 4 lines · Stephen Crane

Hi Paolo,
What distribution is this? (You can kludge around your problem by softlinking libsdp.so.2 to libbluetooth.so but this a hack.)

Quoted 101 lines

Update kbtobexsrv or rebuild it from source.

Cheers,
Steve

Quoted 94 lines · Paulo Wollny

Hi Steve,

i did update of all teh bluez packages, but when trying to run ktbobexsrv, i get the following message:

kbtobexsrv: error while loading shared libraries: libsdp.so.2: cannot open shared object file

Any hint?

I was able to build btsco.

Best regards,

Paulo Wollny

Quoted 4 lines · Stephen Crane

Hi Paolo
It looks as if your version of bluez-libs is very old. Recent versions have the sdp library merged in.

Quoted 61 lines

Cheers,
Steve

Quoted 55 lines · Paulo Wollny

Hi,

i'm trying o build the btsco and am getting the following error. Does anyone knows how to solve it?

Kind regards,

Paulo Wollny

gcc -DHAVE_CONFIG_H -I. -I. -I.. -Wall -O2 -c test -f 'sbcinfo.c' || echo './'sbcinfo.c
gcc -Wall -O2 -o sbcinfo sbcinfo.o -lasound -lm -ldl -lpthread
gcc -DHAVE_CONFIG_H -I. -I. -I.. -Wall -O2 -c test -f 'sbcenc.c' || echo './'sbcenc.c
gcc -Wall -O2 -o sbcenc sbcenc.o libsbc.a -lasound -lm -ldl
-lpthread
gcc -DHAVE_CONFIG_H -I. -I. -I.. -Wall -O2 -c test -f 'rcplay.c' || echo './'rcplay.c
gcc -Wall -O2 -o rcplay rcplay.o -lbluetooth -lasound -lm -ldl
-lpthread
rcplay.o(.text+0xd0): In function `main':
: undefined reference to sdp_connect' rcplay.o(.text+0xed): In function main':
: undefined reference to sdp_uuid16_create' rcplay.o(.text+0xf7): In function main':
: undefined reference to sdp_list_append' rcplay.o(.text+0x11b): In function main':
: undefined reference to sdp_list_append' rcplay.o(.text+0x12c): In function main':
: undefined reference to sdp_list_append' rcplay.o(.text+0x141): In function main':
: undefined reference to sdp_service_search_attr_req' rcplay.o(.text+0x14c): In function main':
: undefined reference to `sdp_close'
rcplay.o(.text+0x18f): In function `main':
: undefined reference to sdp_get_access_protos' rcplay.o(.text+0x1a6): In function main':
: undefined reference to `sdp_get_proto_port'
collect2: ld returned 1 exit status
make[2]: *** [rcplay] Fehler 1
make[2]: Leaving directory `/home/paulo/Bluetooth-Linux/btsco-0.4/sbc' make[1]: *** [all-recursive] Fehler 1
make[1]: Leaving directory `/home/paulo/Bluetooth-Linux/btsco-0.4'
make: *** [all] Fehler 2

-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies

from IBM. Find simple to follow Roadmaps, straightforward articles,

informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Bluez-users mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

Quoted 11 lines

-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users