mt6735平台,添加了sensor驱动程序编译报错,请大家帮忙看看是什么问题!
时间:10-02
整理:3721RD
点击:
最近将G-sensor M-sensor 的驱动加入后一直编译不通过,请大家帮忙看看是什么问题,谢谢!
下面是内核配置文件中关于传感器的配置
- target C: libunz <= external/zlib/src/compress.c
- target C: libunz <= external/zlib/src/crc32.c
- target C: libunz <= external/zlib/src/deflate.c
- target C: libunz <= external/zlib/src/gzclose.c
- target C: libunz <= external/zlib/src/gzlib.c
- target C: libunz <= external/zlib/src/gzread.c
- target C: libunz <= external/zlib/src/gzwrite.c
- target C: libunz <= external/zlib/src/infback.c
- target C: libunz <= external/zlib/src/inflate.c
- target C: libunz <= external/zlib/src/inftrees.c
- target C: libunz <= external/zlib/src/inffast.c
- target C: libunz <= external/zlib/src/trees.c
- target C: libunz <= external/zlib/src/uncompr.c
- target C: libunz <= external/zlib/src/zutil.c
- target StatiCLIb: libunz (out/target/product/fise8735_6tb_l1/obj/STATIC_LIBRARIES/libunz_intermediates/libunz.a)
- target Executable: adb (out/target/product/fise8735_6tb_l1/obj/EXECUTABLES/adb_intermediates/LINKED/adb)
- target Symbolic: adb (out/target/product/fise8735_6tb_l1/symbols/system/bin/adb)
- Export includes file: system/core/adb/android.mk -- out/target/product/fise8735_6tb_l1/obj/EXECUTABLES/adb_intermediates/export_includes
- target Strip: adb (out/target/product/fise8735_6tb_l1/obj/EXECUTABLES/adb_intermediates/adb)
- Notice file: system/core/adb/NOTICE -- out/target/product/fise8735_6tb_l1/obj/NOTICE_FILES/src//system/bin/adb.txt
- Notice file: system/core/libzipfile/NOTICE -- out/target/product/fise8735_6tb_l1/obj/NOTICE_FILES/src//system/lib64/libzipfile.a.txt
- Notice file: system/core/libzipfile/NOTICE -- out/target/product/fise8735_6tb_l1/obj/NOTICE_FILES/src//system/lib/libzipfile.a.txt
- Notice file: external/zlib/NOTICE -- out/target/product/fise8735_6tb_l1/obj/NOTICE_FILES/src//system/lib64/libunz.a.txt
- Notice file: external/zlib/NOTICE -- out/target/product/fise8735_6tb_l1/obj/NOTICE_FILES/src//system/lib/libunz.a.txt
- Install: out/target/product/fise8735_6tb_l1/system/bin/adb
- target Prebuilt: aee (out/target/product/fise8735_6tb_l1/obj/EXECUTABLES/aee_intermediates/aee)
- Notice file: vendor/mediatek/proprietary/external/aee/binary/NOTICE -- out/target/product/fise8735_6tb_l1/obj/NOTICE_FILES/src//system/bin/aee.txt
- Install: out/target/product/fise8735_6tb_l1/system/bin/aee
- target Prebuilt: aee_archive (out/target/product/fise8735_6tb_l1/obj/EXECUTABLES/aee_archive_intermediates/aee_archive)
- Notice file: vendor/mediatek/proprietary/external/aee/binary/NOTICE -- out/target/product/fise8735_6tb_l1/obj/NOTICE_FILES/src//system/bin/aee_archive.txt
- Install: out/target/product/fise8735_6tb_l1/system/bin/aee_archive
- target Prebuilt: aee_core_forwarder (out/target/product/fise8735_6tb_l1/obj/EXECUTABLES/aee_core_forwarder_intermediates/aee_core_forwarder)
- Notice file: vendor/mediatek/proprietary/external/aee/binary/NOTICE -- out/target/product/fise8735_6tb_l1/obj/NOTICE_FILES/src//system/bin/aee_core_forwarder.txt
- Install: out/target/product/fise8735_6tb_l1/system/bin/aee_core_forwarder
- target Prebuilt: aee_dumpstate (out/target/product/fise8735_6tb_l1/obj/EXECUTABLES/aee_dumpstate_intermediates/aee_dumpstate)
- Notice file: vendor/mediatek/proprietary/external/aee/binary/NOTICE -- out/target/product/fise8735_6tb_l1/obj/NOTICE_FILES/src//system/bin/aee_dumpstate.txt
- Install: out/target/product/fise8735_6tb_l1/system/bin/aee_dumpstate
- target Prebuilt: akmd09911 (out/target/product/fise8735_6tb_l1/obj/EXECUTABLES/akmd09911_intermediates/akmd09911)
- Notice file: vendor/fise/libs/fise8735_6tb_l1/akmd09911/NOTICE -- out/target/product/fise8735_6tb_l1/obj/NOTICE_FILES/src//system/bin/akmd09911.txt
- Install: out/target/product/fise8735_6tb_l1/system/bin/akmd09911
- target Prebuilt: akmd8963 (out/target/product/fise8735_6tb_l1/obj/EXECUTABLES/akmd8963_intermediates/akmd8963)
- Notice file: vendor/fise/libs/fise8735_6tb_l1/akmd8963/NOTICE -- out/target/product/fise8735_6tb_l1/obj/NOTICE_FILES/src//system/bin/akmd8963.txt
- Install: out/target/product/fise8735_6tb_l1/system/bin/akmd8963
- target Prebuilt: akmd8975 (out/target/product/fise8735_6tb_l1/obj/EXECUTABLES/akmd8975_intermediates/akmd8975)
- Notice file: vendor/fise/libs/fise8735_6tb_l1/akmd8975/NOTICE -- out/target/product/fise8735_6tb_l1/obj/NOTICE_FILES/src//system/bin/akmd8975.txt
- Install: out/target/product/fise8735_6tb_l1/system/bin/akmd8975
- target Prebuilt: am (out/target/product/fise8735_6tb_l1/obj/EXECUTABLES/am_intermediates/am)
- Notice file: php?mod=tag&id=6090" target="_blank" class="relatedlink">Frameworks/base/cmds/am/NOTICE -- out/target/product/fise8735_6tb_l1/obj/NOTICE_FILES/src//system/bin/am.txt
- Install: out/target/product/fise8735_6tb_l1/system/bin/am
- target Prebuilt: ami304d (out/target/product/fise8735_6tb_l1/obj/EXECUTABLES/ami304d_intermediates/ami304d)
- Notice file: vendor/fise/libs/fise8735_6tb_l1/ami304d/NOTICE -- out/target/product/fise8735_6tb_l1/obj/NOTICE_FILES/src//system/bin/ami304d.txt
- Install: out/target/product/fise8735_6tb_l1/system/bin/ami304d
- Export includes file: art/sigchainlib/Android.mk -- out/target/product/fise8735_6tb_l1/obj_ARM/STATIC_LIBRARIES/libsigchain_intermediates/export_includes
- Import includes file: out/target/product/fise8735_6tb_l1/obj_arm/EXECUTABLES/app_process_intermediates/import_includes
- target thumb C++: app_process_32 <= frameworks/base/cmds/app_process/app_main.cpp
- frameworks/base/cmds/app_process/app_main.cpp:100:18: warning: unused parameter 'code' [-Wunused-parameter]
- virtual void onExit(int code)
- ^
- Import includes file: out/target/product/fise8735_6tb_l1/obj_arm/STATIC_LIBRARIES/libsigchain_intermediates/import_includes
- target thumb C++: libsigchain_32 <= art/sigchainlib/sigchain.cc
- target StaticLib: libsigchain_32 (out/target/product/fise8735_6tb_l1/obj_arm/STATIC_LIBRARIES/libsigchain_intermediates/libsigchain.a)
- target Executable: app_process_32 (out/target/product/fise8735_6tb_l1/obj_arm/EXECUTABLES/app_process_intermediates/LINKED/app_process32)
- target Symbolic: app_process_32 (out/target/product/fise8735_6tb_l1/symbols/system/bin/app_process32)
- Export includes file: frameworks/base/cmds/app_process/Android.mk -- out/target/product/fise8735_6tb_l1/obj_arm/EXECUTABLES/app_process_intermediates/export_includes
- target Strip: app_process_32 (out/target/product/fise8735_6tb_l1/obj_arm/EXECUTABLES/app_process_intermediates/app_process32)
- Notice file: frameworks/base/cmds/app_process/NOTICE -- out/target/product/fise8735_6tb_l1/obj/NOTICE_FILES/src//system/bin/app_process32.txt
- Install: out/target/product/fise8735_6tb_l1/system/bin/app_process32
- Symlink: out/target/product/fise8735_6tb_l1/system/bin/app_process -> app_process64
- Export includes file: art/sigchainlib/Android.mk -- out/target/product/fise8735_6tb_l1/obj/STATIC_LIBRARIES/libsigchain_intermediates/export_includes
- Import includes file: out/target/product/fise8735_6tb_l1/obj/EXECUTABLES/app_process_intermediates/import_includes
- target C++: app_process <= frameworks/base/cmds/app_process/app_main.cpp
- frameworks/base/cmds/app_process/app_main.cpp:100:29: warning: unused parameter 'code' [-Wunused-parameter]
- virtual void onExit(int code)
- ^
- Import includes file: out/target/product/fise8735_6tb_l1/obj/STATIC_LIBRARIES/libsigchain_intermediates/import_includes
- target C++: libsigchain <= art/sigchainlib/sigchain.cc
- target StaticLib: libsigchain (out/target/product/fise8735_6tb_l1/obj/STATIC_LIBRARIES/libsigchain_intermediates/libsigchain.a)
- target Executable: app_process (out/target/product/fise8735_6tb_l1/obj/EXECUTABLES/app_process_intermediates/LINKED/app_process64)
- /home/gdvictor/workspacecopy/alps8735_L1.MP3.V2.31/alps8735_L1/prebuilts/gcc/linux-x86/aarch64/cit-aarch64-linux-android-4.9/bin/../lib/gcc/aarch64-linux-android/4.9.x-google/../../../../aarch64-linux-android/bin/ld: warning: libvcodec_utility.so, needed by out/target/product/fise8735_6tb_l1/obj/lib/libvcodecdrv.so, not found (try using -rpath or -rpath-link)
- out/target/product/fise8735_6tb_l1/obj/lib/libvcodecdrv.so: undefined reference to `eVideoMEMSet'
- out/target/product/fise8735_6tb_l1/obj/lib/libvcodecdrv.so: undefined reference to `eVideoLockHW'
- out/target/product/fise8735_6tb_l1/obj/lib/libvcodecdrv.so: undefined reference to `eHalEMICtrlForRecordSize'
- out/target/product/fise8735_6tb_l1/obj/lib/libvcodecdrv.so: undefined reference to `eValInit'
- out/target/product/fise8735_6tb_l1/obj/lib/libvcodecdrv.so: undefined reference to `eHaLCMdProc'
- out/target/product/fise8735_6tb_l1/obj/lib/libvcodecdrv.so: undefined reference to `eHalDeInit'
- out/target/product/fise8735_6tb_l1/obj/lib/libvcodecdrv.so: undefined reference to `eHalGetMMAP'
- out/target/product/fise8735_6tb_l1/obj/lib/libvcodecdrv.so: undefined reference to `eVideoMemFree'
- out/target/product/fise8735_6tb_l1/obj/lib/libvcodecdrv.so: undefined reference to `eVideoMemAlloc'
- out/target/product/fise8735_6tb_l1/obj/lib/libvcodecdrv.so: undefined reference to `eVideoMeMCPy'
- out/target/product/fise8735_6tb_l1/obj/lib/libvcodecdrv.so: undefined reference to `eValDeInit'
- out/target/product/fise8735_6tb_l1/obj/lib/libvcodecdrv.so: undefined reference to `eVideoGetParam'
- out/target/product/fise8735_6tb_l1/obj/lib/libvcodecdrv.so: undefined reference to `WaitISR'
- out/target/product/fise8735_6tb_l1/obj/lib/libvcodecdrv.so: undefined reference to `eVideoSetParam'
- out/target/product/fise8735_6tb_l1/obj/lib/libvcodecdrv.so: undefined reference to `eVideoUnLockHW'
- out/target/product/fise8735_6tb_l1/obj/lib/libvcodecdrv.so: undefined reference to `eHalInit'
- out/target/product/fise8735_6tb_l1/obj/lib/libvcodecdrv.so: undefined reference to `eVideoInvalidateCache'
- out/target/product/fise8735_6tb_l1/obj/lib/libvcodecdrv.so: undefined reference to `eVideoFlushCache'
- collect2: error: ld returned 1 exit status
- make: *** [out/target/product/fise8735_6tb_l1/obj/EXECUTABLES/app_process_intermediates/LINKED/app_process64] Error 1
下面是内核配置文件中关于传感器的配置
- CONFIG_mtk_AKM09911_NEW=y
- CONFIG_MTK_ITG1010_NEW=y
- CONFIG_MTK_SENSOR_SUPPORT=y
- CONFIG_CUSTOM_KERNEL_MAGNETOMETER=y
- CONFIG_CUSTOM_KERNEL_GYROSCOPE=y
- CONFIG_MTK_AKM09911_NEW=y
- CONFIG_MTK_ITG1010_NEW=y
:(:(请问有朋友可以一起讨论一下吗?
顶顶顶,是不是配置没有加全啊?
我找了很久,projectconfig.mk中也查过,可是都是一样的
还有其他地方要加啊 kconfig makefile 等 几个文件都要加的
这些地方已经修改和添加过了
解决了,是驱动上的问题
你好,请问下你说的驱动上的问题是怎么回事呢?我这边也遇到类似的问题。
结贴质量不行啊,解决了就没后续了