完善资料让更多小伙伴认识你,还能领取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我第一次编译,代码还没有去改过。希望大家能帮忙解决一下这个问题。谢谢 |
|
相关推荐
|
|
只有小组成员才能发言,加入小组>>
NA555DR VCC最低电压需要在5V供电,为什么用3.3V供电搭了个单稳态触发器也使用正常?
591 浏览 2 评论
MSP430F249TPMR出现高温存储后失效了的情况,怎么解决?
581 浏览 1 评论
对于多级放大电路板,在PCB布局中,电源摆放的位置应该注意什么?
1034 浏览 1 评论
692 浏览 0 评论
普中科技F28335开发板每次上电复位后数码管都会显示,如何熄灭它?
505 浏览 1 评论
请问下tpa3220实际测试引脚功能和官方资料不符,哪位大佬可以帮忙解答下
141浏览 20评论
请教下关于TAS5825PEVM评估模块原理图中不太明白的地方,寻求答疑
108浏览 14评论
在使用3254进行录音的时候出现一个奇怪的现象,右声道有吱吱声,请教一下,是否是什么寄存器设置存在问题?
115浏览 13评论
TLV320芯片内部自带数字滤波功能,请问linein进来的模拟信号是否是先经过ADC的超采样?
112浏览 12评论
TPA6304-Q1: TPA6304 两片公用一组I2C的话,其中一片配置不成功怎么办
146浏览 10评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-11-13 14:58 , Processed in 0.683820 second(s), Total 43, Slave 36 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号