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
- T, |# C& S' Y! kmake CROSS_COMPILE=arm-linux-gnueabihf- am335x_evm) z1 ^. Q; [, i' ?5 H, u6 K1 P+ }9 t
这样编译后报错
. n) c' o- R5 [4 ]7 A: q/ W8 y5 V/ R
ake[1]: Entering directory `/root/work/TOD_uboot/335xd_uboot_201109/drivers/net') V; l- r& Q% Y: r6 B4 w+ e& T
make[1]: Leaving directory `/root/work/TOD_uboot/335xd_uboot_201109/drivers/net'
\7 T7 L1 q8 d$ M2 }make[1]: Entering directory `/root/work/TOD_uboot/335xd_uboot_201109/drivers/net'3 \- N, A0 n0 { V0 }
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
7 x$ ^$ A& o4 j- ncpsw.c: In function ‘cpsw_init’:% D2 P! Q! |+ b6 H6 ~& t
cpsw.c:831:8: warning: passing argument 3 of ‘cpdma_submit’ discards ‘volatile’ qualIFier from pointer target type [enabLED by default]
! f. f3 U0 n# I$ b4 Ccpsw.c:652:12: note: expected ‘void *’ but argument is of type ‘volatile uchar *’- [! {& S' p* o4 x" j
cpsw.c: In function ‘cpsw_phy_init’:7 R. n. l4 V; g/ I% W
cpsw.c:923:4: error: ‘CONFIG_PHY_ADDR’ undeclared (first use in this function)
. c) f7 U6 X, |( g# X9 ecpsw.c:923:4: note: each undeclared identifier is reported only once for each function it appears in
* b& X2 a* U' o+ o5 ~/ }cpsw.c: In function ‘cpsw_register’:
1 V5 P2 y+ ?; V" V- [+ x& wcpsw.c:981:12: warning: assignment from incompatible pointer type [enabled by default]/ d2 u1 G8 v" j
make[1]: *** [/root/work/TOD_uboot/335xd_uboot_201109/am335x_evm/drivers/net/cpsw.o] Error 1
) ]3 m! \/ ]6 ^5 U) g5 kmake[1]: Leaving directory `/root/work/TOD_uboot/335xd_uboot_201109/drivers/net'
2 M8 I& J! x- @1 l) Fmake: *** [/root/work/TOD_uboot/335xd_uboot_201109/am335x_evm/drivers/net/libnet.o] Error 2: B/ v6 p& _8 W, ~3 ]
1 g7 x* o3 M# h% W( v+ B请教这个是什么错误,我在网上找了半天,别人都是可以编译过的
9 T: l& q3 S3 _6 Q |
|