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
. O5 |: g3 t% X* r. Umake CROSS_COMPILE=arm-linux-gnueabihf- am335x_evm
% T' ^( G s1 C这样编译后报错6 e# Y3 O( C" V& A8 t- |( o! z
! N0 h/ I' Q+ }& {, c% L8 l+ h/ a
ake[1]: Entering directory `/root/work/TOD_uboot/335xd_uboot_201109/drivers/net'
3 R* k3 h! v9 i j' fmake[1]: Leaving directory `/root/work/TOD_uboot/335xd_uboot_201109/drivers/net'5 I- Y0 N$ j: I8 j$ g
make[1]: Entering directory `/root/work/TOD_uboot/335xd_uboot_201109/drivers/net', g* D9 k4 h) Z7 n, ]& {5 Q4 q
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, H( X: e/ I3 N# r/ j
cpsw.c: In function ‘cpsw_init’:
& m- H; p2 z4 N( h3 H' O2 Dcpsw.c:831:8: warning: passing argument 3 of ‘cpdma_submit’ discards ‘volatile’ qualIFier from pointer target type [enabLED by default]
6 W& ?4 h: e( h X# G0 w, r7 R, I/ Ncpsw.c:652:12: note: expected ‘void *’ but argument is of type ‘volatile uchar *’
9 u+ s W* X* B( L7 H4 Kcpsw.c: In function ‘cpsw_phy_init’: T" X8 e/ f5 g0 E6 Z1 m. V! L
cpsw.c:923:4: error: ‘CONFIG_PHY_ADDR’ undeclared (first use in this function)
7 k- c* N5 E9 y" T7 ]8 d+ ~+ I! A0 lcpsw.c:923:4: note: each undeclared identifier is reported only once for each function it appears in
, X/ A5 X* r. qcpsw.c: In function ‘cpsw_register’:" G- S! j6 `8 c( b
cpsw.c:981:12: warning: assignment from incompatible pointer type [enabled by default]+ q6 M8 ?# c% N; x$ _1 T
make[1]: *** [/root/work/TOD_uboot/335xd_uboot_201109/am335x_evm/drivers/net/cpsw.o] Error 1
) Q! Q* D% N; c0 k7 j7 b2 ~make[1]: Leaving directory `/root/work/TOD_uboot/335xd_uboot_201109/drivers/net'
2 Q. o* }0 k, h0 Amake: *** [/root/work/TOD_uboot/335xd_uboot_201109/am335x_evm/drivers/net/libnet.o] Error 2- }0 {4 R6 p z: ^
! I8 C6 @" k$ T4 q3 `4 y. R
请教这个是什么错误,我在网上找了半天,别人都是可以编译过的* i5 _5 e4 u; {' k# V% @
|
|