CubieBoard中文论坛

 找回密码
 立即注册
搜索
热搜: unable
查看: 6671|回复: 4

android添加开发工具类函数编译报错

[复制链接]
发表于 2015-10-26 18:20:54 | 显示全部楼层 |阅读模式
本帖最后由 xiaolonghun1 于 2015-10-26 18:22 编辑

root@xiaolonghun-virtual-machine:/home/xiaolonghun/cubieboard2_android_SDK_v1.03/android42# mmm external/iw/


============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=4.2.2
TARGET_PRODUCT=sugar_cubieboard2
TARGET_BUILD_VARIANT=eng
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
HOST_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-3.2.0-23-generic-x86_64-with-Ubuntu-12.04-precise
HOST_BUILD_TYPE=release
BUILD_ID=JDQ39
OUT_DIR=out
============================================
PRODUCT_COPY_FILES frameworks/base/data/sounds/effects/ogg/Effect_Tick.ogg:system/media/audio/ui/Effect_Tick.ogg ignored.
PRODUCT_COPY_FILES frameworks/base/data/sounds/effects/ogg/KeypressStandard_120.ogg:system/media/audio/ui/KeypressStandard.ogg ignored.
PRODUCT_COPY_FILES frameworks/base/data/sounds/effects/ogg/KeypressSpacebar_120.ogg:system/media/audio/ui/KeypressSpacebar.ogg ignored.
PRODUCT_COPY_FILES frameworks/base/data/sounds/effects/ogg/KeypressDelete_120.ogg:system/media/audio/ui/KeypressDelete.ogg ignored.
PRODUCT_COPY_FILES frameworks/base/data/sounds/effects/ogg/KeypressReturn_120.ogg:system/media/audio/ui/KeypressReturn.ogg ignored.
PRODUCT_COPY_FILES frameworks/base/data/sounds/effects/ogg/VideoRecord.ogg:system/media/audio/ui/VideoRecord.ogg ignored.
PRODUCT_COPY_FILES frameworks/base/data/sounds/effects/ogg/camera_click.ogg:system/media/audio/ui/camera_click.ogg ignored.
PRODUCT_COPY_FILES frameworks/base/data/sounds/effects/ogg/LowBattery.ogg:system/media/audio/ui/LowBattery.ogg ignored.
PRODUCT_COPY_FILES frameworks/base/data/sounds/effects/ogg/Dock.ogg:system/media/audio/ui/Dock.ogg ignored.
PRODUCT_COPY_FILES frameworks/base/data/sounds/effects/ogg/Undock.ogg:system/media/audio/ui/Undock.ogg ignored.
PRODUCT_COPY_FILES frameworks/base/data/sounds/effects/ogg/Lock.ogg:system/media/audio/ui/Lock.ogg ignored.
PRODUCT_COPY_FILES frameworks/base/data/sounds/effects/ogg/Unlock.ogg:system/media/audio/ui/Unlock.ogg ignored.
make: Entering directory `/home/xiaolonghun/cubieboard2_android_SDK_v1.03/android42'
build/core/Makefile:32: warning: overriding commands for target `out/target/product/sugar-cubieboard2/system/lib'
build/core/Makefile:32: warning: ignoring old commands for target `out/target/product/sugar-cubieboard2/system/lib'
PRODUCT_COPY_FILES device/softwinner/wing-common/googleservice/gapps-jb-20130301-signed/system/tts/lang_pico/fr-FR_nk0_sg.bin:system/tts/lang_pico/fr-FR_nk0_sg.bin ignored.
PRODUCT_COPY_FILES device/softwinner/wing-common/googleservice/gapps-jb-20130301-signed/system/tts/lang_pico/fr-FR_ta.bin:system/tts/lang_pico/fr-FR_ta.bin ignored.
PRODUCT_COPY_FILES device/softwinner/wing-common/googleservice/gapps-jb-20130301-signed/system/tts/lang_pico/it-IT_cm0_sg.bin:system/tts/lang_pico/it-IT_cm0_sg.bin ignored.
PRODUCT_COPY_FILES device/softwinner/wing-common/googleservice/gapps-jb-20130301-signed/system/tts/lang_pico/de-DE_gl0_sg.bin:system/tts/lang_pico/de-DE_gl0_sg.bin ignored.
PRODUCT_COPY_FILES device/softwinner/wing-common/googleservice/gapps-jb-20130301-signed/system/tts/lang_pico/de-DE_ta.bin:system/tts/lang_pico/de-DE_ta.bin ignored.
PRODUCT_COPY_FILES device/softwinner/wing-common/googleservice/gapps-jb-20130301-signed/system/tts/lang_pico/es-ES_ta.bin:system/tts/lang_pico/es-ES_ta.bin ignored.
PRODUCT_COPY_FILES device/softwinner/wing-common/googleservice/gapps-jb-20130301-signed/system/tts/lang_pico/it-IT_ta.bin:system/tts/lang_pico/it-IT_ta.bin ignored.
PRODUCT_COPY_FILES device/softwinner/wing-common/googleservice/gapps-jb-20130301-signed/system/tts/lang_pico/es-ES_zl0_sg.bin:system/tts/lang_pico/es-ES_zl0_sg.bin ignored.
build/core/Makefile:32: warning: overriding commands for target `out/target/product/sugar-cubieboard2/system/app'
build/core/Makefile:32: warning: ignoring old commands for target `out/target/product/sugar-cubieboard2/system/app'
No private recovery resources for TARGET_DEVICE sugar-cubieboard2
build/core/main.mk:902: warning: overriding commands for target `clean'
external/iw/Makefile:127: warning: ignoring old commands for target `clean'
make: *** No rule to make target `out/target/product/sugar-cubieboard2/obj/lib/crtbegin_dynamic.o', needed by `out/target/product/sugar-cubieboard2/obj/EXECUTABLES/iw_intermediates/LINKED/iw'.  Stop.
make: Leaving directory `/home/xiaolonghun/cubieboard2_android_SDK_v1.03/android42'

之前好像有添加进入新功能模块的时候,就会报这个错误,但是我也解决了,虽然可以编译成功,
系统镜像烧写进去的时候,系统就启动不起来了。不知道具体是什么原因导致的。

你们有没有遇到过类似的这种情况。

git clone http://git.sipsolutions.net/iw.git 里面的那个工具类函数是这个路径下载下来的。



374034723@qq.com
回复

使用道具 举报

 楼主| 发表于 2015-10-26 20:43:17 | 显示全部楼层
out/target/product/sugar-cubieboard2/obj/lib/crtbegin_dynamic.o

不知道为什么那个源码里面,这个库是crtbegin_dynamic1.o的文件,我直接修改它的名称

然后可以通过mm -B 命令先暂时编译通过,不过具体的实际过程中不知道会不会出现错误就不知道了。

整体系统编译的话,会不会系统还会把这个库名称给改动回来。
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|Archiver|手机版|粤ICP备13051116号|cubie.cc---深刻的嵌入式技术讨论社区

GMT+8, 2024-11-22 20:19 , Processed in 0.020255 second(s), 15 queries .

Powered by Discuz! X3.4

© 2001-2012 Comsenz Inc. | Style by Coxxs

返回顶部