0

我一直在开发一个到 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.

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

4

1 回答 1

1

这意味着MODULE.TARGET.SHARED_LIBRARIES.lights.msm8960hardware/qcom/display/msm8960/liblightdevice/samsung/d2-common/liblights文件定义,因此您可以从链接中删除其中一个 - 如果您没有源代码 - 或在其中一个中注释此定义。

于 2013-11-03T18:26:13.623 回答