天嵌 ARM开发社区

 找回密码
 注册
查看: 6213|回复: 18

编译Kernel_3.0.8出错打补丁之前和打补丁之后都是一样的错误

[复制链接]
☆Mleaf☆ 发表于 2013-5-21 21:36:21 | 显示全部楼层 |阅读模式
本帖最后由 ☆Mleaf☆ 于 2013-5-27 19:32 编辑

  CC      drivers/media/video/samsung/tv20/s5pv210/hdmi_s5pv210.o
  CC      drivers/media/video/samsung/tv20/s5pv210/sdout_s5pv210.o
  CC      drivers/media/video/samsung/tv20/s5pv210/tv_power_s5pv210.o
  CC      drivers/media/video/samsung/tv20/s5pv210/vmixer_s5pv210.o
  CC      drivers/media/video/samsung/tv20/s5pv210/vprocessor_s5pv210.o
  CC      drivers/media/video/samsung/tv20/s5p_stda_tvout_if.o
  CC      drivers/media/video/samsung/tv20/s5p_stda_grp.o
drivers/media/video/samsung/tv20/s5p_stda_grp.c: In function 's5ptvfb_set_par':
drivers/media/video/samsung/tv20/s5p_stda_grp.c:598:12: error: lvalue required as left operand of assignment
make[5]: *** [drivers/media/video/samsung/tv20/s5p_stda_grp.o] 错误 1
make[4]: *** [drivers/media/video/samsung/tv20] 错误 2
make[3]: *** [drivers/media/video/samsung] 错误 2
make[2]: *** [drivers/media/video] 错误 2
make[1]: *** [drivers/media] 错误 2
make: *** [drivers] 错误 2

TQ-lkp 发表于 2013-5-22 08:53:17 | 显示全部楼层
没有拷贝配置单吧
 楼主| ☆Mleaf☆ 发表于 2013-5-22 09:09:30 | 显示全部楼层
TQ-lkp 发表于 2013-5-22 08:53
没有拷贝配置单吧

拷贝了的是这样的吧?  cp -f config_for_TQ210_Android_v1.2_CoreB .config
 楼主| ☆Mleaf☆ 发表于 2013-5-22 09:14:56 | 显示全部楼层
TQ-lkp 发表于 2013-5-22 08:53
没有拷贝配置单吧

还有我是ROOT帐号登录的为啥编译文件系统的时候提示权限不够呢?
root@ubuntu:/media/root/work/TQ210/TQ210_Android_4.0.4/opt/EmbedSky/TQ210/TQ210_Android_4.0.4_V1.1# ls
abi                     device      prebuilt
bionic                  docs        sdk
bootable                external    setenv
build                   frameworks  system
build_coreB_android.sh  hardware    TQ210_Android_4.0.4_v1.0_v1.1.patch
build_coreC_android.sh  libcore     v8.log
cts                     Makefile    vendor
dalvik                  ndk
development             packages
root@ubuntu:/media/root/work/TQ210/TQ210_Android_4.0.4/opt/EmbedSky/TQ210/TQ210_Android_4.0.4_V1.1# ./build_coreB_android.sh
bash: ./build_coreB_android.sh: 权限不够
root@ubuntu:/media/root/work/TQ210/TQ210_Android_4.0.4/opt/EmbedSky/TQ210/TQ210_Android_4.0.4_V1.1#
亚瑟王 发表于 2013-5-22 09:56:57 | 显示全部楼层
☆Mleaf☆ 发表于 2013-5-22 09:14
还有我是ROOT帐号登录的为啥编译文件系统的时候提示权限不够呢?
root@ubuntu:/media/root/work/TQ210/T ...

亲,使用命令ll build_coreB_android.sh,看一下这个文件的权限吧。
 楼主| ☆Mleaf☆ 发表于 2013-5-22 10:08:37 | 显示全部楼层
亚瑟王 发表于 2013-5-22 09:56
亲,使用命令ll build_coreB_android.sh,看一下这个文件的权限吧。

