All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] tools: Fix btmgmt build on Android
@ 2015-04-07  8:44 Mariusz Skamra
  2015-04-07  9:03 ` Szymon Janc
  0 siblings, 1 reply; 2+ messages in thread
From: Mariusz Skamra @ 2015-04-07  8:44 UTC (permalink / raw)
  To: linux-bluetooth; +Cc: Mariusz Skamra

target Executable: btmgmt (out/target/product/mako/obj/EXECUTABLES/btmgmt_intermediates/LINKED/btmgmt)
external/bluetooth/bluez/tools/btmgmt.c:1477: error: undefined reference to 'hci_bustostr'
collect2: error: ld returned 1 exit status
---
 android/Android.mk | 1 +
 1 file changed, 1 insertion(+)

diff --git a/android/Android.mk b/android/Android.mk
index f218805..1e22ca6 100644
--- a/android/Android.mk
+++ b/android/Android.mk
@@ -539,6 +539,7 @@ include $(CLEAR_VARS)
 LOCAL_SRC_FILES := \
 	bluez/tools/btmgmt.c \
 	bluez/lib/bluetooth.c \
+	bluez/lib/hci.c \
 	bluez/lib/sdp.c \
 	bluez/src/shared/mainloop.c \
 	bluez/src/shared/io-mainloop.c \
-- 
1.9.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] tools: Fix btmgmt build on Android
  2015-04-07  8:44 [PATCH] tools: Fix btmgmt build on Android Mariusz Skamra
@ 2015-04-07  9:03 ` Szymon Janc
  0 siblings, 0 replies; 2+ messages in thread
From: Szymon Janc @ 2015-04-07  9:03 UTC (permalink / raw)
  To: Mariusz Skamra; +Cc: linux-bluetooth

Hi Mariusz,

On Tuesday 07 of April 2015 10:44:36 Mariusz Skamra wrote:
> target Executable: btmgmt
> (out/target/product/mako/obj/EXECUTABLES/btmgmt_intermediates/LINKED/btmgmt
> ) external/bluetooth/bluez/tools/btmgmt.c:1477: error: undefined reference
> to 'hci_bustostr' collect2: error: ld returned 1 exit status
> ---
>  android/Android.mk | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/android/Android.mk b/android/Android.mk
> index f218805..1e22ca6 100644
> --- a/android/Android.mk
> +++ b/android/Android.mk
> @@ -539,6 +539,7 @@ include $(CLEAR_VARS)
>  LOCAL_SRC_FILES := \
>  	bluez/tools/btmgmt.c \
>  	bluez/lib/bluetooth.c \
> +	bluez/lib/hci.c \
>  	bluez/lib/sdp.c \
>  	bluez/src/shared/mainloop.c \
>  	bluez/src/shared/io-mainloop.c \

Patch applied, thanks.

-- 
BR
Szymon Janc

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-04-07  9:03 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-04-07  8:44 [PATCH] tools: Fix btmgmt build on Android Mariusz Skamra
2015-04-07  9:03 ` Szymon Janc

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.