TA的每日心情 | 衰 2019-11-19 15:32 |
|---|
签到天数: 1 天 [LV.1]初来乍到
|
EDA365欢迎您登录!
您需要 登录 才可以下载或查看,没有帐号?注册
x
有个问题请教:我下载了tisdk包,里面有的uboot是201109的,我使用的开发板是飞凌的ok335xd,我想自己编译个uboot测试功能,在没有任何修改的情况下编译报错, , 使用的编译命令是:make CROSS_COMPILE=ARM-linux-gnueabihf- am335x_evm_config
! R) `% R1 p- [+ nmake CROSS_COMPILE=arm-linux-gnueabihf- am335x_evm5 ^* \4 N; v8 u
这样编译后报错
+ w1 ^, w9 y$ S( o; t2 t) I% _+ w
ake[1]: Entering directory `/root/work/TOD_uboot/335xd_uboot_201109/drivers/net'
6 I. o9 f+ L1 H* b$ U/ F1 mmake[1]: Leaving directory `/root/work/TOD_uboot/335xd_uboot_201109/drivers/net'
: N E( c8 L# P; w% v- {! Mmake[1]: Entering directory `/root/work/TOD_uboot/335xd_uboot_201109/drivers/net'
. Q$ Y8 M6 H2 g# K' G" iarm-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
' d0 v- B/ `! @! _* C2 \cpsw.c: In function ‘cpsw_init’:
$ i$ F" @$ p* q* f2 l4 L; Icpsw.c:831:8: warning: passing argument 3 of ‘cpdma_submit’ discards ‘volatile’ qualIFier from pointer target type [enabLED by default]1 Z6 k( `# I' w; I0 n. K
cpsw.c:652:12: note: expected ‘void *’ but argument is of type ‘volatile uchar *’' k# \9 `; o, Q: k# x: x9 r6 i& |* V
cpsw.c: In function ‘cpsw_phy_init’:
4 i8 D: a# V8 O7 H- T7 Kcpsw.c:923:4: error: ‘CONFIG_PHY_ADDR’ undeclared (first use in this function)* J3 z5 c+ D- D! c. D
cpsw.c:923:4: note: each undeclared identifier is reported only once for each function it appears in0 E7 T6 ~+ z5 L% W& K; g; W( m
cpsw.c: In function ‘cpsw_register’:6 I i1 M. O0 b3 q) l
cpsw.c:981:12: warning: assignment from incompatible pointer type [enabled by default]
9 l# Q2 Y8 \; h" @: m2 o" [make[1]: *** [/root/work/TOD_uboot/335xd_uboot_201109/am335x_evm/drivers/net/cpsw.o] Error 1
9 d- {* Y3 S9 h* e% {make[1]: Leaving directory `/root/work/TOD_uboot/335xd_uboot_201109/drivers/net'4 A7 J8 Y3 a+ B, a
make: *** [/root/work/TOD_uboot/335xd_uboot_201109/am335x_evm/drivers/net/libnet.o] Error 28 p+ U+ Z1 H( i( u/ K$ S
% A/ {* u- x- k- ]. O9 v% @
请教这个是什么错误,我在网上找了半天,别人都是可以编译过的6 [5 A0 ] n% P- P6 N( \
|
|