完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
扫一扫,分享给好友
有个问题请教:我下载了tisdk包,里面有的uboot是201109的,我使用的开发板是飞凌的ok335xd,我想自己编译个uboot测试功能,在没有任何修改的情况下编译报错, , 使用的编译命令是:make CROSS_COMPILE=arm-linux-gnueabihf- am335x_evm_config
make CROSS_COMPILE=arm-linux-gnueabihf- am335x_evm 这样编译后报错 ake[1]: Entering directory `/root/work/TOD_uboot/335xd_uboot_201109/drivers/net' make[1]: Leaving directory `/root/work/TOD_uboot/335xd_uboot_201109/drivers/net' make[1]: Entering directory `/root/work/TOD_uboot/335xd_uboot_201109/drivers/net' arm-linux-gnueabihf-gcc -g -Os -fno-common -ffixed-r8 -msoft-float -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x80800000 -DCONFIG_SPL_TEXT_BASE=0x402F0400 -I/root/work/TOD_uboot/335xd_uboot_201109/am335x_evm/include2 -I/root/work/TOD_uboot/335xd_uboot_201109/am335x_evm/include -I/root/work/TOD_uboot/335xd_uboot_201109/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/local/arm/gcc-linaro-arm-linux-gnueabihf-4.7/bin/../lib/gcc/arm-linux-gnueabihf/4.7.3/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv5 -Wall -Wstrict-prototypes -fno-stack-protector -Wno-format-nonliteral -Wno-format-security -o /root/work/TOD_uboot/335xd_uboot_201109/am335x_evm/drivers/net/cpsw.o cpsw.c -c cpsw.c: In function ‘cpsw_init’: cpsw.c:831:8: warning: passing argument 3 of ‘cpdma_submit’ discards ‘volatile’ qualifier from pointer target type [enabled by default] cpsw.c:652:12: note: expected ‘void *’ but argument is of type ‘volatile uchar *’ cpsw.c: In function ‘cpsw_phy_init’: cpsw.c:923:4: error: ‘CONFIG_PHY_ADDR’ undeclared (first use in this function) cpsw.c:923:4: note: each undeclared identifier is reported only once for each function it appears in cpsw.c: In function ‘cpsw_register’: cpsw.c:981:12: warning: assignment from incompatible pointer type [enabled by default] make[1]: *** [/root/work/TOD_uboot/335xd_uboot_201109/am335x_evm/drivers/net/cpsw.o] Error 1 make[1]: Leaving directory `/root/work/TOD_uboot/335xd_uboot_201109/drivers/net' make: *** [/root/work/TOD_uboot/335xd_uboot_201109/am335x_evm/drivers/net/libnet.o] Error 2 请教这个是什么错误,我在网上找了半天,别人都是可以编译过的 |
|
相关推荐
1个回答
|
|
CONFIG_PHY_ADDR未声明
|
|
|
|
你正在撰写答案
如果你是对答案或其他答案精选点评或询问,请使用“评论”功能。
飞凌嵌入式ElfBoard ELF 1板卡-CAN编程示例之开发板测试
654 浏览 0 评论
该问题是用APP给芯海科技的CST92F25芯片发指令是出现的
2242 浏览 1 评论
771 浏览 0 评论
1530 浏览 1 评论
2276 浏览 1 评论
浏览过的版块 |
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-11-22 06:36 , Processed in 0.527194 second(s), Total 74, Slave 57 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号