Re: bluez-utils 3.30, uClibc, hcid, plugin handling

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Hi Wolfram,

> I had some trouble using hcid from bluez-utils 3.30 on my openwrt-router.
> Openwrt uses uClibc, not glibc.
> I discovered the following two problems:
> 1. In eglib/gmodule.c, function g_module_open, line 29 dlopen is used.
> The flags for dlopen come from hcid/plugin.c, function plugin_init, line 94.
> The flag-value is 0. According to the manpage of dlopen
> (,
> one of RTLD_LAZY or RTLD_NOW has to be set. uClibc checks this and returns an error.
> 2. hcid needs to be linked with -rdynamic or --export-dynamic. Some functions
> in the hcid-executable are used by the plugins. Without -rdynamic uClibc
> doesn't resolve the symbols in the plugins resulting in a NULL pointer
> dereference and a SIGSEGV. Again, its documented in the man-page of
> dlopen.

this has been fixed a long time ago. However we just recently released
bluez-utils-3.31 and that should be fine.



This email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2.;198757673;13503038;p?
Bluez-devel mailing list

[Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]    [Yosemite Photos]    [Free Online Dating]     [Linux Kernel]     [Linux SCSI]     [XFree86]

Add to Google Powered by Linux