Android 4.4端口编译错误

时间:2013-11-03 17:41:17

标签: android porting

我一直在为D2ATT设计一个android 4.4 kitkat端口,我不断收到这个构建错误:

including ./hardware/qcom/display/Android.mk ... 
build/core/copy_headers.mk:15: warning: overriding commands for target out/target/product/d2att/obj/include/qcom/display/copybit.h' 
build/core/copy_headers.mk:15: warning: ignoring old commands for targetout/target/product/d2att/obj/include/qcom/display/copybit.h' 
build/core/copy_headers.mk:15: warning: overriding commands for target out/target/product/d2att/obj/include/qcom/display/copybit_priv.h' 
build/core/copy_headers.mk:15: warning: ignoring old commands for targetout/target/product/d2att/obj/include/qcom/display/copybit_priv.h' 
build/core/base_rules.mk:134: *** hardware/qcom/display/msm8960/liblight: MODULE.TARGET.SHARED_LIBRARIES.lights.msm8960 already defined by device/samsung/d2-common/liblights. Stop.

有谁知道如何解决这个或它意味着什么?谢谢!

1 个答案:

答案 0 :(得分:1)

这意味着MODULE.TARGET.SHARED_LIBRARIES.lights.msm8960hardware/qcom/display/msm8960/liblightdevice/samsung/d2-common/liblights文件定义,因此您要么从链接中删除其中一个 - 如果您没有源代码 - 或者对此进行评论其中一个定义。