我把SDK(AM335X-LINUX-PSP-04.06.00.08)中的u-boot源码解压下来直接编译,发现报错了,如何解决?
ilinkin@xfc-ilinkin:~/beaglebone/AM335X-LINUX-PSP-04.06.00.08/src/u-boot/u-boot-04.06.00.08$ make O=am335x CROSS_COMPILE=arm-linux-gnueabihf- ARCH=arm am335x_evm
Configuring for am335x_evm board…
make
make[1]: Entering directory '/home/ilinkin/beaglebone/AM335X-LINUX-PSP-04.06.00.08/src/u-boot/u-boot-04.06.00.08'
Generating /home/ilinkin/beaglebone/AM335X-LINUX-PSP-04.06.00.08/src/u-boot/u-boot-04.06.00.08/am335x/include/autoconf.mk
Generating /home/ilinkin/beaglebone/AM335X-LINUX-PSP-04.06.00.08/src/u-boot/u-boot-04.06.00.08/am335x/include/autoconf.mk.dep
arm-linux-gnueabihf-gcc -DDO_DEPS_ONLY \
-g -Os -fno-common -ffixed-r8 -msoft-float -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x80100000 -DCONFIG_SPL_TEXT_BASE=0x402F0400 -I/home/ilinkin/beaglebone/AM335X-LINUX-PSP-04.06.00.08/src/u-boot/u-boot-04.06.00.08/am335x/include2 -I/home/ilinkin/beaglebone/AM335X-LINUX-PSP-04.06.00.08/src/u-boot/u-boot-04.06.00.08/am335x/include -I/home/ilinkin/beaglebone/AM335X-LINUX-PSP-04.06.00.08/src/u-boot/u-boot-04.06.00.08/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc-cross/arm-linux-gnueabihf/5/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 /home/ilinkin/beaglebone/AM335X-LINUX-PSP-04.06.00.08/src/u-boot/u-boot-04.06.00.08/am335x/lib/asm-offsets.s /home/ilinkin/beaglebone/AM335X-LINUX-PSP-04.06.00.08/src/u-boot/u-boot-04.06.00.08/lib/asm-offsets.c -c -S
Generating /home/ilinkin/beaglebone/AM335X-LINUX-PSP-04.06.00.08/src/u-boot/u-boot-04.06.00.08/am335x/include/generated/generic-asm-offsets.h
tools/scripts/make-asm-offsets /home/ilinkin/beaglebone/AM335X-LINUX-PSP-04.06.00.08/src/u-boot/u-boot-04.06.00.08/am335x/lib/asm-offsets.s /home/ilinkin/beaglebone/AM335X-LINUX-PSP-04.06.00.08/src/u-boot/u-boot-04.06.00.08/am335x/include/generated/generic-asm-offsets.h
if [ -f /home/ilinkin/beaglebone/AM335X-LINUX-PSP-04.06.00.08/src/u-boot/u-boot-04.06.00.08/arch/arm/cpu/armv7/ti81xx/asm-offsets.c ];then \
arm-linux-gnueabihf-gcc -DDO_DEPS_ONLY \
-g -Os -fno-common -ffixed-r8 -msoft-float -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x80100000 -DCONFIG_SPL_TEXT_BASE=0x402F0400 -I/home/ilinkin/beaglebone/AM335X-LINUX-PSP-04.06.00.08/src/u-boot/u-boot-04.06.00.08/am335x/include2 -I/home/ilinkin/beaglebone/AM335X-LINUX-PSP-04.06.00.08/src/u-boot/u-boot-04.06.00.08/am335x/include -I/home/ilinkin/beaglebone/AM335X-LINUX-PSP-04.06.00.08/src/u-boot/u-boot-04.06.00.08/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc-cross/arm-linux-gnueabihf/5/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 /home/ilinkin/beaglebone/AM335X-LINUX-PSP-04.06.00.08/src/u-boot/u-boot-04.06.00.08/am335x/arch/arm/cpu/armv7/ti81xx/asm-offsets.s /home/ilinkin/beaglebone/AM335X-LINUX-PSP-04.06.00.08/src/u-boot/u-boot-04.06.00.08/arch/arm/cpu/armv7/ti81xx/asm-offsets.c -c -S; \
else \
touch /home/ilinkin/beaglebone/AM335X-LINUX-PSP-04.06.00.08/src/u-boot/u-boot-04.06.00.08/am335x/arch/arm/cpu/armv7/ti81xx/asm-offsets.s; \
fi
Generating /home/ilinkin/beaglebone/AM335X-LINUX-PSP-04.06.00.08/src/u-boot/u-boot-04.06.00.08/am335x/include/generated/asm-offsets.h
tools/scripts/make-asm-offsets /home/ilinkin/beaglebone/AM335X-LINUX-PSP-04.06.00.08/src/u-boot/u-boot-04.06.00.08/am335x/arch/arm/cpu/armv7/ti81xx/asm-offsets.s /home/ilinkin/beaglebone/AM335X-LINUX-PSP-04.06.00.08/src/u-boot/u-boot-04.06.00.08/am335x/include/generated/asm-offsets.h
for dir in tools examples/standalone examples/api arch/arm/cpu/armv7 /home/ilinkin/beaglebone/AM335X-LINUX-PSP-04.06.00.08/src/u-boot/u-boot-04.06.00.08/arch/arm/cpu/armv7/ ; do \
make -C $dir _depend ; done
make[2]: Entering directory '/home/ilinkin/beaglebone/AM335X-LINUX-PSP-04.06.00.08/src/u-boot/u-boot-04.06.00.08/tools'
make[2]: Nothing to be done for '_depend'.
make[2]: Leaving directory '/home/ilinkin/beaglebone/AM335X-LINUX-PSP-04.06.00.08/src/u-boot/u-boot-04.06.00.08/tools'
make[2]: Entering directory '/home/ilinkin/beaglebone/AM335X-LINUX-PSP-04.06.00.08/src/u-boot/u-boot-04.06.00.08/examples/standalone'
make[2]: Nothing to be done for '_depend'.
make[2]: Leaving directory '/home/ilinkin/beaglebone/AM335X-LINUX-PSP-04.06.00.08/src/u-boot/u-boot-04.06.00.08/examples/standalone'
make[2]: Entering directory '/home/ilinkin/beaglebone/AM335X-LINUX-PSP-04.06.00.08/src/u-boot/u-boot-04.06.00.08/examples/api'
make[2]: Nothing to be done for '_depend'.
make[2]: Leaving directory '/home/ilinkin/beaglebone/AM335X-LINUX-PSP-04.06.00.08/src/u-boot/u-boot-04.06.00.08/examples/api'
make[2]: Entering directory '/home/ilinkin/beaglebone/AM335X-LINUX-PSP-04.06.00.08/src/u-boot/u-boot-04.06.00.08/arch/arm/cpu/armv7'
make[2]: Nothing to be done for '_depend'.
make[2]: Leaving directory '/home/ilinkin/beaglebone/AM335X-LINUX-PSP-04.06.00.08/src/u-boot/u-boot-04.06.00.08/arch/arm/cpu/armv7'
make[2]: Entering directory '/home/ilinkin/beaglebone/AM335X-LINUX-PSP-04.06.00.08/src/u-boot/u-boot-04.06.00.08/arch/arm/cpu/armv7'
make[2]: Nothing to be done for '_depend'.
make[2]: Leaving directory '/home/ilinkin/beaglebone/AM335X-LINUX-PSP-04.06.00.08/src/u-boot/u-boot-04.06.00.08/arch/arm/cpu/armv7'
make -C tools all
make[2]: Entering directory '/home/ilinkin/beaglebone/AM335X-LINUX-PSP-04.06.00.08/src/u-boot/u-boot-04.06.00.08/tools'
gcc -g -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -idirafter /home/ilinkin/beaglebone/AM335X-LINUX-PSP-04.06.00.08/src/u-boot/u-boot-04.06.00.08/include -idirafter /home/ilinkin/beaglebone/AM335X-LINUX-PSP-04.06.00.08/src/u-boot/u-boot-04.06.00.08/am335x/include2 -idirafter /home/ilinkin/beaglebone/AM335X-LINUX-PSP-04.06.00.08/src/u-boot/u-boot-04.06.00.08/am335x/include -I /home/ilinkin/beaglebone/AM335X-LINUX-PSP-04.06.00.08/src/u-boot/u-boot-04.06.00.08/lib/libfdt -I /home/ilinkin/beaglebone/AM335X-LINUX-PSP-04.06.00.08/src/u-boot/u-boot-04.06.00.08/tools -DCONFIG_SYS_TEXT_BASE=0x80100000 -DUSE_HOSTCC -D__KERNEL_STRICT_NAMES -c -o /home/ilinkin/beaglebone/AM335X-LINUX-PSP-04.06.00.08/src/u-boot/u-boot-04.06.00.08/am335x/tools/env_embedded.o /home/ilinkin/beaglebone/AM335X-LINUX-PSP-04.06.00.08/src/u-boot/u-boot-04.06.00.08/common/env_embedded.c
gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -idirafter /home/ilinkin/beaglebone/AM335X-LINUX-PSP-04.06.00.08/src/u-boot/u-boot-04.06.00.08/include -idirafter /home/ilinkin/beaglebone/AM335X-LINUX-PSP-04.06.00.08/src/u-boot/u-boot-04.06.00.08/am335x/include2 -idirafter /home/ilinkin/beaglebone/AM335X-LINUX-PSP-04.06.00.08/src/u-boot/u-boot-04.06.00.08/am335x/include -I /home/ilinkin/beaglebone/AM335X-LINUX-PSP-04.06.00.08/src/u-boot/u-boot-04.06.00.08/lib/libfdt -I /home/ilinkin/beaglebone/AM335X-LINUX-PSP-04.06.00.08/src/u-boot/u-boot-04.06.00.08/tools -DCONFIG_SYS_TEXT_BASE=0x80100000 -DUSE_HOSTCC -D__KERNEL_STRICT_NAMES -pedantic -o /home/ilinkin/beaglebone/AM335X-LINUX-PSP-04.06.00.08/src/u-boot/u-boot-04.06.00.08/am335x/tools/envcrc.o envcrc.c -c
gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -idirafter /home/ilinkin/beaglebone/AM335X-LINUX-PSP-04.06.00.08/src/u-boot/u-boot-04.06.00.08/include -idirafter /home/ilinkin/beaglebone/AM335X-LINUX-PSP-04.06.00.08/src/u-boot/u-boot-04.06.00.08/am335x/include2 -idirafter /home/ilinkin/beaglebone/AM335X-LINUX-PSP-04.06.00.08/src/u-boot/u-boot-04.06.00.08/am335x/include -I /home/ilinkin/beaglebone/AM335X-LINUX-PSP-04.06.00.08/src/u-boot/u-boot-04.06.00.08/lib/libfdt -I /home/ilinkin/beaglebone/AM335X-LINUX-PSP-04.06.00.08/src/u-boot/u-boot-04.06.00.08/tools -DCONFIG_SYS_TEXT_BASE=0x80100000 -DUSE_HOSTCC -D__KERNEL_STRICT_NAMES -pedantic -o /home/ilinkin/beaglebone/AM335X-LINUX-PSP-04.06.00.08/src/u-boot/u-boot-04.06.00.08/am335x/tools/envcrc /home/ilinkin/beaglebone/AM335X-LINUX-PSP-04.06.00.08/src/u-boot/u-boot-04.06.00.08/am335x/tools/crc32.o /home/ilinkin/beaglebone/AM335X-LINUX-PSP-04.06.00.08/src/u-boot/u-boot-04.06.00.08/am335x/tools/env_embedded.o /home/ilinkin/beaglebone/AM335X-LINUX-PSP-04.06.00.08/src/u-boot/u-boot-04.06.00.08/am335x/tools/envcrc.o /home/ilinkin/beaglebone/AM335X-LINUX-PSP-04.06.00.08/src/u-boot/u-boot-04.06.00.08/am335x/tools/sha1.o
make[2]: Leaving directory '/home/ilinkin/beaglebone/AM335X-LINUX-PSP-04.06.00.08/src/u-boot/u-boot-04.06.00.08/tools'
make -C examples/standalone all
make[2]: Entering directory '/home/ilinkin/beaglebone/AM335X-LINUX-PSP-04.06.00.08/src/u-boot/u-boot-04.06.00.08/examples/standalone'
arm-linux-gnueabihf-gcc -g -Os -fno-common -ffixed-r8 -msoft-float -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x80100000 -DCONFIG_SPL_TEXT_BASE=0x402F0400 -I/home/ilinkin/beaglebone/AM335X-LINUX-PSP-04.06.00.08/src/u-boot/u-boot-04.06.00.08/am335x/include2 -I/home/ilinkin/beaglebone/AM335X-LINUX-PSP-04.06.00.08/src/u-boot/u-boot-04.06.00.08/am335x/include -I/home/ilinkin/beaglebone/AM335X-LINUX-PSP-04.06.00.08/src/u-boot/u-boot-04.06.00.08/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc-cross/arm-linux-gnueabihf/5/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 -fno-toplevel-reorder -o /home/ilinkin/beaglebone/AM335X-LINUX-PSP-04.06.00.08/src/u-boot/u-boot-04.06.00.08/am335x/examples/standalone/hello_world.o hello_world.c -c
arm-linux-gnueabihf-gcc -g -Os -fno-common -ffixed-r8 -msoft-float -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x80100000 -DCONFIG_SPL_TEXT_BASE=0x402F0400 -I/home/ilinkin/beaglebone/AM335X-LINUX-PSP-04.06.00.08/src/u-boot/u-boot-04.06.00.08/am335x/include2 -I/home/ilinkin/beaglebone/AM335X-LINUX-PSP-04.06.00.08/src/u-boot/u-boot-04.06.00.08/am335x/include -I/home/ilinkin/beaglebone/AM335X-LINUX-PSP-04.06.00.08/src/u-boot/u-boot-04.06.00.08/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc-cross/arm-linux-gnueabihf/5/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 -fno-toplevel-reorder -o /home/ilinkin/beaglebone/AM335X-LINUX-PSP-04.06.00.08/src/u-boot/u-boot-04.06.00.08/am335x/examples/standalone/stubs.o stubs.c -c
arm-linux-gnueabihf-ld -r -o /home/ilinkin/beaglebone/AM335X-LINUX-PSP-04.06.00.08/src/u-boot/u-boot-04.06.00.08/am335x/examples/standalone/libstubs.o /home/ilinkin/beaglebone/AM335X-LINUX-PSP-04.06.00.08/src/u-boot/u-boot-04.06.00.08/am335x/examples/standalone/stubs.o
arm-linux-gnueabihf-ld -g -Ttext 0x80300000 \
-o /home/ilinkin/beaglebone/AM335X-LINUX-PSP-04.06.00.08/src/u-boot/u-boot-04.06.00.08/am335x/examples/standalone/hello_world -e hello_world /home/ilinkin/beaglebone/AM335X-LINUX-PSP-04.06.00.08/src/u-boot/u-boot-04.06.00.08/am335x/examples/standalone/hello_world.o /home/ilinkin/beaglebone/AM335X-LINUX-PSP-04.06.00.08/src/u-boot/u-boot-04.06.00.08/am335x/examples/standalone/libstubs.o \
-L/usr/lib/gcc-cross/arm-linux-gnueabihf/5 -lgcc
arm-linux-gnueabihf-objcopy -O srec /home/ilinkin/beaglebone/AM335X-LINUX-PSP-04.06.00.08/src/u-boot/u-boot-04.06.00.08/am335x/examples/standalone/hello_world /home/ilinkin/beaglebone/AM335X-LINUX-PSP-04.06.00.08/src/u-boot/u-boot-04.06.00.08/am335x/examples/standalone/hello_world.srec 2>/dev/null
arm-linux-gnueabihf-objcopy -O binary /home/ilinkin/beaglebone/AM335X-LINUX-PSP-04.06.00.08/src/u-boot/u-boot-04.06.00.08/am335x/examples/standalone/hello_world /home/ilinkin/beaglebone/AM335X-LINUX-PSP-04.06.00.08/src/u-boot/u-boot-04.06.00.08/am335x/examples/standalone/hello_world.bin 2>/dev/null
make[2]: Leaving directory '/home/ilinkin/beaglebone/AM335X-LINUX-PSP-04.06.00.08/src/u-boot/u-boot-04.06.00.08/examples/standalone'
make -C examples/api all
make[2]: Entering directory '/home/ilinkin/beaglebone/AM335X-LINUX-PSP-04.06.00.08/src/u-boot/u-boot-04.06.00.08/examples/api'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/home/ilinkin/beaglebone/AM335X-LINUX-PSP-04.06.00.08/src/u-boot/u-boot-04.06.00.08/examples/api'
make -C arch/arm/cpu/armv7 /home/ilinkin/beaglebone/AM335X-LINUX-PSP-04.06.00.08/src/u-boot/u-boot-04.06.00.08/am335x/arch/arm/cpu/armv7/start.o
make[2]: Entering directory '/home/ilinkin/beaglebone/AM335X-LINUX-PSP-04.06.00.08/src/u-boot/u-boot-04.06.00.08/arch/arm/cpu/armv7'
arm-linux-gnueabihf-gcc -D__ASSEMBLY__ -g -Os -fno-common -ffixed-r8 -msoft-float -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x80100000 -DCONFIG_SPL_TEXT_BASE=0x402F0400 -I/home/ilinkin/beaglebone/AM335X-LINUX-PSP-04.06.00.08/src/u-boot/u-boot-04.06.00.08/am335x/include2 -I/home/ilinkin/beaglebone/AM335X-LINUX-PSP-04.06.00.08/src/u-boot/u-boot-04.06.00.08/am335x/include -I/home/ilinkin/beaglebone/AM335X-LINUX-PSP-04.06.00.08/src/u-boot/u-boot-04.06.00.08/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc-cross/arm-linux-gnueabihf/5/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv5 -o /home/ilinkin/beaglebone/AM335X-LINUX-PSP-04.06.00.08/src/u-boot/u-boot-04.06.00.08/am335x/arch/arm/cpu/armv7/start.o start.S -c
make[2]: Leaving directory '/home/ilinkin/beaglebone/AM335X-LINUX-PSP-04.06.00.08/src/u-boot/u-boot-04.06.00.08/arch/arm/cpu/armv7'
make -C api/
make[2]: Entering directory '/home/ilinkin/beaglebone/AM335X-LINUX-PSP-04.06.00.08/src/u-boot/u-boot-04.06.00.08/api'
make[2]: '/home/ilinkin/beaglebone/AM335X-LINUX-PSP-04.06.00.08/src/u-boot/u-boot-04.06.00.08/am335x/api/libapi.o' is up to date.
make[2]: Leaving directory '/home/ilinkin/beaglebone/AM335X-LINUX-PSP-04.06.00.08/src/u-boot/u-boot-04.06.00.08/api'
make -C arch/arm/cpu/armv7/
make[2]: Entering directory '/home/ilinkin/beaglebone/AM335X-LINUX-PSP-04.06.00.08/src/u-boot/u-boot-04.06.00.08/arch/arm/cpu/armv7'
arm-linux-gnueabihf-gcc -g -Os -fno-common -ffixed-r8 -msoft-float -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x80100000 -DCONFIG_SPL_TEXT_BASE=0x402F0400 -I/home/ilinkin/beaglebone/AM335X-LINUX-PSP-04.06.00.08/src/u-boot/u-boot-04.06.00.08/am335x/include2 -I/home/ilinkin/beaglebone/AM335X-LINUX-PSP-04.06.00.08/src/u-boot/u-boot-04.06.00.08/am335x/include -I/home/ilinkin/beaglebone/AM335X-LINUX-PSP-04.06.00.08/src/u-boot/u-boot-04.06.00.08/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc-cross/arm-linux-gnueabihf/5/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 /home/ilinkin/beaglebone/AM335X-LINUX-PSP-04.06.00.08/src/u-boot/u-boot-04.06.00.08/am335x/arch/arm/cpu/armv7/cache_v7.o cache_v7.c -c
arm-linux-gnueabihf-gcc -g -Os -fno-common -ffixed-r8 -msoft-float -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x80100000 -DCONFIG_SPL_TEXT_BASE=0x402F0400 -I/home/ilinkin/beaglebone/AM335X-LINUX-PSP-04.06.00.08/src/u-boot/u-boot-04.06.00.08/am335x/include2 -I/home/ilinkin/beaglebone/AM335X-LINUX-PSP-04.06.00.08/src/u-boot/u-boot-04.06.00.08/am335x/include -I/home/ilinkin/beaglebone/AM335X-LINUX-PSP-04.06.00.08/src/u-boot/u-boot-04.06.00.08/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc-cross/arm-linux-gnueabihf/5/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 /home/ilinkin/beaglebone/AM335X-LINUX-PSP-04.06.00.08/src/u-boot/u-boot-04.06.00.08/am335x/arch/arm/cpu/armv7/cpu.o cpu.c -c
arm-linux-gnueabihf-gcc -g -Os -fno-common -ffixed-r8 -msoft-float -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x80100000 -DCONFIG_SPL_TEXT_BASE=0x402F0400 -I/home/ilinkin/beaglebone/AM335X-LINUX-PSP-04.06.00.08/src/u-boot/u-boot-04.06.00.08/am335x/include2 -I/home/ilinkin/beaglebone/AM335X-LINUX-PSP-04.06.00.08/src/u-boot/u-boot-04.06.00.08/am335x/include -I/home/ilinkin/beaglebone/AM335X-LINUX-PSP-04.06.00.08/src/u-boot/u-boot-04.06.00.08/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc-cross/arm-linux-gnueabihf/5/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 /home/ilinkin/beaglebone/AM335X-LINUX-PSP-04.06.00.08/src/u-boot/u-boot-04.06.00.08/am335x/arch/arm/cpu/armv7/syslib.o syslib.c -c
arm-linux-gnueabihf-ld -r -o /home/ilinkin/beaglebone/AM335X-LINUX-PSP-04.06.00.08/src/u-boot/u-boot-04.06.00.08/am335x/arch/arm/cpu/armv7/libarmv7.o /home/ilinkin/beaglebone/AM335X-LINUX-PSP-04.06.00.08/src/u-boot/u-boot-04.06.00.08/am335x/arch/arm/cpu/armv7/cache_v7.o /home/ilinkin/beaglebone/AM335X-LINUX-PSP-04.06.00.08/src/u-boot/u-boot-04.06.00.08/am335x/arch/arm/cpu/armv7/cpu.o /home/ilinkin/beaglebone/AM335X-LINUX-PSP-04.06.00.08/src/u-boot/u-boot-04.06.00.08/am335x/arch/arm/cpu/armv7/syslib.o
make[2]: Leaving directory '/home/ilinkin/beaglebone/AM335X-LINUX-PSP-04.06.00.08/src/u-boot/u-boot-04.06.00.08/arch/arm/cpu/armv7'
make -C arch/arm/cpu/armv7/omap-common/
make[2]: Entering directory '/home/ilinkin/beaglebone/AM335X-LINUX-PSP-04.06.00.08/src/u-boot/u-boot-04.06.00.08/arch/arm/cpu/armv7/omap-common'
arm-linux-gnueabihf-gcc -D__ASSEMBLY__ -g -Os -fno-common -ffixed-r8 -msoft-float -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x80100000 -DCONFIG_SPL_TEXT_BASE=0x402F0400 -I/home/ilinkin/beaglebone/AM335X-LINUX-PSP-04.06.00.08/src/u-boot/u-boot-04.06.00.08/am335x/include2 -I/home/ilinkin/beaglebone/AM335X-LINUX-PSP-04.06.00.08/src/u-boot/u-boot-04.06.00.08/am335x/include -I/home/ilinkin/beaglebone/AM335X-LINUX-PSP-04.06.00.08/src/u-boot/u-boot-04.06.00.08/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc-cross/arm-linux-gnueabihf/5/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv5 -o /home/ilinkin/beaglebone/AM335X-LINUX-PSP-04.06.00.08/src/u-boot/u-boot-04.06.00.08/am335x/arch/arm/cpu/armv7/omap-common/reset.o reset.S -c
arm-linux-gnueabihf-gcc -g -Os -fno-common -ffixed-r8 -msoft-float -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x80100000 -DCONFIG_SPL_TEXT_BASE=0x402F0400 -I/home/ilinkin/beaglebone/AM335X-LINUX-PSP-04.06.00.08/src/u-boot/u-boot-04.06.00.08/am335x/include2 -I/home/ilinkin/beaglebone/AM335X-LINUX-PSP-04.06.00.08/src/u-boot/u-boot-04.06.00.08/am335x/include -I/home/ilinkin/beaglebone/AM335X-LINUX-PSP-04.06.00.08/src/u-boot/u-boot-04.06.00.08/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc-cross/arm-linux-gnueabihf/5/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 /home/ilinkin/beaglebone/AM335X-LINUX-PSP-04.06.00.08/src/u-boot/u-boot-04.06.00.08/am335x/arch/arm/cpu/armv7/omap-common/timer.o timer.c -c
arm-linux-gnueabihf-gcc -g -Os -fno-common -ffixed-r8 -msoft-float -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x80100000 -DCONFIG_SPL_TEXT_BASE=0x402F0400 -I/home/ilinkin/beaglebone/AM335X-LINUX-PSP-04.06.00.08/src/u-boot/u-boot-04.06.00.08/am335x/include2 -I/home/ilinkin/beaglebone/AM335X-LINUX-PSP-04.06.00.08/src/u-boot/u-boot-04.06.00.08/am335x/include -I/home/ilinkin/beaglebone/AM335X-LINUX-PSP-04.06.00.08/src/u-boot/u-boot-04.06.00.08/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc-cross/arm-linux-gnueabihf/5/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 /home/ilinkin/beaglebone/AM335X-LINUX-PSP-04.06.00.08/src/u-boot/u-boot-04.06.00.08/am335x/arch/arm/cpu/armv7/omap-common/utils.o utils.c -c
arm-linux-gnueabihf-gcc -g -Os -fno-common -ffixed-r8 -msoft-float -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x80100000 -DCONFIG_SPL_TEXT_BASE=0x402F0400 -I/home/ilinkin/beaglebone/AM335X-LINUX-PSP-04.06.00.08/src/u-boot/u-boot-04.06.00.08/am335x/include2 -I/home/ilinkin/beaglebone/AM335X-LINUX-PSP-04.06.00.08/src/u-boot/u-boot-04.06.00.08/am335x/include -I/home/ilinkin/beaglebone/AM335X-LINUX-PSP-04.06.00.08/src/u-boot/u-boot-04.06.00.08/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc-cross/arm-linux-gnueabihf/5/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 /home/ilinkin/beaglebone/AM335X-LINUX-PSP-04.06.00.08/src/u-boot/u-boot-04.06.00.08/am335x/arch/arm/cpu/armv7/omap-common/gpio.o gpio.c -c
arm-linux-gnueabihf-gcc -g -Os -fno-common -ffixed-r8 -msoft-float -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x80100000 -DCONFIG_SPL_TEXT_BASE=0x402F0400 -I/home/ilinkin/beaglebone/AM335X-LINUX-PSP-04.06.00.08/src/u-boot/u-boot-04.06.00.08/am335x/include2 -I/home/ilinkin/beaglebone/AM335X-LINUX-PSP-04.06.00.08/src/u-boot/u-boot-04.06.00.08/am335x/include -I/home/ilinkin/beaglebone/AM335X-LINUX-PSP-04.06.00.08/src/u-boot/u-boot-04.06.00.08/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc-cross/arm-linux-gnueabihf/5/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 /home/ilinkin/beaglebone/AM335X-LINUX-PSP-04.06.00.08/src/u-boot/u-boot-04.06.00.08/am335x/arch/arm/cpu/armv7/omap-common/boot-common.o boot-common.c -c
arm-linux-gnueabihf-ld -r -o /home/ilinkin/beaglebone/AM335X-LINUX-PSP-04.06.00.08/src/u-boot/u-boot-04.06.00.08/am335x/arch/arm/cpu/armv7/omap-common/libomap-common.o /home/ilinkin/beaglebone/AM335X-LINUX-PSP-04.06.00.08/src/u-boot/u-boot-04.06.00.08/am335x/arch/arm/cpu/armv7/omap-common/reset.o /home/ilinkin/beaglebone/AM335X-LINUX-PSP-04.06.00.08/src/u-boot/u-boot-04.06.00.08/am335x/arch/arm/cpu/armv7/omap-common/lowlevel_init.o /home/ilinkin/beaglebone/AM335X-LINUX-PSP-04.06.00.08/src/u-boot/u-boot-04.06.00.08/am335x/arch/arm/cpu/armv7/omap-common/timer.o /home/ilinkin/beaglebone/AM335X-LINUX-PSP-04.06.00.08/src/u-boot/u-boot-04.06.00.08/am335x/arch/arm/cpu/armv7/omap-common/utils.o /home/ilinkin/beaglebone/AM335X-LINUX-PSP-04.06.00.08/src/u-boot/u-boot-04.06.00.08/am335x/arch/arm/cpu/armv7/omap-common/gpio.o /home/ilinkin/beaglebone/AM335X-LINUX-PSP-04.06.00.08/src/u-boot/u-boot-04.06.00.08/am335x/arch/arm/cpu/armv7/omap-common/boot-common.o
/home/ilinkin/beaglebone/AM335X-LINUX-PSP-04.06.00.08/src/u-boot/u-boot-04.06.00.08/am335x/arch/arm/cpu/armv7/omap-common/gpio.o: In function `__raw_writesb':
/home/ilinkin/beaglebone/AM335X-LINUX-PSP-04.06.00.08/src/u-boot/u-boot-04.06.00.08/am335x/include2/asm/io.h:79: multiple definition of `__raw_writesb'
/home/ilinkin/beaglebone/AM335X-LINUX-PSP-04.06.00.08/src/u-boot/u-boot-04.06.00.08/am335x/arch/arm/cpu/armv7/omap-common/timer.o:/home/ilinkin/beaglebone/AM335X-LINUX-PSP-04.06.00.08/src/u-boot/u-boot-04.06.00.08/am335x/include2/asm/io.h:79: first defined here
/home/ilinkin/beaglebone/AM335X-LINUX-PSP-04.06.00.08/src/u-boot/u-boot-04.06.00.08/am335x/arch/arm/cpu/armv7/omap-common/gpio.o: In function `__raw_writesw':
/home/ilinkin/beaglebone/AM335X-LINUX-PSP-04.06.00.08/src/u-boot/u-boot-04.06.00.08/am335x/include2/asm/io.h:86: multiple definition of `__raw_writesw'
/home/ilinkin/beaglebone/AM335X-LINUX-PSP-04.06.00.08/src/u-boot/u-boot-04.06.00.08/am335x/arch/arm/cpu/armv7/omap-common/timer.o:/home/ilinkin/beaglebone/AM335X-LINUX-PSP-04.06.00.08/src/u-boot/u-boot-04.06.00.08/am335x/include2/asm/io.h:86: first defined here
/home/ilinkin/beaglebone/AM335X-LINUX-PSP-04.06.00.08/src/u-boot/u-boot-04.06.00.08/am335x/arch/arm/cpu/armv7/omap-common/gpio.o: In function `__raw_writesl':
/home/ilinkin/beaglebone/AM335X-LINUX-PSP-04.06.00.08/src/u-boot/u-boot-04.06.00.08/am335x/include2/asm/io.h:95: multiple definition of `__raw_writesl'
/home/ilinkin/beaglebone/AM335X-LINUX-PSP-04.06.00.08/src/u-boot/u-boot-04.06.00.08/am335x/arch/arm/cpu/armv7/omap-common/timer.o:/home/ilinkin/beaglebone/AM335X-LINUX-PSP-04.06.00.08/src/u-boot/u-boot-04.06.00.08/am335x/include2/asm/io.h:95: first defined here
/home/ilinkin/beaglebone/AM335X-LINUX-PSP-04.06.00.08/src/u-boot/u-boot-04.06.00.08/am335x/arch/arm/cpu/armv7/omap-common/gpio.o: In function `__raw_readsb':
/home/ilinkin/beaglebone/AM335X-LINUX-PSP-04.06.00.08/src/u-boot/u-boot-04.06.00.08/am335x/include2/asm/io.h:100: multiple definition of `__raw_readsb'
/home/ilinkin/beaglebone/AM335X-LINUX-PSP-04.06.00.08/src/u-boot/u-boot-04.06.00.08/am335x/arch/arm/cpu/armv7/omap-common/timer.o:/home/ilinkin/beaglebone/AM335X-LINUX-PSP-04.06.00.08/src/u-boot/u-boot-04.06.00.08/am335x/include2/asm/io.h:100: first defined here
/home/ilinkin/beaglebone/AM335X-LINUX-PSP-04.06.00.08/src/u-boot/u-boot-04.06.00.08/am335x/arch/arm/cpu/armv7/omap-common/gpio.o: In function `__raw_readsw':
/home/ilinkin/beaglebone/AM335X-LINUX-PSP-04.06.00.08/src/u-boot/u-boot-04.06.00.08/am335x/include2/asm/io.h:107: multiple definition of `__raw_readsw'
/home/ilinkin/beaglebone/AM335X-LINUX-PSP-04.06.00.08/src/u-boot/u-boot-04.06.00.08/am335x/arch/arm/cpu/armv7/omap-common/timer.o:/home/ilinkin/beaglebone/AM335X-LINUX-PSP-04.06.00.08/src/u-boot/u-boot-04.06.00.08/am335x/include2/asm/io.h:107: first defined here
/home/ilinkin/beaglebone/AM335X-LINUX-PSP-04.06.00.08/src/u-boot/u-boot-04.06.00.08/am335x/arch/arm/cpu/armv7/omap-common/gpio.o: In function `__raw_readsl':
/home/ilinkin/beaglebone/AM335X-LINUX-PSP-04.06.00.08/src/u-boot/u-boot-04.06.00.08/am335x/include2/asm/io.h:116: multiple definition of `__raw_readsl'
/home/ilinkin/beaglebone/AM335X-LINUX-PSP-04.06.00.08/src/u-boot/u-boot-04.06.00.08/am335x/arch/arm/cpu/armv7/omap-common/timer.o:/home/ilinkin/beaglebone/AM335X-LINUX-PSP-04.06.00.08/src/u-boot/u-boot-04.06.00.08/am335x/include2/asm/io.h:116: first defined here
Makefile:63: recipe for target '/home/ilinkin/beaglebone/AM335X-LINUX-PSP-04.06.00.08/src/u-boot/u-boot-04.06.00.08/am335x/arch/arm/cpu/armv7/omap-common/libomap-common.o' failed
make[2]: *** [/home/ilinkin/beaglebone/AM335X-LINUX-PSP-04.06.00.08/src/u-boot/u-boot-04.06.00.08/am335x/arch/arm/cpu/armv7/omap-common/libomap-common.o] Error 1
make[2]: Leaving directory '/home/ilinkin/beaglebone/AM335X-LINUX-PSP-04.06.00.08/src/u-boot/u-boot-04.06.00.08/arch/arm/cpu/armv7/omap-common'
Makefile:425: recipe for target '/home/ilinkin/beaglebone/AM335X-LINUX-PSP-04.06.00.08/src/u-boot/u-boot-04.06.00.08/am335x/arch/arm/cpu/armv7/omap-common/libomap-common.o' failed
make[1]: *** [/home/ilinkin/beaglebone/AM335X-LINUX-PSP-04.06.00.08/src/u-boot/u-boot-04.06.00.08/am335x/arch/arm/cpu/armv7/omap-common/libomap-common.o] Error 2
make[1]: Leaving directory '/home/ilinkin/beaglebone/AM335X-LINUX-PSP-04.06.00.08/src/u-boot/u-boot-04.06.00.08'
/home/ilinkin/beaglebone/AM335X-LINUX-PSP-04.06.00.08/src/u-boot/u-boot-04.06.00.08/am335x/.boards.depend:133: recipe for target 'am335x_evm' failed
make: *** [am335x_evm] Error 2
Denny%20Yang99373:
直接在SDK根目录
make u-boot
试试