Re: [PATCH BlueZ v2] build: Fix 'hcitool' and 'bdaddr' compilation

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

 



Hi Vinicius,

On Mon, Dec 10, 2012, Vinicius Costa Gomes wrote:
> Now with the addition of src/oui.c that depends on udev, these tools
> should also be linked against libudev, in case libudev includes the
> function udev_hwdb_new().
> 
> Build error:
>   CCLD     tools/hcitool
>   CCLD     tools/sdptool
>   CCLD     tools/ciptool
>   CCLD     tools/bccmd
> src/oui.o: In function `batocomp':
> /home/vinicius/work/bluez/src/oui.c:42: undefined reference to `udev_new'
> /home/vinicius/work/bluez/src/oui.c:46: undefined reference to `udev_hwdb_new'
> /home/vinicius/work/bluez/src/oui.c:50: undefined reference to `udev_hwdb_get_properties_list_entry'
> /home/vinicius/work/bluez/src/oui.c:53: undefined reference to `udev_list_entry_get_name'
> /home/vinicius/work/bluez/src/oui.c:52: undefined reference to `udev_list_entry_get_next'
> /home/vinicius/work/bluez/src/oui.c:61: undefined reference to `udev_hwdb_unref'
> /home/vinicius/work/bluez/src/oui.c:64: undefined reference to `udev_unref'
> /home/vinicius/work/bluez/src/oui.c:56: undefined reference to `udev_list_entry_get_value'
> collect2: error: ld returned 1 exit status
> make[1]: *** [tools/hcitool] Error 1
> make[1]: *** Waiting for unfinished jobs....
> make: *** [all] Error 2
> ---
>  Makefile.tools | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)

Applied. Thanks.

Johan
--
To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux