用ti-sdk-am335x-evm-05.06.00.00/linux-devkit/bin/下工具连编译问题

2019-03-26 16:18发布

qinkai@Inspiron:~/Desktop$ arm-arago-linux-gnueabi-gcc test.c -o test
/home/qinkai/ti-sdk-am335x-evm-05.06.00.00/linux-devkit/bin/../lib/gcc/arm-arago-linux-gnueabi/4.5.3/../../../../arm-arago-linux-gnueabi/bin/ld: skipping incompatible /home/qinkai/ti-sdk-am335x-evm-05.06.00.00/linux-devkit/bin/../lib/gcc/../../lib/libc.so.6 when searching for ../../lib/libc.so.6
/home/qinkai/ti-sdk-am335x-evm-05.06.00.00/linux-devkit/bin/../lib/gcc/arm-arago-linux-gnueabi/4.5.3/../../../../arm-arago-linux-gnueabi/bin/ld: skipping incompatible /home/qinkai/ti-sdk-am335x-evm-05.06.00.00/linux-devkit/bin/../lib/gcc/arm-arago-linux-gnueabi/4.5.3/../../../../arm-arago-linux-gnueabi/lib/../../lib/libc.so.6 when searching for ../../lib/libc.so.6
/home/qinkai/ti-sdk-am335x-evm-05.06.00.00/linux-devkit/bin/../lib/gcc/arm-arago-linux-gnueabi/4.5.3/../../../../arm-arago-linux-gnueabi/bin/ld: skipping incompatible /home/qinkai/ti-sdk-am335x-evm-05.06.00.00/linux-devkit/bin/../arm-arago-linux-gnueabi/lib/../../lib/libc.so.6 when searching for ../../lib/libc.so.6



qinkai@Inspiron:~/Desktop$ echo $PATH
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/home/qinkai/ti-sdk-am335x-evm-05.06.00.00/linux-devkit/bin:
qinkai@Inspiron:~/Desktop$


cat /etc/*-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=12.10
DISTRIB_CODENAME=quantal
DISTRIB_DESCRIPTION="Ubuntu 12.10"
NAME="Ubuntu"
VERSION="12.10, Quantal Quetzal"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu quantal (12.10)"
VERSION_ID="12.10"

我的是ubuntu64位
请问这是什么问题?



qinkai@Inspiron:~/ti-sdk-am335x-evm-05.06.00.00/linux-devkit/lib$ ls -al |grep libc.so
lrwxrwxrwx  1 qinkai qinkai      14 Dec 17 14:15 libc.so.6 -> libc-2.12.2.so

qinkai@Inspiron:~/ti-sdk-am335x-evm-05.06.00.00/linux-devkit$ cd lib
qinkai@Inspiron:~/ti-sdk-am335x-evm-05.06.00.00/linux-devkit/lib$
file libc.so.6
libc.so.6: symbolic link to `libc-2.12.2.so'
qinkai@Inspiron:~/ti-sdk-am335x-evm-05.06.00.00/linux-devkit/lib$
file libc-2.12.2.so
libc-2.12.2.so: ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.16, stripped


                                       
                                                                                                                                                                                [url=][/url] 此帖出自小平头技术问答
友情提示: 此问题已得到解决,问题已经关闭,关闭后问题禁止继续编辑,回答。
该问题目前已经被作者或者管理员关闭, 无法添加新回复
1条回答
chenzhufly
1楼-- · 2019-03-27 01:50
< 把文件发上来嘛

一周热门 更多>