编译u-boot1.0.0出现的问题(非常急!!!)
arm-linux-gcc -g -Os -fno-strict-aliasing -fno-common -ffixed-r8 -mshort-load-bytes -msoft-float -D__KERNEL__ -DTEXT_BASE=0x13E00000 -I/home/woo/u-boot-1.0.0-aesop2440/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/local/arm/2.95.3/lib/gcc-lib/arm-linux/2.95.3/include -pipe -DCONFIG_ARM -D__ARM__ -mapcs-32 -march=armv4 -Wall -Wstrict-prototypes -ggdb -c -o cache.o cache.c
arm-linux-ar crv libarm.a armlinux.o board.o cache.o
a - armlinux.o
a - board.o
a - cache.o
make[1]: Leaving directory `/home/woo/u-boot-1.0.0-aesop2440/lib_arm'
make[1]: Entering directory `/home/woo/u-boot-1.0.0-aesop2440/cpu/arm920t'
arm-linux-gcc -Wa,-gstabs -D__ASSEMBLY__ -g -Os -fno-strict-aliasing -fno-common -ffixed-r8 -mshort-load-bytes -msoft-float -D__KERNEL__ -DTEXT_BASE=0x13E00000 -I/home/woo/u-boot-1.0.0-aesop2440/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/local/arm/2.95.3/lib/gcc-lib/arm-linux/2.95.3/include -pipe -DCONFIG_ARM -D__ARM__ -mapcs-32 -march=armv4 -c -o start.o /home/woo/u-boot-1.0.0-aesop2440/cpu/arm920t/start.S
arm-linux-gcc -g -Os -fno-strict-aliasing -fno-common -ffixed-r8 -mshort-load-bytes -msoft-float -D__KERNEL__ -DTEXT_BASE=0x13E00000 -I/home/woo/u-boot-1.0.0-aesop2440/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/local/arm/2.95.3/lib/gcc-lib/arm-linux/2.95.3/include -pipe -DCONFIG_ARM -D__ARM__ -mapcs-32 -march=armv4 -Wall -Wstrict-prototypes -ggdb -c -o nand_cp.o nand_cp.c
arm-linux-gcc -g -Os -fno-strict-aliasing -fno-common -ffixed-r8 -mshort-load-bytes -msoft-float -D__KERNEL__ -DTEXT_BASE=0x13E00000 -I/home/woo/u-boot-1.0.0-aesop2440/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/local/arm/2.95.3/lib/gcc-lib/arm-linux/2.95.3/include -pipe -DCONFIG_ARM -D__ARM__ -mapcs-32 -march=armv4 -Wall -Wstrict-prototypes -ggdb -c -o serial.o serial.c
serial.c: In function `serial_setbrg':
serial.c:34: `S3C24X0_UART' undeclared (first use in this function)
serial.c:34: (Each undeclared identifier is reported only once
serial.c:34: for each function it appears in.)
serial.c:34: parse error before `const'
serial.c:43: `uart' undeclared (first use in this function)
serial.c: In function `serial_getc':
serial.c:81: `S3C24X0_UART' undeclared (first use in this function)
serial.c:81: parse error before `const'
serial.c:84: `uart' undeclared (first use in this function)
serial.c:87: warning: control reaches end of non-void function
serial.c: In function `serial_putc':
serial.c:127: `S3C24X0_UART' undeclared (first use in this function)
serial.c:127: parse error before `const'
serial.c:134: `uart' undeclared (first use in this function)
serial.c: In function `serial_tstc':
serial.c:154: `S3C24X0_UART' undeclared (first use in this function)
serial.c:154: parse error before `const'
serial.c:156: `uart' undeclared (first use in this function)
serial.c:157: warning: control reaches end of non-void function
make[1]: *** [serial.o] Error 1
make[1]: Leaving directory `/home/woo/u-boot-1.0.0-aesop2440/cpu/arm920t'
make: *** [subdirs] Error 1
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
问题解决了,谢谢楼上的先辈了;
没用过1.0.0。
我编译uboot 1.1.4 with ELDK 3.1.1,没有遇到问题