查看了的呢,ROOT账户能读写撒
root@ubuntu:/media/root/work/TQ210/TQ210_Android_4.0.4/opt/EmbedSky/TQ210/TQ210_Android_4.0.4_V1.1# ll build_coreB_android.sh
-rw-r--r-- 1 root root 2387  5月 21 16:34 build_coreB_android.sh
亚瑟王 发表于 2013-5-22 10:17:39 | 显示全部楼层
☆Mleaf☆ 发表于 2013-5-22 10:08
查看了的呢,ROOT账户能读写撒
root@ubuntu:/media/root/work/TQ210/TQ210_Android_4.0.4/opt/EmbedSky/ ...

给它可执行的权限。
命令:chmod 777 build_coreB_android.sh
 楼主| ☆Mleaf☆ 发表于 2013-5-22 10:19:20 | 显示全部楼层
亚瑟王 发表于 2013-5-22 10:17
给它可执行的权限。
命令:chmod 777 build_coreB_android.sh

嗯,现在可以了,谢谢啦!第一个问题帮我看看如何解决呀,内核打补丁前编译也是这个错误
 楼主| ☆Mleaf☆ 发表于 2013-5-22 10:38:20 | 显示全部楼层
文件系统也出问题了
frameworks/base/include/utils/KeyedVector.h: In instantiation of ‘const VALUE& android::DefaultKeyedVector<KEY, VALUE>::valueFor(const KEY&) const [with KEY = android::String8; VALUE = android::sp<AaptSymbols>]’:
frameworks/base/tools/aapt/AaptAssets.h:446:59:   required from here
frameworks/base/include/utils/KeyedVector.h:193:31: 错误: ‘indexOfKey’ was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
frameworks/base/include/utils/KeyedVector.h:193:31: 附注: declarations in dependent base ‘android::KeyedVector<android::String8, android::sp<AaptSymbols> >’ are not found by unqualified lookup
frameworks/base/include/utils/KeyedVector.h:193:31: 附注: use ‘this->indexOfKey’ instead
frameworks/base/include/utils/KeyedVector.h: In instantiation of ‘const VALUE& android::DefaultKeyedVector<KEY, VALUE>::valueFor(const KEY&) const [with KEY = android::String16; VALUE = unsigned int]’:
frameworks/base/tools/aapt/ResourceTable.h:485:100:   required from here
frameworks/base/include/utils/KeyedVector.h:193:31: 错误: ‘indexOfKey’ was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
frameworks/base/include/utils/KeyedVector.h:193:31: 附注: declarations in dependent base ‘android::KeyedVector<android::String16, unsigned int>’ are not found by unqualified lookup
frameworks/base/include/utils/KeyedVector.h:193:31: 附注: use ‘this->indexOfKey’ instead
frameworks/base/include/utils/KeyedVector.h: In instantiation of ‘const VALUE& android::DefaultKeyedVector<KEY, VALUE>::valueFor(const KEY&) const [with KEY = android::String16; VALUE = android::sp<ResourceTable::Package>]’:
frameworks/base/tools/aapt/ResourceTable.cpp:1722:51:   required from here
frameworks/base/include/utils/KeyedVector.h:193:31: 错误: ‘indexOfKey’ was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
frameworks/base/include/utils/KeyedVector.h:193:31: 附注: declarations in dependent base ‘android::KeyedVector<android::String16, android::sp<ResourceTable::Package> >’ are not found by unqualified lookup
frameworks/base/include/utils/KeyedVector.h:193:31: 附注: use ‘this->indexOfKey’ instead
frameworks/base/include/utils/KeyedVector.h: In instantiation of ‘const VALUE& android::DefaultKeyedVector<KEY, VALUE>::valueFor(const KEY&) const [with KEY = android::String16; VALUE = android::sp<ResourceTable::Type>]’:
frameworks/base/tools/aapt/ResourceTable.cpp:1724:53:   required from here
frameworks/base/include/utils/KeyedVector.h:193:31: 错误: ‘indexOfKey’ was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
frameworks/base/include/utils/KeyedVector.h:193:31: 附注: declarations in dependent base ‘android::KeyedVector<android::String16, android::sp<ResourceTable::Type> >’ are not found by unqualified lookup
frameworks/base/include/utils/KeyedVector.h:193:31: 附注: use ‘this->indexOfKey’ instead
frameworks/base/include/utils/KeyedVector.h: In instantiation of ‘const VALUE& android::DefaultKeyedVector<KEY, VALUE>::valueFor(const KEY&) const [with KEY = android::String16; VALUE = android::sp<ResourceTable::ConfigList>]’:
frameworks/base/tools/aapt/ResourceTable.cpp:1819:62:   required from here
frameworks/base/include/utils/KeyedVector.h:193:31: 错误: ‘indexOfKey’ was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
frameworks/base/include/utils/KeyedVector.h:193:31: 附注: declarations in dependent base ‘android::KeyedVector<android::String16, android::sp<ResourceTable::ConfigList> >’ are not found by unqualified lookup
frameworks/base/include/utils/KeyedVector.h:193:31: 附注: use ‘this->indexOfKey’ instead
frameworks/base/include/utils/KeyedVector.h: In instantiation of ‘const VALUE& android::DefaultKeyedVector<KEY, VALUE>::valueFor(const KEY&) const [with KEY = ResourceTable::ConfigDescription; VALUE = android::sp<ResourceTable::Entry>]’:
frameworks/base/tools/aapt/ResourceTable.cpp:1847:62:   required from here
frameworks/base/include/utils/KeyedVector.h:193:31: 错误: ‘indexOfKey’ was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
frameworks/base/include/utils/KeyedVector.h:193:31: 附注: declarations in dependent base ‘android::KeyedVector<ResourceTable::ConfigDescription, android::sp<ResourceTable::Entry> >’ are not found by unqualified lookup
frameworks/base/include/utils/KeyedVector.h:193:31: 附注: use ‘this->indexOfKey’ instead
make: *** [out/host/linux-x86/obj/EXECUTABLES/aapt_intermediates/ResourceTable.o] 错误 1
root@ubuntu:/media/root/work/TQ210/TQ210_Android_4.0.4/opt/EmbedSky/TQ210/TQ210_Android_4.0.4_V1.1#
亚瑟王 发表于 2013-5-22 10:41:04 | 显示全部楼层
☆Mleaf☆ 发表于 2013-5-22 10:19
嗯,现在可以了,谢谢啦!第一个问题帮我看看如何解决呀,内核打补丁前编译也是这个错误

