2007-02-20 06:56:48

by Choi Sonim

[permalink] [raw]
Subject: [Bluez-devel] bluez-utils-3.9 compilation error

hello.
I get this in the 'make' phase:

libhciserver.a(dbus-common.o): In function `unregister_sdp_record':
dbus-common.c:(.text+0x90): undefined reference to
`sdp_device_record_unregister_binary'
libhciserver.a(dbus-common.o): In function `register_sdp_binary':
dbus-common.c:(.text+0x106): undefined reference to
`sdp_device_record_register_binary'
collect2: ld returned 1 exit status

dows anyone have any clue ?

thanks a lot
choi

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel


2007-02-21 12:51:02

by Marcel Holtmann

[permalink] [raw]
Subject: Re: [Bluez-devel] bluez-utils-3.9 compilation error

Hi Choi,

> > > libhciserver.a(dbus-common.o): In function `unregister_sdp_record':
> > > dbus-common.c:(.text+0x90): undefined reference to
> > > `sdp_device_record_unregister_binary'
> > > libhciserver.a(dbus-common.o): In function `register_sdp_binary':
> > > dbus-common.c:(.text+0x106): undefined reference to
> > > `sdp_device_record_register_binary'
> > > collect2: ld returned 1 exit status
> > >
> > > dows anyone have any clue ?
> >
> > the ChangeLog file clearly states that you need an appropriate
> > bluez-libs installation.
>
> but i did built the bluez-libs-3.9 before. they were installed to /usr/local/lib
> and I did export LD_LIBRARY_PATH=/usr/local/lib.
> should I do anything more ?

then you have 3.7 or older installed somewhere and it tries to link
against that version.

Regards

Marcel



-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel

2007-02-21 12:18:39

by Choi Sonim

[permalink] [raw]
Subject: Re: [Bluez-devel] bluez-utils-3.9 compilation error

hi Marcel,

On 2/21/07, Marcel Holtmann <[email protected]> wrote:
> Hi Choi,
>
> > I get this in the 'make' phase:
> >
> > libhciserver.a(dbus-common.o): In function `unregister_sdp_record':
> > dbus-common.c:(.text+0x90): undefined reference to
> > `sdp_device_record_unregister_binary'
> > libhciserver.a(dbus-common.o): In function `register_sdp_binary':
> > dbus-common.c:(.text+0x106): undefined reference to
> > `sdp_device_record_register_binary'
> > collect2: ld returned 1 exit status
> >
> > dows anyone have any clue ?
>
> the ChangeLog file clearly states that you need an appropriate
> bluez-libs installation.

but i did built the bluez-libs-3.9 before. they were installed to /usr/local/lib
and I did export LD_LIBRARY_PATH=/usr/local/lib.
should I do anything more ?

thank you very much for the help
choi

>
> Regards
>
> Marcel
>
>
>
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys-and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> Bluez-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/bluez-devel
>

2007-02-21 12:07:35

by Marcel Holtmann

[permalink] [raw]
Subject: Re: [Bluez-devel] bluez-utils-3.9 compilation error

Hi Choi,

> I get this in the 'make' phase:
>
> libhciserver.a(dbus-common.o): In function `unregister_sdp_record':
> dbus-common.c:(.text+0x90): undefined reference to
> `sdp_device_record_unregister_binary'
> libhciserver.a(dbus-common.o): In function `register_sdp_binary':
> dbus-common.c:(.text+0x106): undefined reference to
> `sdp_device_record_register_binary'
> collect2: ld returned 1 exit status
>
> dows anyone have any clue ?

the ChangeLog file clearly states that you need an appropriate
bluez-libs installation.

Regards

Marcel



-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel