I have compiled glib library(created a libglib.so file with local_module as libglib) in android ndk eclipse. But I am getting could not be resolved errors
for the inbuilt functions of glib.
This is my android.mk file:
LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
include $(call all-subdir-makefiles)
LOCAL_LDLIBS := -llog
LOCAL_MODULE := mycode
LOCAL_SRC_FILES := mycode.c
LOCAL_SHARED_LIBRARIES := libglib
LOCAL_C_INCLUDES += $(LOCAL_PATH)/../glib/
LOCAL_C_INCLUDES += $(LOCAL_PATH)/../glib/glib/
include $(BUILD_SHARED_LIBRARY)
What am I missing?