内核出错的问题,我很怀疑你修改过内核的源码才导致内核补丁打不上的。
亚瑟王 发表于 2013-5-22 10:41:41 | 显示全部楼层
☆Mleaf☆ 发表于 2013-5-22 10:38
文件系统也出问题了
frameworks/base/include/utils/KeyedVector.h: In instantiation of ‘const VALUE&  ...

这个错误就更奇怪了,补丁中根本没有修改这些源码的。
 楼主| ☆Mleaf☆ 发表于 2013-5-22 10:43:06 | 显示全部楼层
本帖最后由 ☆Mleaf☆ 于 2013-5-22 10:43 编辑
亚瑟王 发表于 2013-5-22 10:41
这个错误就更奇怪了,补丁中根本没有修改这些源码的。

真没有,直接解压就打的补丁,补丁能打上的
亚瑟王 发表于 2013-5-22 10:57:14 | 显示全部楼层
☆Mleaf☆ 发表于 2013-5-22 10:43
真没有,直接解压就打的补丁,补丁能打上的

内核打补丁的时候有没有出错?
Android平台的补丁有没有出错?
 楼主| ☆Mleaf☆ 发表于 2013-5-22 11:06:41 | 显示全部楼层
本帖最后由 ☆Mleaf☆ 于 2013-5-22 11:07 编辑
亚瑟王 发表于 2013-5-22 10:57
内核打补丁的时候有没有出错?
Android平台的补丁有没有出错?

光盘里的源码打补丁都没出错的,是不是我光盘里源码有问题?我在网盘里下载的源码打补丁会出错。你们能不能传一份能编译的源码在网盘里呀?
天嵌_support1 发表于 2013-5-22 13:52:59 | 显示全部楼层
源码资料什么的要找销售要
您需要登录后才可以回帖 登录 | 注册

本版积分规则

关闭

i.MX8系列ARM cortex A53 M4 工控板上一条 /1 下一条

Archiver|手机版|小黑屋|天嵌 嵌入式开发社区 ( 粤ICP备11094220号 )

GMT+8, 2024-5-19 13:19 , Processed in 1.046875 second(s), 22 queries .

Powered by Discuz! X3.4

Copyright © 2001-2020, Tencent Cloud.

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