linux-bluetooth.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCHv2 1/2] android/build: Fix including wrong log include header for bluetoothd
@ 2014-12-10  8:58 Andrei Emeltchenko
  2014-12-10  8:58 ` [PATCHv2 2/2] android/build: Add libcutils to LOCAL_SHARED_LIBRARIES for haltest Andrei Emeltchenko
  2014-12-10 12:22 ` [PATCHv2 1/2] android/build: Fix including wrong log include header for bluetoothd Szymon Janc
  0 siblings, 2 replies; 3+ messages in thread
From: Andrei Emeltchenko @ 2014-12-10  8:58 UTC (permalink / raw)
  To: linux-bluetooth

From: Andrei Emeltchenko <andrei.emeltchenko@intel.com>

Fixes build for Nexus 9.
...
aarch64-linux-android/bin/ld:
out/target/product/flounder/obj/EXECUTABLES/bluetoothd-main_intermediates/bluez/android/a2dp-sink.o:
undefined reference to symbol '__android_log_print'
...
---
 android/a2dp-sink.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/android/a2dp-sink.c b/android/a2dp-sink.c
index 07508c0..7c1e1a0 100644
--- a/android/a2dp-sink.c
+++ b/android/a2dp-sink.c
@@ -29,7 +29,7 @@
 #include <glib.h>
 
 #include "lib/bluetooth.h"
-#include "hal-log.h"
+#include "src/log.h"
 #include "hal-msg.h"
 #include "ipc.h"
 #include "a2dp-sink.h"
-- 
2.1.0


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

* [PATCHv2 2/2] android/build: Add libcutils to LOCAL_SHARED_LIBRARIES for haltest
  2014-12-10  8:58 [PATCHv2 1/2] android/build: Fix including wrong log include header for bluetoothd Andrei Emeltchenko
@ 2014-12-10  8:58 ` Andrei Emeltchenko
  2014-12-10 12:22 ` [PATCHv2 1/2] android/build: Fix including wrong log include header for bluetoothd Szymon Janc
  1 sibling, 0 replies; 3+ messages in thread
From: Andrei Emeltchenko @ 2014-12-10  8:58 UTC (permalink / raw)
  To: linux-bluetooth

From: Andrei Emeltchenko <andrei.emeltchenko@intel.com>

Fixes build error for Nexus 9.
...
aarch64-linux-android/bin/ld:
out/target/product/flounder/obj/EXECUTABLES/haltest_intermediates/bluez/android/hal-utils.o:
undefined reference to symbol 'property_get'
...
---
 android/Android.mk | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/android/Android.mk b/android/Android.mk
index 2b90cee..c1505c8 100644
--- a/android/Android.mk
+++ b/android/Android.mk
@@ -203,7 +203,9 @@ LOCAL_C_INCLUDES += \
 
 LOCAL_CFLAGS := $(BLUEZ_COMMON_CFLAGS) -Wno-declaration-after-statement
 
-LOCAL_SHARED_LIBRARIES := libhardware
+LOCAL_SHARED_LIBRARIES := \
+	libhardware \
+	libcutils \
 
 LOCAL_MODULE_PATH := $(TARGET_OUT_OPTIONAL_EXECUTABLES)
 LOCAL_MODULE_TAGS := debug
-- 
2.1.0


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

* Re: [PATCHv2 1/2] android/build: Fix including wrong log include header for bluetoothd
  2014-12-10  8:58 [PATCHv2 1/2] android/build: Fix including wrong log include header for bluetoothd Andrei Emeltchenko
  2014-12-10  8:58 ` [PATCHv2 2/2] android/build: Add libcutils to LOCAL_SHARED_LIBRARIES for haltest Andrei Emeltchenko
@ 2014-12-10 12:22 ` Szymon Janc
  1 sibling, 0 replies; 3+ messages in thread
From: Szymon Janc @ 2014-12-10 12:22 UTC (permalink / raw)
  To: Andrei Emeltchenko; +Cc: linux-bluetooth

Hi Andrei,

On Wednesday 10 of December 2014 10:58:09 Andrei Emeltchenko wrote:
> From: Andrei Emeltchenko <andrei.emeltchenko@intel.com>
> 
> Fixes build for Nexus 9.
> ...
> aarch64-linux-android/bin/ld:
> out/target/product/flounder/obj/EXECUTABLES/bluetoothd-main_intermediates/bl
> uez/android/a2dp-sink.o: undefined reference to symbol '__android_log_print'
> ...
> ---
>  android/a2dp-sink.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/android/a2dp-sink.c b/android/a2dp-sink.c
> index 07508c0..7c1e1a0 100644
> --- a/android/a2dp-sink.c
> +++ b/android/a2dp-sink.c
> @@ -29,7 +29,7 @@
>  #include <glib.h>
> 
>  #include "lib/bluetooth.h"
> -#include "hal-log.h"
> +#include "src/log.h"
>  #include "hal-msg.h"
>  #include "ipc.h"
>  #include "a2dp-sink.h"

Both patches applied, thanks.

-- 
BR
Szymon Janc

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

end of thread, other threads:[~2014-12-10 12:22 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-12-10  8:58 [PATCHv2 1/2] android/build: Fix including wrong log include header for bluetoothd Andrei Emeltchenko
2014-12-10  8:58 ` [PATCHv2 2/2] android/build: Add libcutils to LOCAL_SHARED_LIBRARIES for haltest Andrei Emeltchenko
2014-12-10 12:22 ` [PATCHv2 1/2] android/build: Fix including wrong log include header for bluetoothd Szymon Janc

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).