查看: 3724|回复: 1

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

[复制链接]
  • TA的每日心情
    无聊
    2014-5-18 22:32
  • 签到天数: 257 天

    连续签到: 1 天

    [LV.8]以坛为家I

    发表于 2013-3-10 10:17:05 | 显示全部楼层 |阅读模式
    分享到:
    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
    回复

    使用道具 举报

  • TA的每日心情
    开心
    2015-1-1 01:21
  • 签到天数: 354 天

    连续签到: 1 天

    [LV.8]以坛为家I

    发表于 2013-3-10 10:44:05 | 显示全部楼层
    本帖最后由 shamowangzi 于 2013-3-10 10:45 编辑

    把这个加到$PATH前面试一下呢!?
    或者改完环境变量要重启一下!
    回复 支持 反对

    使用道具 举报

    您需要登录后才可以回帖 注册/登录

    本版积分规则

    关闭

    站长推荐上一条 /3 下一条



    手机版|小黑屋|与非网

    GMT+8, 2025-1-11 07:01 , Processed in 0.101481 second(s), 16 queries , MemCache On.

    ICP经营许可证 苏B2-20140176  苏ICP备14012660号-2   苏州灵动帧格网络科技有限公司 版权所有.

    苏公网安备 32059002001037号

    Powered by Discuz! X3.4

    Copyright © 2001-2024, Tencent Cloud.