Menu

#9 Unable to compile on FC2

open
nobody
None
5
2015-02-08
2005-02-17
Denis
No

Error while trying to compile btsco on Fedora core 2

[neii441@ecllt030 btsco]$ make
...
gcc -Wall -O2 -o rcplay rcplay.o -lbluetooth
-lasound -lm -ldl -lpthread
rcplay.o(.text+0x11): In function `get_channel':
: undefined reference to `sdp_connect'
rcplay.o(.text+0x34): In function `get_channel':
: undefined reference to `sdp_uuid16_create'
rcplay.o(.text+0x3e): In function `get_channel':
: undefined reference to `sdp_list_append'
rcplay.o(.text+0x59): In function `get_channel':
: undefined reference to `sdp_list_append'
rcplay.o(.text+0x67): In function `get_channel':
: undefined reference to `sdp_list_append'
rcplay.o(.text+0x79): In function `get_channel':
: undefined reference to `sdp_service_search_attr_req'
rcplay.o(.text+0x84): In function `get_channel':
: undefined reference to `sdp_close'
rcplay.o(.text+0xa8): In function `get_channel':
: undefined reference to `sdp_get_access_protos'
rcplay.o(.text+0xd5): In function `get_channel':
: undefined reference to `sdp_get_proto_port'
collect2: ld returned 1 exit status
...

[neii441@ecllt030 btsco]$ uname -a
Linux ecllt030 2.6.10-1.14_FC2 #1 Thu Feb 10 17:13:14
EST 2005 i686 i686 i386 GNU/Linux

[neii441@ecllt030 btsco]$ rpm -aq | grep bluez | grep devel
bluez-sdp-devel-1.5-2.1
bluez-libs-devel-2.5-2.1

[neii441@ecllt030 btsco]$ rpm -aq | grep libao | grep devel
libao-devel-0.8.4-2.1

[neii441@ecllt030 btsco]$ rpm -aq | grep alsa | grep devel
alsa-lib-devel-1.0.3a-2

Best regards
Denis

Discussion

  • brad midgley

    brad midgley - 2005-03-15

    Logged In: YES
    user_id=17404

    Are you still having trouble? It looks like something
    nontrivial.

    Post to bluez-devel where some of the FC users will see the
    question.

     
  • Hendrik Sattler

    Hendrik Sattler - 2005-03-15

    Logged In: YES
    user_id=356160

    Your bluez-libs are really old, current is 2.15! At one
    time, there was a libsdp seperate from libbluetooth
    and you had to link to it with -lsdp.
    Upgrading your bluez package will probably make
    this error disappear. As an alternative, use
    LDFLAGS=-lsdp

    HS

     
  • brad midgley

    brad midgley - 2005-03-30

    Logged In: YES
    user_id=17404

    This belongs in the support area

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.