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 T2 b8 A, E: q, E* q) {make CROSS_COMPILE=arm-linux-gnueabihf- am335x_evm1 @/ E8 p Y5 z3 D: t* x6 Y, W
这样编译后报错
; l5 Z! P$ X: Q- X: b7 U; @2 z' j" C2 ^
ake[1]: Entering directory `/root/work/TOD_uboot/335xd_uboot_201109/drivers/net'
; {' `" `. n% }/ K( Y' k+ x P, K0 @make[1]: Leaving directory `/root/work/TOD_uboot/335xd_uboot_201109/drivers/net'' ?1 l- j9 }0 V) u9 }! d/ J
make[1]: Entering directory `/root/work/TOD_uboot/335xd_uboot_201109/drivers/net') K3 }* K, L: @( M
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 -c5 E' w2 W% \2 s5 H1 P
cpsw.c: In function ‘cpsw_init’:& K, i' y7 T9 x, C0 e
cpsw.c:831:8: warning: passing argument 3 of ‘cpdma_submit’ discards ‘volatile’ qualIFier from pointer target type [enabLED by default], A- i- `. [. X# F0 n
cpsw.c:652:12: note: expected ‘void *’ but argument is of type ‘volatile uchar *’4 F4 n# [& [! e F' W/ @
cpsw.c: In function ‘cpsw_phy_init’:+ N* l" |1 J' {0 }8 D
cpsw.c:923:4: error: ‘CONFIG_PHY_ADDR’ undeclared (first use in this function)$ y( R/ T1 T- {
cpsw.c:923:4: note: each undeclared identifier is reported only once for each function it appears in
. O( e% B2 Q/ J0 \3 ^4 N) Ucpsw.c: In function ‘cpsw_register’:
" L5 p, m. ?& i acpsw.c:981:12: warning: assignment from incompatible pointer type [enabled by default]0 u0 B+ ] F$ u/ O6 }: j: i4 N
make[1]: *** [/root/work/TOD_uboot/335xd_uboot_201109/am335x_evm/drivers/net/cpsw.o] Error 1
# R) h/ f- k3 M* hmake[1]: Leaving directory `/root/work/TOD_uboot/335xd_uboot_201109/drivers/net'
/ u8 y' {% T4 L" Q+ Bmake: *** [/root/work/TOD_uboot/335xd_uboot_201109/am335x_evm/drivers/net/libnet.o] Error 2
) ]7 G! z6 `8 I( ~* J; N
) n O2 h1 w; z2 f- e0 {$ a请教这个是什么错误,我在网上找了半天,别人都是可以编译过的
$ I$ n7 r( A' }* } |
|