九鼎创展论坛中文版English
登录 | 立即注册 设为首页收藏本站 切换到宽版
查看: 3061|回复: 1
打印 上一主题 下一主题

android

[复制链接]
跳转到指定楼层
楼主
发表于 2017-7-5 09:27:04 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
supore@supore-X502CA:~/x4412$ ./mk -u -j=8
gcc -g -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -idirafter /home/supore/x4412/uboot/include -idirafter /home/supore/x4412/uboot/include2 -idirafter /home/supore/x4412/uboot/include -I /home/supore/x4412/uboot/lib/libfdt -I /home/supore/x4412/uboot/tools -DCONFIG_SYS_TEXT_BASE=0xc3e00000 -DUSE_HOSTCC -D__KERNEL_STRICT_NAMES -c -o image.o /home/supore/x4412/uboot/common/image.c
gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -idirafter /home/supore/x4412/uboot/include -idirafter /home/supore/x4412/uboot/include2 -idirafter /home/supore/x4412/uboot/include -I /home/supore/x4412/uboot/lib/libfdt -I /home/supore/x4412/uboot/tools -DCONFIG_SYS_TEXT_BASE=0xc3e00000 -DUSE_HOSTCC -D__KERNEL_STRICT_NAMES   -o imximage.o imximage.c -c
/home/supore/x4412/uboot/../prebuilt/linux-x86/toolchain/arm-2009q3/bin/arm-none-linux-gnueabi-objcopy -O srec hello_world hello_world.srec 2>/dev/null
gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -idirafter /home/supore/x4412/uboot/include -idirafter /home/supore/x4412/uboot/include2 -idirafter /home/supore/x4412/uboot/include -I /home/supore/x4412/uboot/lib/libfdt -I /home/supore/x4412/uboot/tools -DCONFIG_SYS_TEXT_BASE=0xc3e00000 -DUSE_HOSTCC -D__KERNEL_STRICT_NAMES   -o kwbimage.o kwbimage.c -c
/home/supore/x4412/uboot/../prebuilt/linux-x86/toolchain/arm-2009q3/bin/arm-none-linux-gnueabi-objcopy -O binary hello_world hello_world.bin 2>/dev/null
gcc -g -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -idirafter /home/supore/x4412/uboot/include -idirafter /home/supore/x4412/uboot/include2 -idirafter /home/supore/x4412/uboot/include -I /home/supore/x4412/uboot/lib/libfdt -I /home/supore/x4412/uboot/tools -DCONFIG_SYS_TEXT_BASE=0xc3e00000 -DUSE_HOSTCC -D__KERNEL_STRICT_NAMES -pedantic -c -o md5.o /home/supore/x4412/uboot/lib/md5.c
make[1]: Leaving directory `/home/supore/x4412/uboot/examples/standalone'
gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -idirafter /home/supore/x4412/uboot/include -idirafter /home/supore/x4412/uboot/include2 -idirafter /home/supore/x4412/uboot/include -I /home/supore/x4412/uboot/lib/libfdt -I /home/supore/x4412/uboot/tools -DCONFIG_SYS_TEXT_BASE=0xc3e00000 -DUSE_HOSTCC -D__KERNEL_STRICT_NAMES   -o mkimage.o mkimage.c -c
kwbimage.c: In function 'kwbimage_verify_header':
kwbimage.c:350:10: warning: variable 'calc_exthdrcsum' set but not used [-Wunused-but-set-variable]
/home/supore/x4412/uboot/lib/md5.c: In function 'MD5Final':
/home/supore/x4412/uboot/lib/md5.c:156:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
/home/supore/x4412/uboot/lib/md5.c:157:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -idirafter /home/supore/x4412/uboot/include -idirafter /home/supore/x4412/uboot/include2 -idirafter /home/supore/x4412/uboot/include -I /home/supore/x4412/uboot/lib/libfdt -I /home/supore/x4412/uboot/tools -DCONFIG_SYS_TEXT_BASE=0xc3e00000 -DUSE_HOSTCC -D__KERNEL_STRICT_NAMES   -o os_support.o os_support.c -c
gcc -g -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -idirafter /home/supore/x4412/uboot/include -idirafter /home/supore/x4412/uboot/include2 -idirafter /home/supore/x4412/uboot/include -I /home/supore/x4412/uboot/lib/libfdt -I /home/supore/x4412/uboot/tools -DCONFIG_SYS_TEXT_BASE=0xc3e00000 -DUSE_HOSTCC -D__KERNEL_STRICT_NAMES -pedantic -c -o sha1.o /home/supore/x4412/uboot/lib/sha1.c
gcc -g -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -idirafter /home/supore/x4412/uboot/include -idirafter /home/supore/x4412/uboot/include2 -idirafter /home/supore/x4412/uboot/include -I /home/supore/x4412/uboot/lib/libfdt -I /home/supore/x4412/uboot/tools -DCONFIG_SYS_TEXT_BASE=0xc3e00000 -DUSE_HOSTCC -D__KERNEL_STRICT_NAMES -c -o fdt.o /home/supore/x4412/uboot/lib/libfdt/fdt.c
gcc -g -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -idirafter /home/supore/x4412/uboot/include -idirafter /home/supore/x4412/uboot/include2 -idirafter /home/supore/x4412/uboot/include -I /home/supore/x4412/uboot/lib/libfdt -I /home/supore/x4412/uboot/tools -DCONFIG_SYS_TEXT_BASE=0xc3e00000 -DUSE_HOSTCC -D__KERNEL_STRICT_NAMES -c -o fdt_ro.o /home/supore/x4412/uboot/lib/libfdt/fdt_ro.c
gcc -g -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -idirafter /home/supore/x4412/uboot/include -idirafter /home/supore/x4412/uboot/include2 -idirafter /home/supore/x4412/uboot/include -I /home/supore/x4412/uboot/lib/libfdt -I /home/supore/x4412/uboot/tools -DCONFIG_SYS_TEXT_BASE=0xc3e00000 -DUSE_HOSTCC -D__KERNEL_STRICT_NAMES -c -o fdt_rw.o /home/supore/x4412/uboot/lib/libfdt/fdt_rw.c
gcc -g -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -idirafter /home/supore/x4412/uboot/include -idirafter /home/supore/x4412/uboot/include2 -idirafter /home/supore/x4412/uboot/include -I /home/supore/x4412/uboot/lib/libfdt -I /home/supore/x4412/uboot/tools -DCONFIG_SYS_TEXT_BASE=0xc3e00000 -DUSE_HOSTCC -D__KERNEL_STRICT_NAMES -c -o fdt_strerror.o /home/supore/x4412/uboot/lib/libfdt/fdt_strerror.c
gcc -g -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -idirafter /home/supore/x4412/uboot/include -idirafter /home/supore/x4412/uboot/include2 -idirafter /home/supore/x4412/uboot/include -I /home/supore/x4412/uboot/lib/libfdt -I /home/supore/x4412/uboot/tools -DCONFIG_SYS_TEXT_BASE=0xc3e00000 -DUSE_HOSTCC -D__KERNEL_STRICT_NAMES -c -o fdt_wip.o /home/supore/x4412/uboot/lib/libfdt/fdt_wip.c
gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -idirafter /home/supore/x4412/uboot/include -idirafter /home/supore/x4412/uboot/include2 -idirafter /home/supore/x4412/uboot/include -I /home/supore/x4412/uboot/lib/libfdt -I /home/supore/x4412/uboot/tools -DCONFIG_SYS_TEXT_BASE=0xc3e00000 -DUSE_HOSTCC -D__KERNEL_STRICT_NAMES -pedantic  -o gen_eth_addr gen_eth_addr.o
gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -idirafter /home/supore/x4412/uboot/include -idirafter /home/supore/x4412/uboot/include2 -idirafter /home/supore/x4412/uboot/include -I /home/supore/x4412/uboot/lib/libfdt -I /home/supore/x4412/uboot/tools -DCONFIG_SYS_TEXT_BASE=0xc3e00000 -DUSE_HOSTCC -D__KERNEL_STRICT_NAMES -pedantic  -o img2srec img2srec.o
strip gen_eth_addr
gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -idirafter /home/supore/x4412/uboot/include -idirafter /home/supore/x4412/uboot/include2 -idirafter /home/supore/x4412/uboot/include -I /home/supore/x4412/uboot/lib/libfdt -I /home/supore/x4412/uboot/tools -DCONFIG_SYS_TEXT_BASE=0xc3e00000 -DUSE_HOSTCC -D__KERNEL_STRICT_NAMES -pedantic  -o mkimage crc32.o default_image.o fit_image.o image.o imximage.o kwbimage.o md5.o mkimage.o os_support.o sha1.o fdt.o fdt_ro.o fdt_rw.o fdt_strerror.o fdt_wip.o
strip img2srec
strip mkimage
make[1]: Leaving directory `/home/supore/x4412/uboot/tools'
这是编译uboot提示的错误





