编译u-boot1.0.0出现的问题(非常急!!!)

发布于 2022-07-23 06:21:59 字数 3416 浏览 13 评论 2

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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

烟花肆意 2022-07-24 22:39:55

问题解决了,谢谢楼上的先辈了;

岁月打碎记忆 2022-07-24 13:27:23

没用过1.0.0。

我编译uboot 1.1.4 with ELDK 3.1.1,没有遇到问题

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文