Why Copied Yocto Cross Toolchain Not Work
2015-12-17 15:41
357 查看
Why Copied Yocto Cross Toolchain Not Work
Table of Contents
1. problem description2. analysis
2.1. install source check
2.2. cross tool header check
3. solution
1 problem description
When I copied yocto cross toolchain from colleague, and test it as below:$ cd i686-pokysdk-linux/usr/bin/arm-poky-linux-gnueabi$ $ ./arm-poky-linux-gnueabi-gcc bash: ./arm-poky-linux-gnueabi-gcc: No such file or directory
2 analysis
2.1 install source check
My colleague installed the toolchain by using his generated SDK shell.poky-glibc-i686-fsl-image-gui-cortexa7hf-vfp-neon-toolchain-1.8.sh
2.2 cross tool header check
$ head -1 ./arm-poky-linux-gnueabi-gcc ELF��4H� 4 (44�4� TT�T���ܝ ܝ � lz�� �)�)��TT�T�DD� P�td� l"l"Q�td/opt/poky/self-yocto-sdk-1.8/sysroots/i686-pokysdk-linux/lib/ld-linux.so.2GNU GNUr�3"��0D7 b?Ѷ���2&��P!��@ ������ QgJĹ�@�4���Bm���ݣk���|gUaS'�p����K���{ƥF��ʼn�"d ��}\ ]�s�n��[��z5"&/����Bs�I�i��h�H}PX' ]p�������u������Oa�{C# ���������-�b���!�:�AU9���2����I�6 ��u���+J ��P��z-O�U���Bd3�H3�@3
We can see the cross tool's header contains my colleague's cross tool path info, which not exist on my machine!!!
3 solution
install it by using the SDK shell.相关文章推荐
- main函数的参数
- Could not launch “XXXX” process launch failed: Security
- HibernateException: Could not obtain transaction-synchronized Session for current thread
- LeetCode Container With Most Water
- db2 优化基础 打开EXPLAIN
- “Could not find a storyboard named 'MainStoryboard' in bundle NSBundle” 的问题。
- You have new mail in /var/spool/mail/root 解决方法
- retain、copy、mutableCopy的区别(深拷贝 浅拷贝)
- poj 1273 Drainage Ditches
- 安卓开发之安卓AIDL的使用
- 安装并运行apk时出现恼人的"Error: Activity class {xxx/xxx.MainActivity} does not exist."
- wait,notify,notifyAll详细介绍
- GCD Again(杭电oj1787)(欧拉函数)
- JetBrains PyCharm 4.0.4 key
- Keepailved详细介绍
- SVN commit:remains in tree-conflict解决方案
- Raphael的Braille例子
- svn Aborting commit: 'XXX' remains in conflict 错误
- AIX下采用dd方式进行数据迁移的过程,供参考
- available()方法的讲解 .