I am trying to build kernel for AOSP 4.4.2 for a device. When I compile the kernel I get
build/core/base_rules.mk:134: *** vendor/google/libs:
MODULE.TARGET.SHARED_LIBRARIES.libjpeg already defined by external/jpeg. Stop.
I understand that the shared variable libjpeg is already defined and I need to remove one of them. Is that correct?
I tried looking in external/jpeg folder and I am not sure which file I have to look into. Could some one please tell me how to deal with this situation.
The error states that the Shared object libjpeg is already defined in other module google/libs and you are again trying to create it. So just try to rename the Android.mk file in google/libs folder or in external/jpeg folder. It fixes the issue.