Issue visible when haltest loads audio.a2dp.default.so
> HAL E: load:
> module=/home/rymanluk/devel/kitkat/external/bluetooth/bluez/android/.libs/audio.a2dp.default.so
/home/rymanluk/devel/kitkat/external/bluetooth/bluez/android/.libs/audio.a2dp.default.so:
undefined symbol: clock_gettime
hw_get_module_by_class returned -22
---
android/Makefile.am | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/android/Makefile.am b/android/Makefile.am
index e9d9db1..f85de20 100644
--- a/android/Makefile.am
+++ b/android/Makefile.am
@@ -152,7 +152,7 @@ android_audio_a2dp_default_la_CFLAGS = $(AM_CFLAGS) -I$(srcdir)/android
android_audio_a2dp_default_la_LIBADD = @SBC_LIBS@
android_audio_a2dp_default_la_LDFLAGS = $(AM_LDFLAGS) -module -avoid-version \
- -no-undefined -pthread
+ -no-undefined -pthread -lrt
endif
--
1.8.4
Hi Lukasz,
On Thu, Jan 23, 2014 at 6:16 PM, Lukasz Rymanowski
<[email protected]> wrote:
> Issue visible when haltest loads audio.a2dp.default.so
>
>> HAL E: load:
>> module=/home/rymanluk/devel/kitkat/external/bluetooth/bluez/android/.libs/audio.a2dp.default.so
> /home/rymanluk/devel/kitkat/external/bluetooth/bluez/android/.libs/audio.a2dp.default.so:
> undefined symbol: clock_gettime
> hw_get_module_by_class returned -22
>
> ---
> android/Makefile.am | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/android/Makefile.am b/android/Makefile.am
> index e9d9db1..f85de20 100644
> --- a/android/Makefile.am
> +++ b/android/Makefile.am
> @@ -152,7 +152,7 @@ android_audio_a2dp_default_la_CFLAGS = $(AM_CFLAGS) -I$(srcdir)/android
> android_audio_a2dp_default_la_LIBADD = @SBC_LIBS@
>
> android_audio_a2dp_default_la_LDFLAGS = $(AM_LDFLAGS) -module -avoid-version \
> - -no-undefined -pthread
> + -no-undefined -pthread -lrt
>
> endif
>
> --
> 1.8.4
Applied, just had to fix a little but the description to state why
-lrt is needed.
--
Luiz Augusto von Dentz