微波EDA网,见证研发工程师的成长!
首页 > 研发问答 > 手机设计讨论 > MTK手机平台交流 > mt6735平台,添加了sensor驱动程序编译报错,请大家帮忙看看是什么问题!

mt6735平台,添加了sensor驱动程序编译报错,请大家帮忙看看是什么问题!

时间:10-02 整理:3721RD 点击:
最近将G-sensor M-sensor 的驱动加入后一直编译不通过,请大家帮忙看看是什么问题,谢谢!

  1. target  C: libunz <= external/zlib/src/compress.c
  2. target  C: libunz <= external/zlib/src/crc32.c
  3. target  C: libunz <= external/zlib/src/deflate.c
  4. target  C: libunz <= external/zlib/src/gzclose.c
  5. target  C: libunz <= external/zlib/src/gzlib.c
  6. target  C: libunz <= external/zlib/src/gzread.c
  7. target  C: libunz <= external/zlib/src/gzwrite.c
  8. target  C: libunz <= external/zlib/src/infback.c
  9. target  C: libunz <= external/zlib/src/inflate.c
  10. target  C: libunz <= external/zlib/src/inftrees.c
  11. target  C: libunz <= external/zlib/src/inffast.c
  12. target  C: libunz <= external/zlib/src/trees.c
  13. target  C: libunz <= external/zlib/src/uncompr.c
  14. target  C: libunz <= external/zlib/src/zutil.c
  15. target StatiCLIb: libunz (out/target/product/fise8735_6tb_l1/obj/STATIC_LIBRARIES/libunz_intermediates/libunz.a)
  16. target Executable: adb (out/target/product/fise8735_6tb_l1/obj/EXECUTABLES/adb_intermediates/LINKED/adb)
  17. target Symbolic: adb (out/target/product/fise8735_6tb_l1/symbols/system/bin/adb)
  18. Export includes file: system/core/adb/android.mk -- out/target/product/fise8735_6tb_l1/obj/EXECUTABLES/adb_intermediates/export_includes
  19. target Strip: adb (out/target/product/fise8735_6tb_l1/obj/EXECUTABLES/adb_intermediates/adb)
  20. Notice file: system/core/adb/NOTICE -- out/target/product/fise8735_6tb_l1/obj/NOTICE_FILES/src//system/bin/adb.txt
  21. Notice file: system/core/libzipfile/NOTICE -- out/target/product/fise8735_6tb_l1/obj/NOTICE_FILES/src//system/lib64/libzipfile.a.txt
  22. Notice file: system/core/libzipfile/NOTICE -- out/target/product/fise8735_6tb_l1/obj/NOTICE_FILES/src//system/lib/libzipfile.a.txt
  23. Notice file: external/zlib/NOTICE -- out/target/product/fise8735_6tb_l1/obj/NOTICE_FILES/src//system/lib64/libunz.a.txt
  24. Notice file: external/zlib/NOTICE -- out/target/product/fise8735_6tb_l1/obj/NOTICE_FILES/src//system/lib/libunz.a.txt
  25. Install: out/target/product/fise8735_6tb_l1/system/bin/adb
  26. target Prebuilt: aee (out/target/product/fise8735_6tb_l1/obj/EXECUTABLES/aee_intermediates/aee)
  27. Notice file: vendor/mediatek/proprietary/external/aee/binary/NOTICE -- out/target/product/fise8735_6tb_l1/obj/NOTICE_FILES/src//system/bin/aee.txt
  28. Install: out/target/product/fise8735_6tb_l1/system/bin/aee
  29. target Prebuilt: aee_archive (out/target/product/fise8735_6tb_l1/obj/EXECUTABLES/aee_archive_intermediates/aee_archive)
  30. Notice file: vendor/mediatek/proprietary/external/aee/binary/NOTICE -- out/target/product/fise8735_6tb_l1/obj/NOTICE_FILES/src//system/bin/aee_archive.txt
  31. Install: out/target/product/fise8735_6tb_l1/system/bin/aee_archive
  32. target Prebuilt: aee_core_forwarder (out/target/product/fise8735_6tb_l1/obj/EXECUTABLES/aee_core_forwarder_intermediates/aee_core_forwarder)
  33. 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
  34. Install: out/target/product/fise8735_6tb_l1/system/bin/aee_core_forwarder
  35. target Prebuilt: aee_dumpstate (out/target/product/fise8735_6tb_l1/obj/EXECUTABLES/aee_dumpstate_intermediates/aee_dumpstate)
  36. Notice file: vendor/mediatek/proprietary/external/aee/binary/NOTICE -- out/target/product/fise8735_6tb_l1/obj/NOTICE_FILES/src//system/bin/aee_dumpstate.txt
  37. Install: out/target/product/fise8735_6tb_l1/system/bin/aee_dumpstate
  38. target Prebuilt: akmd09911 (out/target/product/fise8735_6tb_l1/obj/EXECUTABLES/akmd09911_intermediates/akmd09911)
  39. Notice file: vendor/fise/libs/fise8735_6tb_l1/akmd09911/NOTICE -- out/target/product/fise8735_6tb_l1/obj/NOTICE_FILES/src//system/bin/akmd09911.txt
  40. Install: out/target/product/fise8735_6tb_l1/system/bin/akmd09911
  41. target Prebuilt: akmd8963 (out/target/product/fise8735_6tb_l1/obj/EXECUTABLES/akmd8963_intermediates/akmd8963)
  42. Notice file: vendor/fise/libs/fise8735_6tb_l1/akmd8963/NOTICE -- out/target/product/fise8735_6tb_l1/obj/NOTICE_FILES/src//system/bin/akmd8963.txt
  43. Install: out/target/product/fise8735_6tb_l1/system/bin/akmd8963
  44. target Prebuilt: akmd8975 (out/target/product/fise8735_6tb_l1/obj/EXECUTABLES/akmd8975_intermediates/akmd8975)
  45. Notice file: vendor/fise/libs/fise8735_6tb_l1/akmd8975/NOTICE -- out/target/product/fise8735_6tb_l1/obj/NOTICE_FILES/src//system/bin/akmd8975.txt
  46. Install: out/target/product/fise8735_6tb_l1/system/bin/akmd8975
  47. target Prebuilt: am (out/target/product/fise8735_6tb_l1/obj/EXECUTABLES/am_intermediates/am)
  48. 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
  49. Install: out/target/product/fise8735_6tb_l1/system/bin/am
  50. target Prebuilt: ami304d (out/target/product/fise8735_6tb_l1/obj/EXECUTABLES/ami304d_intermediates/ami304d)
  51. Notice file: vendor/fise/libs/fise8735_6tb_l1/ami304d/NOTICE -- out/target/product/fise8735_6tb_l1/obj/NOTICE_FILES/src//system/bin/ami304d.txt
  52. Install: out/target/product/fise8735_6tb_l1/system/bin/ami304d
  53. Export includes file: art/sigchainlib/Android.mk -- out/target/product/fise8735_6tb_l1/obj_ARM/STATIC_LIBRARIES/libsigchain_intermediates/export_includes
  54. Import includes file: out/target/product/fise8735_6tb_l1/obj_arm/EXECUTABLES/app_process_intermediates/import_includes
  55. target thumb C++: app_process_32 <= frameworks/base/cmds/app_process/app_main.cpp
  56. frameworks/base/cmds/app_process/app_main.cpp:100:18: warning: unused parameter 'code' [-Wunused-parameter]
  57.      virtual void onExit(int code)
  58.                   ^
  59. Import includes file: out/target/product/fise8735_6tb_l1/obj_arm/STATIC_LIBRARIES/libsigchain_intermediates/import_includes
  60. target thumb C++: libsigchain_32 <= art/sigchainlib/sigchain.cc
  61. target StaticLib: libsigchain_32 (out/target/product/fise8735_6tb_l1/obj_arm/STATIC_LIBRARIES/libsigchain_intermediates/libsigchain.a)
  62. target Executable: app_process_32 (out/target/product/fise8735_6tb_l1/obj_arm/EXECUTABLES/app_process_intermediates/LINKED/app_process32)
  63. target Symbolic: app_process_32 (out/target/product/fise8735_6tb_l1/symbols/system/bin/app_process32)
  64. Export includes file: frameworks/base/cmds/app_process/Android.mk -- out/target/product/fise8735_6tb_l1/obj_arm/EXECUTABLES/app_process_intermediates/export_includes
  65. target Strip: app_process_32 (out/target/product/fise8735_6tb_l1/obj_arm/EXECUTABLES/app_process_intermediates/app_process32)
  66. Notice file: frameworks/base/cmds/app_process/NOTICE -- out/target/product/fise8735_6tb_l1/obj/NOTICE_FILES/src//system/bin/app_process32.txt
  67. Install: out/target/product/fise8735_6tb_l1/system/bin/app_process32
  68. Symlink: out/target/product/fise8735_6tb_l1/system/bin/app_process -> app_process64
  69. Export includes file: art/sigchainlib/Android.mk -- out/target/product/fise8735_6tb_l1/obj/STATIC_LIBRARIES/libsigchain_intermediates/export_includes
  70. Import includes file: out/target/product/fise8735_6tb_l1/obj/EXECUTABLES/app_process_intermediates/import_includes
  71. target  C++: app_process <= frameworks/base/cmds/app_process/app_main.cpp
  72. frameworks/base/cmds/app_process/app_main.cpp:100:29: warning: unused parameter 'code' [-Wunused-parameter]
  73.      virtual void onExit(int code)
  74.                              ^
  75. Import includes file: out/target/product/fise8735_6tb_l1/obj/STATIC_LIBRARIES/libsigchain_intermediates/import_includes
  76. target  C++: libsigchain <= art/sigchainlib/sigchain.cc
  77. target StaticLib: libsigchain (out/target/product/fise8735_6tb_l1/obj/STATIC_LIBRARIES/libsigchain_intermediates/libsigchain.a)
  78. target Executable: app_process (out/target/product/fise8735_6tb_l1/obj/EXECUTABLES/app_process_intermediates/LINKED/app_process64)
  79. /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)
  80. out/target/product/fise8735_6tb_l1/obj/lib/libvcodecdrv.so: undefined reference to `eVideoMEMSet'
  81. out/target/product/fise8735_6tb_l1/obj/lib/libvcodecdrv.so: undefined reference to `eVideoLockHW'
  82. out/target/product/fise8735_6tb_l1/obj/lib/libvcodecdrv.so: undefined reference to `eHalEMICtrlForRecordSize'
  83. out/target/product/fise8735_6tb_l1/obj/lib/libvcodecdrv.so: undefined reference to `eValInit'
  84. out/target/product/fise8735_6tb_l1/obj/lib/libvcodecdrv.so: undefined reference to `eHaLCMdProc'
  85. out/target/product/fise8735_6tb_l1/obj/lib/libvcodecdrv.so: undefined reference to `eHalDeInit'
  86. out/target/product/fise8735_6tb_l1/obj/lib/libvcodecdrv.so: undefined reference to `eHalGetMMAP'
  87. out/target/product/fise8735_6tb_l1/obj/lib/libvcodecdrv.so: undefined reference to `eVideoMemFree'
  88. out/target/product/fise8735_6tb_l1/obj/lib/libvcodecdrv.so: undefined reference to `eVideoMemAlloc'
  89. out/target/product/fise8735_6tb_l1/obj/lib/libvcodecdrv.so: undefined reference to `eVideoMeMCPy'
  90. out/target/product/fise8735_6tb_l1/obj/lib/libvcodecdrv.so: undefined reference to `eValDeInit'
  91. out/target/product/fise8735_6tb_l1/obj/lib/libvcodecdrv.so: undefined reference to `eVideoGetParam'
  92. out/target/product/fise8735_6tb_l1/obj/lib/libvcodecdrv.so: undefined reference to `WaitISR'
  93. out/target/product/fise8735_6tb_l1/obj/lib/libvcodecdrv.so: undefined reference to `eVideoSetParam'
  94. out/target/product/fise8735_6tb_l1/obj/lib/libvcodecdrv.so: undefined reference to `eVideoUnLockHW'
  95. out/target/product/fise8735_6tb_l1/obj/lib/libvcodecdrv.so: undefined reference to `eHalInit'
  96. out/target/product/fise8735_6tb_l1/obj/lib/libvcodecdrv.so: undefined reference to `eVideoInvalidateCache'
  97. out/target/product/fise8735_6tb_l1/obj/lib/libvcodecdrv.so: undefined reference to `eVideoFlushCache'
  98. collect2: error: ld returned 1 exit status
  99. make: *** [out/target/product/fise8735_6tb_l1/obj/EXECUTABLES/app_process_intermediates/LINKED/app_process64] Error 1

复制代码


下面是内核配置文件中关于传感器的配置

  1. CONFIG_mtk_AKM09911_NEW=y

复制代码

  1. CONFIG_MTK_ITG1010_NEW=y

复制代码

  1. CONFIG_MTK_SENSOR_SUPPORT=y

复制代码

  1. CONFIG_CUSTOM_KERNEL_MAGNETOMETER=y

复制代码

  1. CONFIG_CUSTOM_KERNEL_GYROSCOPE=y

复制代码

如何注释掉这两句就可以编译通过

  1. CONFIG_MTK_AKM09911_NEW=y
  2. CONFIG_MTK_ITG1010_NEW=y

复制代码

请大家帮帮忙,分析分析!

:(:(请问有朋友可以一起讨论一下吗?

顶顶顶,是不是配置没有加全啊?

我找了很久,projectconfig.mk中也查过,可是都是一样的

还有其他地方要加啊 kconfig makefile 等 几个文件都要加的

这些地方已经修改和添加过了

解决了,是驱动上的问题

你好,请问下你说的驱动上的问题是怎么回事呢?我这边也遇到类似的问题。

结贴质量不行啊,解决了就没后续了

Copyright © 2017-2020 微波EDA网 版权所有

网站地图

Top