In file included from external/gtest/src/../include/gtest/gtest-param-test.h:158:0,
                 from external/gtest/src/../include/gtest/gtest.h:69,
                 from external/gtest/src/gtest_main.cc:32:
external/gtest/src/../include/gtest/internal/gtest-param-util-generated.h: In instantiation of 'testing::internal::ValueArray2<T1, T2>:perator testing::internal:aramGenerator<T>() const [with T = bool; T1 = bool; T2 = bool]':
external/gtest/src/../include/gtest/gtest-param-test.h:1185:28:   required from here
external/gtest/src/../include/gtest/internal/gtest-param-util-generated.h:77:26: error: 'ValuesIn' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
In file included from external/gtest/src/../include/gtest/gtest.h:69:0,
                 from external/gtest/src/gtest_main.cc:32:
external/gtest/src/../include/gtest/gtest-param-test.h:287:58: note: 'template<class Container> testing::internal:aramGenerator<typename Container::value_type> testing::ValuesIn(const Container&)' declared here, later in the translation unit
host C++: libmtp <= frameworks/base/media/mtp/MtpProperty.cpp
make: *** [out/host/linux-x86/obj/STATIC_LIBRARIES/libgtest_main_host_intermediates/gtest_main.o] Error 1我已经按照网上的提示进行添加了
-fpermissive


但是没有效果、


谢谢帮助、
目前着急赶项目——希望尽快得到解决


本人qq:824256845
回复

使用道具 举报

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

本版积分规则

QQ|手机版|小黑屋|深圳市九鼎创展科技官方论坛 ( 粤ICP备11028681号-2  

GMT+8, 2024-11-23 10:38 , Processed in 0.020458 second(s), 16 queries .

Powered by Discuz! X3.2

© 2001-2013 Comsenz Inc.

快速回复 返回顶部 返回列表