我在编译u-boot1.1.6的时候出现下面的错误,请高手指点一下。用的是fedora 9 ,安装mini2440的手册配置的编译环境
speed.c:1: warning: target CPU does not support interworking
speed.c: In function 'get_PLLCLK':
speed.c:85: error: 'gd' undeclared (first use in this function)
speed.c:85: error: (Each undeclared identifier is reported only once
speed.c:85: error: for each function it appears in.)
speed.c: In function 'get_HCLK':
speed.c:111: error: 'gd' undeclared (first use in this function)
speed.c: In function 'get_PCLK':
speed.c:149: error: 'gd' undeclared (first use in this function)
make[1]: *** [speed.o] 错误 1
make[1]: Leaving directory `/root/Desktop/bootloader/u-boot-1.1.6/cpu/arm920t/s3c24x0'
make: *** [cpu/arm920t/s3c24x0/libs3c24x0.a] 错误 2