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! X4 ~. H8 @* y8 Z" P
make CROSS_COMPILE=arm-linux-gnueabihf- am335x_evm
2 Q, N h( N; N2 t& j* t这样编译后报错
4 x$ M( \8 D3 U) v3 ?2 Q5 f, l% m' k0 Q9 Y7 h7 T @: ]3 L. i0 o
ake[1]: Entering directory `/root/work/TOD_uboot/335xd_uboot_201109/drivers/net'0 s6 M: x# _% \% _8 v& [; y- p
make[1]: Leaving directory `/root/work/TOD_uboot/335xd_uboot_201109/drivers/net': ]$ C2 M$ s* `
make[1]: Entering directory `/root/work/TOD_uboot/335xd_uboot_201109/drivers/net'( s, o( b, m. A; t( E4 d( n
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
' A. Y, G5 ?9 }) g: s4 M8 H" i. Ycpsw.c: In function ‘cpsw_init’: ]7 T/ _9 O u* i$ q: j
cpsw.c:831:8: warning: passing argument 3 of ‘cpdma_submit’ discards ‘volatile’ qualIFier from pointer target type [enabLED by default]' c; M# n" _& W5 i7 U$ [' ^7 y! g2 Q
cpsw.c:652:12: note: expected ‘void *’ but argument is of type ‘volatile uchar *’
0 g1 K* J( k/ Wcpsw.c: In function ‘cpsw_phy_init’:
. q# S; W& T/ }# N, k% b2 hcpsw.c:923:4: error: ‘CONFIG_PHY_ADDR’ undeclared (first use in this function): x0 c: g8 y" b9 J) Z, k8 |
cpsw.c:923:4: note: each undeclared identifier is reported only once for each function it appears in
3 k* h- u; }- a9 ]3 ecpsw.c: In function ‘cpsw_register’:
* _# \) {7 G3 u; R# v- Dcpsw.c:981:12: warning: assignment from incompatible pointer type [enabled by default], ~2 f& i% F% U
make[1]: *** [/root/work/TOD_uboot/335xd_uboot_201109/am335x_evm/drivers/net/cpsw.o] Error 1
) l/ S N/ c( u. r6 S0 m6 emake[1]: Leaving directory `/root/work/TOD_uboot/335xd_uboot_201109/drivers/net'" ?. N1 S* }9 S' g/ N7 k
make: *** [/root/work/TOD_uboot/335xd_uboot_201109/am335x_evm/drivers/net/libnet.o] Error 2
: E, z1 @( R7 h* P! ~8 N
4 [: W c! @+ A& R请教这个是什么错误,我在网上找了半天,别人都是可以编译过的
2 Q+ A' v; m, S3 i |
|