|
发表于 2020-3-29 10:30:41
19241 浏览 0 回复
android4.0.3编译hal模块出错
自己仿照hal模块试着写了一个, 可是编译的时候,出现错误如下:
root@ubuntu:/home/topeet/Android/iTop4412_ICS_git# mmm hardware/libhardware/modules/led0321/
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=4.0.3
TARGET_PRODUCT=full
TARGET_BUILD_VARIANT=eng
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a
HOST_ARCH=x86
HOST_OS=linux
HOST_BUILD_TYPE=release
BUILD_ID=IML74K
============================================
make: Entering directory `/home/topeet/Android/iTop4412_ICS_git'
make: *** No rule to make target `out/target/product/generic/obj/lib/liblog.so', needed by `out/target/product/generic/obj/SHARED_LIBRARIES/led0321.default_intermediates/LINKED/led0321.default.so'. Stop.
make: Leaving directory `/home/topeet/Android/iTop4412_ICS_git'
说是找不到liblog.so ,可是编译liblog.so的时候又出现如下错误。 哪位大神知道该如何解决吗?
root@ubuntu:/home/topeet/Android/iTop4412_ICS_git# make liblog
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=4.0.3
TARGET_PRODUCT=full
TARGET_BUILD_VARIANT=eng
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a
HOST_ARCH=x86
HOST_OS=linux
HOST_BUILD_TYPE=release
BUILD_ID=IML74K
============================================
device/samsung/multimedia/codecs/audio/Android.mk:10: device/samsung/multimedia/codecs/audio/exynos4/exynos5/Android.mk: No such file or directory
device/samsung/multimedia/codecs/video/Android.mk:10: device/samsung/multimedia/codecs/video/exynos4/mfc/exynos5/Android.mk: No such file or directory
device/samsung/multimedia/utils/csc/Android.mk:10: device/samsung/multimedia/utils/csc/exynos4/exynos5/Android.mk: No such file or directory
make: *** No rule to make target `device/samsung/multimedia/utils/csc/exynos4/exynos5/Android.mk'. Stop.
哪位大神知道该如何解决吗?
|
|
|
|
|
|
|
登录或注册
扫一扫关注迅为公众号
|