It seems like there is no usage of __android_log_vprint in upstream libdrm. Perhaps this was against libdrm with some android specific changes on top?

On 3/17/19 10:50 PM, Mauro Rossi wrote:
Fixes the following building error:

FAILED: 
$(OUT)/obj/SHARED_LIBRARIES/libdrm_platform_intermediates/LINKED/libdrm_platform.so
...
external/libdrm/xf86drm.c:146: error: undefined reference to 
'__android_log_vprint'
clang.real: error: linker command failed with exit code 1 (use -v to see 
invocation)

Signed-off-by: Mauro Rossi <issor.or...@gmail.com>
---
  Android.mk | 3 +++
  1 file changed, 3 insertions(+)

diff --git a/Android.mk b/Android.mk
index f2c78bc1..f832b24e 100644
--- a/Android.mk
+++ b/Android.mk
@@ -61,6 +61,9 @@ LOCAL_EXPORT_C_INCLUDE_DIRS := \
         $(LOCAL_PATH) \
         $(LOCAL_PATH)/include/drm
+LOCAL_SHARED_LIBRARIES := \
+       liblog
+
  LOCAL_C_INCLUDES := \
         $(LOCAL_PATH)/include/drm
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

Reply via email to