From: Andrei Emeltchenko <[email protected]>
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
Hi Andrei,
On Wednesday 10 of December 2014 10:58:09 Andrei Emeltchenko wrote:
> From: Andrei Emeltchenko <[email protected]>
>
> 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
From: Andrei Emeltchenko <[email protected]>
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