完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
扫一扫,分享给好友
|
本帖最后由 一只耳朵怪 于 2018-6-5 14:52 编辑
平台beaglebone black 系统:ubuntu14.04LTS 操作:我先加载交叉编译工具进来 source /home/jipolun/ti-processor-sdk-linux-am335x-evm-03.03.00.04/linux-devkit/environment-setup 然后 ARM-linux-gnueabihf-gcc -v 有信息输出(版本为gcc version 5.3.1 20160113 (Linaro GCC 5.3-2016.02))那么我就认为交叉编译工具链安装好了 我echo $PATH [linux-devkit]:~/ti-processor-sdk-linux-am335x-evm-03.03.00.04/board-support/u-boot-2016.05+gitAUTOINC+4db46a6bbd-g4db46a6bbd> echo $PATH /home/jipolun/gcc-linaro-4.9-2015.05-x86_64_arm-linux-gnueabihf/bin:/home/jipolun/ti-processor-sdk-linux-am335x-evm-03.03.00.04/linux-devkit/sysroots/x86_64-arago-linux/usr/bin/qt5:/home/jipolun/ti-processor-sdk-linux-am335x-evm-03.03.00.04/linux-devkit/sysroots/x86_64-arago-linux/usr/bin:/usr/local/***in:/usr/local/bin:/usr/***in:/usr/bin:/***in:/bin:/usr/games:/usr/local/games 说明交叉编译工具链已经加入到环境变量中去了 然后我按http://processors.wiki.ti.com/index.php/Linux_Core_U-Boot_User%27s_Guide 文章里说的 make CROSS_COMPILE=arm-linux-gnueabihf- ARCH=arm O=boneblack_out am335x_evm_defconfig 于是就出现如下错误 [linux-devkit]:~/ti-processor-sdk-linux-am335x-evm-03.03.00.04/board-support/u-boot-2016.05+gitAUTOINC+4db46a6bbd-g4db46a6bbd> make CROSS_COMPILE=arm-linux-gnueabihf- ARCH=arm O=boneblack_out am335x_evm_defconfig make[1]: Entering directory '/home/jipolun/ti-processor-sdk-linux-am335x-evm-03.03.00.04/board-support/u-boot-2016.05+gitAUTOINC+4db46a6bbd-g4db46a6bbd/boneblack_out' HOSTCC scripts/basic/fixdep In file included from /home/jipolun/ti-processor-sdk-linux-am335x-evm-03.03.00.04/linux-devkit/sysroots/armv7ahf-neon-linux-gnueabi/usr/include/netinet/in.h:22:0, from /home/jipolun/ti-processor-sdk-linux-am335x-evm-03.03.00.04/linux-devkit/sysroots/armv7ahf-neon-linux-gnueabi/usr/include/arpa/inet.h:22, from ../scripts/basic/fixdep.c:116: /home/jipolun/ti-processor-sdk-linux-am335x-evm-03.03.00.04/linux-devkit/sysroots/armv7ahf-neon-linux-gnueabi/usr/include/stdint.h:148:0: warning: "__INT64_C" redefined [enabled by default] # define __INT64_C(c) c ## LL ^ In file included from /home/jipolun/ti-processor-sdk-linux-am335x-evm-03.03.00.04/linux-devkit/sysroots/armv7ahf-neon-linux-gnueabi/usr/include/netinet/in.h:22:0, from /home/jipolun/ti-processor-sdk-linux-am335x-evm-03.03.00.04/linux-devkit/sysroots/armv7ahf-neon-linux-gnueabi/usr/include/arpa/inet.h:22, from ../scripts/basic/fixdep.c:116: /home/jipolun/ti-processor-sdk-linux-am335x-evm-03.03.00.04/linux-devkit/sysroots/armv7ahf-neon-linux-gnueabi/usr/include/stdint.h:149:0: warning: "__UINT64_C" redefined [enabled by default] # define __UINT64_C(c) c ## ULL ^ fixdep: error fstat'ing depfile: scripts/basic/.fixdep.d: Invalid argument scripts/Makefile.host:94: recipe for target 'scripts/basic/fixdep' failed make[2]: *** [scripts/basic/fixdep] Error 2 /home/jipolun/ti-processor-sdk-linux-am335x-evm-03.03.00.04/board-support/u-boot-2016.05+gitAUTOINC+4db46a6bbd-g4db46a6bbd/Makefile:397: recipe for target 'scripts_basic' failed make[1]: *** [scripts_basic] Error 2 make[1]: Leaving directory '/home/jipolun/ti-processor-sdk-linux-am335x-evm-03.03.00.04/board-support/u-boot-2016.05+gitAUTOINC+4db46a6bbd-g4db46a6bbd/boneblack_out' Makefile:150: recipe for target 'sub-make' failed make: *** [sub-make] Error 2 google了半天,我找到解决办法,board-support里面的uboot我第一次编译,代码还没有去改过。希望大家能帮忙解决一下这个问题。谢谢 |
|
相关推荐
|
|
只有小组成员才能发言,加入小组>>
549 浏览 0 评论
1613 浏览 0 评论
2047 浏览 0 评论
为啥BQ7693003DBTR芯片在和BQ769X0盒子通讯时收不到信号?
1513 浏览 0 评论
DSP 28027F 开发板 XDS100v2调试探针诊断日志显示了 Error -150 (SC_ERR_FTDI_FAIL)如何解决
1337 浏览 0 评论
AT32F407在USART2 DMA发送数据时,接包接到了要发送的数据,程序还是处于等待传输完成的标识判断中,为什么?
1756浏览 29评论
2781浏览 23评论
请问下tpa3220实际测试引脚功能和官方资料不符,哪位大佬可以帮忙解答下
1724浏览 20评论
请教下关于TAS5825PEVM评估模块原理图中不太明白的地方,寻求答疑
1634浏览 14评论
两个TMP117传感器一个可以正常读取温度值,一个读取的值一直是0,为什么?
1645浏览 13评论
/9
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2025-12-2 04:50 , Processed in 0.526551 second(s), Total 43, Slave 36 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191

淘帖
1809