完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
本帖最后由 一只耳朵怪 于 2018-6-5 16:18 编辑
小弟最近做ti AM3352 上面的工作,编译TI官方提供的u-boot-2013.10-ti2013.12.01,快编译到最后时提示找不到am335x_evm/include/autoconf.mk这个文件 主机环境为:ubuntu10.04 参考TI官司方网址:http://processors.wiki.ti.com/index.php/Linux_Core_U-Boot_User%27s_Guide 执行的编译命令为:make CROSS_COMPILE=ARM-linux-gnueabihf- ARCH=arm O=am335x_evm am335x_evm_config all 最后的错误提示为: Makefile:9: /work2/ti-sdk-am335x-evm-07.00.00.00/board-support/u-boot-2013.10-ti2013.12.01/am335x_evm/include/autoconf.mk: No such file or directory cat /dev/null >/work2/ti-sdk-am335x-evm-07.00.00.00/board-support/u-boot-2013.10-ti2013.12.01/am335x_evm/post/.depend make[1]: Failed to remake makefile `/work2/ti-sdk-am335x-evm-07.00.00.00/board-support/u-boot-2013.10-ti2013.12.01/am335x_evm/include/autoconf.mk'. make[1]: Leaving directory `/work2/ti-sdk-am335x-evm-07.00.00.00/board-support/u-boot-2013.10-ti2013.12.01/post' make[1]: Entering directory `/work2/ti-sdk-am335x-evm-07.00.00.00/board-support/u-boot-2013.10-ti2013.12.01/post' Makefile:9: /work2/ti-sdk-am335x-evm-07.00.00.00/board-support/u-boot-2013.10-ti2013.12.01/am335x_evm/include/autoconf.mk: No such file or directory make[1]: Failed to remake makefile `/work2/ti-sdk-am335x-evm-07.00.00.00/board-support/u-boot-2013.10-ti2013.12.01/am335x_evm/include/autoconf.mk'. rm -f /work2/ti-sdk-am335x-evm-07.00.00.00/board-support/u-boot-2013.10-ti2013.12.01/am335x_evm/post/libpost.o; arm-linux-gnueabihf-ar rcs /work2/ti-sdk-am335x-evm-07.00.00.00/board-support/u-boot-2013.10-ti2013.12.01/am335x_evm/post/libpost.o make[1]: Leaving directory `/work2/ti-sdk-am335x-evm-07.00.00.00/board-support/u-boot-2013.10-ti2013.12.01/post' make: *** [/work2/ti-sdk-am335x-evm-07.00.00.00/board-support/u-boot-2013.10-ti2013.12.01/am335x_evm/post/libpost.o] Error 2 在此向各位大牛求助,感激不尽(ps:开始以为是ubuntu10.04的问题,后来安装了ubuntu12.04还是出同样的错误) |
|
相关推荐
5个回答
|
|
你是直接安装的linux sdk7.0吗?
直接到相关路径下看/am335x_evm/include/autoconf.mk 这个文件有吗? 建议你使用的编译命令把最后的all去掉,注意O=am335x_evm和am335x_evm_config中间有个空格 即为:make CROSS_COMPILE=arm-linux-gnueabihf- O=am335x_evm am335x_evm_config 试一下可以吗?我之前这样编译是OK的。 |
|
|
|
hwjj940056201 发表于 2018-6-4 15:26 可能是安装包安装的问题吧,我编译也是没有问题的 |
|
|
|
hwjj940056201 发表于 2018-6-4 15:26 嗯,按照你说的方法,果然可行: 先执行 make CROSS_COMPILE=arm-linux-gnueabihf- O=am335x_evm am335x_evm_config 然后执行 make CROSS_COMPILE=arm-linux-gnueabihf- O=am335x_evm 就可以成功编译了。但是不知道加上all不啥就不行了呢,我在Makefile中添加一些调试信息发现 这一句 mv $@.tmp $@ 没有执行成功,不知道为啥。 701 # 702 # Auto-generate the autoconf.mk file (which is included by all makefiles) 703 # 704 # This target actually generates 2 files; autoconf.mk and autoconf.mk.dep. 705 # the dep file is only include in this top level makefile to determine when 706 # to regenerate the autoconf.mk file. 707 $(obj)include/autoconf.mk.dep: $(obj)include/config.h include/common.h 708 @$(XECHO) Generating $@ ; 709 set -e ; 710 : Generate the dependancies ; 711 $(CC) -x c -DDO_DEPS_ONLY -M $(CFLAGS) $(CPPFLAGS) 712 -MQ $(obj)include/autoconf.mk include/common.h > $@ 713 714 $(obj)include/autoconf.mk: $(obj)include/config.h 715 @$(XECHO) Generating $@ ; 716 set -e ; 717 : Extract the config macros ; 718 $(CPP) $(CFLAGS) -DDO_DEPS_ONLY -dM include/common.h | 719 sed -n -f tools/scripts/define2mk.sed > $@.tmp && 720 mv $@.tmp $@ |
|
|
|
谢谢你的回复。 在可以成功编译过去了,按照楼上的方法把all去掉 执行以下两句: make CROSS_COMPILE=arm-linux-gnueabihf- O=am335x_evm am335x_evm_config make CROSS_COMPILE=arm-linux-gnueabihf- O=am335x_evm |
|
|
|
60user95 发表于 2018-6-4 16:01 学习学习了。 |
|
|
|
只有小组成员才能发言,加入小组>>
985 浏览 0 评论
612 浏览 1 评论
458 浏览 1 评论
649 浏览 2 评论
NA555DR VCC最低电压需要在5V供电,为什么用3.3V供电搭了个单稳态触发器也使用正常?
971 浏览 3 评论
AT32F407在USART2 DMA发送数据时,接包接到了要发送的数据,程序还是处于等待传输完成的标识判断中,为什么?
239浏览 29评论
1206浏览 23评论
请问下tpa3220实际测试引脚功能和官方资料不符,哪位大佬可以帮忙解答下
348浏览 20评论
请教下关于TAS5825PEVM评估模块原理图中不太明白的地方,寻求答疑
322浏览 14评论
两个TMP117传感器一个可以正常读取温度值,一个读取的值一直是0,为什么?
179浏览 13评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2025-2-23 04:35 , Processed in 0.718320 second(s), Total 84, Slave 68 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191