<DIV>
<DIV>Hi guys,</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;&nbsp;&nbsp; I am now working on ELDK4.1+u-boot.1.3.1&nbsp;in my Ubuntu linux, however I encounter a&nbsp;weird problem when&nbsp;I tried to compile u-boot each time with command:</DIV>
<DIV>make distclean;make B2_config;make clean;make</DIV>
<DIV>(see log)</DIV>
<DIV>&nbsp;</DIV>
<DIV>But I can compile with command:</DIV>
<DIV>make distclean;make B2_config;make clean;make;make</DIV>
<DIV>(see log)</DIV>
<DIV>&nbsp;</DIV>
<DIV>Why I can't compile u-boot in the first time? while I can compile it in the second time.</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV>log as below:</DIV>
<DIV><A href="mailto:denny@ubuntu:/arm44b0/u-boot-1.3.1$" target="_blank">denny@ubuntu:/arm44b0/u-boot-1.3.1$</A> make clean;make<BR>find /arm44b0/u-boot-1.3.1 -type f \<BR>\( -name 'core' -o -name '*.bak' -o -name '*~' \<BR>-o -name '*.o'&nbsp; -o -name '*.a'&nbsp; \) -print \<BR>| xargs rm -f<BR>rm -f examples/hello_world examples/timer \<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; examples/eepro100_eeprom examples/sched \<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; examples/mem_to_mem_idma2intr examples/82559_eeprom \<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; examples/smc91111_eeprom examples/interrupt \<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; examples/test_burst<BR>rm -f tools/img2srec tools/mkimage tools/envcrc \<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; tools/gen_eth_addr tools/ubsha1<BR>rm -f tools/mpc86x_clk tools/ncb<BR>rm -f tools/easylogo/easylogo tools/bmp_logo<BR>rm -f tools/gdb/astest tools/gdb/gdbcont tools/gdb/gdbsend<BR>rm -f tools/env/fw_printenv tools/env/fw_setenv<BR>rm -f board/cray/L1/bootscript.c board/cray/L1/bootscript.image<BR>rm -f board/netstar/eeprom board/netstar/crcek board/netstar/crcit<BR>rm -f board/netstar/*.srec board/netstar/*.bin<BR>rm -f board/trab/trab_fkt board/voiceblue/eeprom<BR>rm -f board/integratorap/u-boot.lds board/integratorcp/u-boot.lds<BR>rm -f board/bf533-ezkit/u-boot.lds board/bf533-stamp/u-boot.lds<BR>rm -f board/bf537-stamp/u-boot.lds board/bf561-ezkit/u-boot.lds<BR>rm -f include/bmp_logo.h<BR>rm -f nand_spl/u-boot-spl nand_spl/u-boot-spl.map<BR>for dir in tools examples ; do make -C $dir _depend ; done<BR>make[1]: Entering directory `/arm44b0/u-boot-1.3.1/tools'<BR>make[1]: Nothing to be done for `_depend'.<BR>make[1]: Leaving directory `/arm44b0/u-boot-1.3.1/tools'<BR>make[1]: Entering directory `/arm44b0/u-boot-1.3.1/examples'<BR>make[1]: Nothing to be done for `_depend'.<BR>make[1]: Leaving directory `/arm44b0/u-boot-1.3.1/examples'<BR>make -C tools all<BR>make[1]: Entering directory `/arm44b0/u-boot-1.3.1/tools'<BR>gcc -Wall -pedantic -idirafter /arm44b0/u-boot-1.3.1/include -idirafter /arm44b0/u-boot-1.3.1/include2 -idirafter /arm44b0/u-boot-1.3.1/include -DTEXT_BASE=0x0C100000 -DUSE_HOSTCC -O -c -o img2srec.o img2srec.c<BR>gcc -Wall -pedantic -idirafter /arm44b0/u-boot-1.3.1/include -idirafter /arm44b0/u-boot-1.3.1/include2 -idirafter /arm44b0/u-boot-1.3.1/include -DTEXT_BASE=0x0C100000 -DUSE_HOSTCC -O&nbsp; -o img2srec img2srec.o<BR>strip img2srec<BR>gcc -g -Wall -pedantic -idirafter /arm44b0/u-boot-1.3.1/include -idirafter /arm44b0/u-boot-1.3.1/include2 -idirafter /arm44b0/u-boot-1.3.1/include -DTEXT_BASE=0x0C100000 -DUSE_HOSTCC -O -c -o mkimage.o mkimage.c<BR>gcc -g -Wall -pedantic -idirafter /arm44b0/u-boot-1.3.1/include -idirafter /arm44b0/u-boot-1.3.1/include2 -idirafter /arm44b0/u-boot-1.3.1/include -DTEXT_BASE=0x0C100000 -DUSE_HOSTCC -O -c -o crc32o crc32.c<BR>gcc -g -Wall -pedantic -idirafter /arm44b0/u-boot-1.3.1/include -idirafter /arm44b0/u-boot-1.3.1/include2 -idirafter /arm44b0/u-boot-1.31/include -DTEXT_BASE=0x0C100000 -DUSE_HOSTCC -O -c -o sha1.o sha1.c<BR>sha1.c: In function 'sha1_update':<BR>sha1.c:245: warning: implicit declaration of function 'memcpy'<BR>sha1.c:245: warning: incompatible implicit declaration of built-in function 'memcpy'<BR>sha1.c:259: warning: incompatible implicit declaration of built-in function 'memcpy'<BR>sha1.c: In function 'sha1_hmac':<BR>sha1.c:323: warning: implicit declaration of function 'memset'<BR>sha1.c:323: warning: incompatible implicit declaration of built-in function 'memset'<BR>gcc -Wall -pedantic -idirafter /arm44b0/u-boot-1.3.1/include -idirafter /arm44b0/u-boot-1.3.1/include2 -idirafter /arm44b0/u-boot-1.3.1/include -DTEXT_BASE=0x0C100000 -DUSE_HOSTCC -O&nbsp; -o mkimage mkimage.o crc32.o sha1.o<BR>strip mkimage<BR>gcc -g -Wall -pedantic -idirafter /arm44b0/u-boot-1.3.1/include -idirafter /arm44b0/u-boot-1.3.1/include2 -idirafter /arm44b0/u-boot-1.3.1/include -DTEXT_BASE=0x0C100000 -DUSE_HOSTCC -O -c -o envcrc.o envcrc.c<BR>gcc -g&nbsp; -idirafter /arm44b0/u-boot-1.3.1/include -idirafter /arm44b0/u-boot-1.3.1/include2 -idirafter /arm44b0/u-boot-1.3.1/include -DTEXT_BASE=0x0C100000 -DUSE_HOSTCC -c -o environment.o environment.c<BR>gcc -Wall -pedantic -idirafter /arm44b0/u-boot-1.3.1/include -idirafter /arm44b0/u-boot-1.3.1/include2 -idirafter /arm44b0/u-boot-1.3.1/include -DTEXT_BASE=0x0C100000 -DUSE_HOSTCC -O -o envcrc envcrc.o crc32.o environment.o sha1.o<BR>gcc -g -Wall -pedantic -idirafter /arm44b0/u-boot-1.3.1/include -idirafter /arm44b0/u-boot-1.3.1/include2 -idirafter /arm44b0/u-boot-1.3.1/include -DTEXT_BASE=0x0C100000 -DUSE_HOSTCC -O -c -o ubsha1.o ubsha1.c<BR>gcc -Wall -pedantic -idirafter /arm44b0/u-boot-1.3.1/include -idirafter /arm44b0/u-boot-1.3.1/include2 -idirafter /arm44b0/u-boot-1.3.1/include -DTEXT_BASE=0x0C100000 -DUSE_HOSTCC -O -o ubsha1 ubsha1.o sha1.o<BR>gcc -g -Wall -pedantic -idirafter /arm44b0/u-boot-1.3.1/include -idirafter /arm44b0/u-boot-1.3.1/include2 -idirafter /arm44b0/u-boot-1.3.1/include -DTEXT_BASE=0x0C100000 -DUSE_HOSTCC -O -c -o gen_eth_addr.o gen_eth_addr.c<BR>gcc -Wall -pedantic -idirafter /arm44b0/u-boot-1.3.1/include -idirafter /arm44b0/u-boot-1.3.1/include2 -idirafter /arm44b0/u-boot-1.3.1/include -DTEXT_BASE=0x0C100000 -DUSE_HOSTCC -O&nbsp; -o gen_eth_addr gen_eth_addr.o<BR>strip gen_eth_addr<BR>gcc -Wall -pedantic -idirafter /arm44b0/u-boot-1.3.1/include -idirafter /arm44b0/u-boot-1.3.1/include2 -idirafter /arm44b0/u-boot-1.3.1/include -DTEXT_BASE=0x0C100000 -DUSE_HOSTCC -O -c -o bmp_logo.o bmp_logo.c<BR>gcc -Wall -pedantic -idirafter /arm44b0/u-boot-1.3.1/include -idirafter /arm44b0/u-boot-1.3.1/include2 -idirafter /arm44b0/u-boot-1.3.1/include -DTEXT_BASE=0x0C100000 -DUSE_HOSTCC -O&nbsp; -o bmp_logo bmp_logo.o<BR>strip bmp_logo<BR>./bmp_logo logos/denx.bmp &gt;/arm44b0/u-boot-1.3.1/include/bmp_logo.h<BR>./bmp_logo: 1: Syntax error: word unexpected (expecting ")")<BR>make[1]: *** [/arm44b0/u-boot-1.3.1/include/bmp_logo.h] Error 2<BR>make[1]: Leaving directory `/arm44b0/u-boot-1.3.1/tools'<BR>make: *** [tools] Error 2<BR><A href="mailto:denny@ubuntu:/arm44b0/u-boot-1.3.1$" target="_blank">denny@ubuntu:/arm44b0/u-boot-1.3.1$</A> make<BR>for dir in tools examples ; do make -C $dir _depend ; done<BR>make[1]: Entering directory `/arm44b0/u-boot-1.3.1/tools'<BR>make[1]: Nothing to be done for `_depend'.<BR>make[1]: Leaving directory `/arm44b0/u-boot-1.3.1/tools'<BR>make[1]: Entering directory `/arm44b0/u-boot-1.3.1/examples'<BR>make[1]: Nothing to be done for `_depend'.<BR>make[1]: Leaving directory `/arm44b0/u-boot-1.3.1/examples'<BR>make -C tools all<BR>make[1]: Entering directory `/arm44b0/u-boot-1.3.1/tools'<BR>make[1]: Leaving directory `/arm44b0/u-boot-1.3.1/tools'<BR>make -C examples all<BR>make[1]: Entering directory `/arm44b0/u-boot-1.3.1/examples'<BR>arm-linux-gcc -g&nbsp; -Os&nbsp;&nbsp; -fno-strict-aliasing&nbsp; -fno-common -ffixed-r8 -msoft-float&nbsp; -D__KERNEL__ -DTEXT_BASE=0x0C100000&nbsp; -I/arm44b0/u-boot-1.3.1/include -fno-builtin -ffreestanding -nostdinc -isystem /arm44b0/eldk/usr/bin/../lib/gcc/arm-linux/4.0.0/include -pipe&nbsp; -DCONFIG_ARM -D__ARM__ -march=armv4 -mtune=arm7tdmi -msoft-float -mabi=apcs-gnu -Uarm -Wall -Wstrict-prototypes -c -o hello_world.o hello_world.c<BR>arm-linux-gcc -g&nbsp; -Os&nbsp;&nbsp; -fno-strict-aliasing&nbsp; -fno-common -ffixed-r8 -msoft-float&nbsp; -D__KERNEL__ -DTEXT_BASE=0x0C100000&nbsp; -I/arm44b0/u-boot-1.3.1/include -fno-builtin -ffreestanding -nostdinc -isystem /arm44b0/eldk/usr/bin/../lib/gcc/arm-linux/4.0.0/include -pipe&nbsp; -DCONFIG_ARM -D__ARM__ -march=armv4 -mtune=arm7tdmi -msoft-float -mabi=apcs-gnu -Uarm -Wall -Wstrict-prototypes -c -o stubs.o stubs.c<BR>arm-linux-ar crv libstubs.a stubs.o<BR>a - stubs.o<BR>arm-linux-ld -g&nbsp; -Ttext 0xc100000 \<BR>&nbsp;&nbsp;-o hello_world -e hello_world hello_world.o libstubs.a \<BR>&nbsp;&nbsp;-L/arm44b0/eldk/usr/bin/../lib/gcc/arm-linux/4.0.0 -lgcc<BR>arm-linux-objcopy -O srec hello_world hello_world.srec 2&gt;/dev/null<BR>arm-linux-objcopy -O binary hello_world hello_world.bin 2&gt;/dev/null<BR>make[1]: Leaving directory `/arm44b0/u-boot-1.3.1/examples'<BR>make -C cpu/s3c44b0 start.o<BR>make[1]: Entering directory `/arm44b0/u-boot-1.3.1/cpu/s3c44b0'<BR>arm-linux-gcc&nbsp; -D__ASSEMBLY__ -g&nbsp; -Os&nbsp;&nbsp; -fno-strict-aliasing&nbsp; -fno-common -ffixed-r8 -msoft-float&nbsp; -D__KERNEL__ -DTEXT_BASE=0x0C100000&nbsp; -I/arm44b0/u-boot-1.3.1/include -fno-builtin -ffreestanding -nostdinc -isystem /arm44b0/eldk/usr/bin/../lib/gcc/arm-linux/4.0.0/include -pipe&nbsp; -DCONFIG_ARM -D__ARM__ -march=armv4 -mtune=arm7tdmi -msoft-float -mabi=apcs-gnu -Uarm -c -o start.o start.S<BR>make[1]: Leaving directory `/arm44b0/u-boot-1.3.1/cpu/s3c44b0'<BR>make -C lib_generic/<BR>make[1]: Entering directory `/arm44b0/u-boot-1.3.1/lib_generic'<BR>arm-linux-gcc -g&nbsp; -Os&nbsp;&nbsp; -fno-strict-aliasing&nbsp; -fno-common -ffixed-r8 -msoft-float&nbsp; -D__KERNEL__ -DTEXT_BASE=0x0C100000&nbsp; -I/arm44b0/u-boot-1.3.1/include -fno-builtin -ffreestanding -nostdinc -isystem /arm44b0/eldk/usr/bin/../lib/gcc/arm-linux/4.0.0/include -pipe&nbsp; -DCONFIG_ARM -D__ARM__ -march=armv4 -mtune=arm7tdmi -msoft-float -mabi=apcs-gnu -Uarm -Wall -Wstrict-prototypes -c -o bzlib.o bzlib.c<BR>arm-linux-gcc -g&nbsp; -Os&nbsp;&nbsp; -fno-strict-aliasing&nbsp; -fno-common -ffixed-r8 -msoft-float&nbsp; -D__KERNEL__ -DTEXT_BASE=0x0C100000&nbsp; -I/arm44b0/u-boot-1.3.1/include -fno-builtin -ffreestanding -nostdinc -isystem /arm44b0/eldk/usr/bin/../lib/gcc/arm-linux/4.0.0/include -pipe&nbsp; -DCONFIG_ARM -D__ARM__ -march=armv4 -mtune=arm7tdmi -msoft-float -mabi=apcs-gnu -Uarm -Wall -Wstrict-prototypes -c -o bzlib_crctable.o bzlib_crctable.c<BR>arm-linux-gcc -g&nbsp; -Os&nbsp;&nbsp; -fno-strict-aliasing&nbsp; -fno-common -ffixed-r8 -msoft-float&nbsp; -D__KERNEL__ -DTEXT_BASE=0x0C100000&nbsp; -I/arm44b0/u-boot-1.3.1/include -fno-builtin -ffreestanding -nostdinc -isystem /arm44b0/eldk/usr/bin/../lib/gcc/arm-linux/4.0.0/include -pipe&nbsp; -DCONFIG_ARM -D__ARM__ -march=armv4 -mtune=arm7tdmi -msoft-float -mabi=apcs-gnu -Uarm -Wall -Wstrict-prototypes -c -o bzlib_decompress.o bzlib_decompress.c<BR>arm-linux-gcc -g&nbsp; -Os&nbsp;&nbsp; -fno-strict-aliasing&nbsp; -fno-common -ffixed-r8 -msoft-float&nbsp; -D__KERNEL__ -DTEXT_BASE=0x0C100000&nbsp; -I/arm44b0/u-boot-1.3.1/include -fno-builtin -ffreestanding -nostdinc -isystem /arm44b0/eldk/usr/bin/../lib/gcc/arm-linux/4.0.0/include -pipe&nbsp; -DCONFIG_ARM -D__ARM__ -march=armv4 -mtune=arm7tdmi -msoft-float -mabi=apcs-gnu -Uarm -Wall -Wstrict-prototypes -c -o bzlib_randtable.o bzlib_randtable.c<BR>arm-linux-gcc -g&nbsp; -Os&nbsp;&nbsp; -fno-strict-aliasing&nbsp; -fno-common -ffixed-r8 -msoft-float&nbsp; -D__KERNEL__ -DTEXT_BASE=0x0C100000&nbsp; -I/arm44b0/u-boot-1.3.1/include -fno-builtin -ffreestanding -nostdinc -isystem /arm44b0/eldk/usr/bin/../lib/gcc/arm-linux/4.0.0/include -pipe&nbsp; -DCONFIG_ARM -D__ARM__ -march=armv4 -mtune=arm7tdmi -msoft-float -mabi=apcs-gnu -Uarm -Wall -Wstrict-prototypes -c -o bzlib_huffman.o bzlib_huffman.c<BR>arm-linux-gcc -g&nbsp; -Os&nbsp;&nbsp; -fno-strict-aliasing&nbsp; -fno-common -ffixed-r8 -msoft-float&nbsp; -D__KERNEL__ -DTEXT_BASE=0x0C100000&nbsp; -I/arm44b0/u-boot-1.3.1/include -fno-builtin -ffreestanding -nostdinc -isystem /arm44b0/eldk/usr/bin/../lib/gcc/arm-linux/4.0.0/include -pipe&nbsp; -DCONFIG_ARM -D__ARM__ -march=armv4 -mtune=arm7tdmi -msoft-float -mabi=apcs-gnu -Uarm -Wall -Wstrict-prototypes -c -o crc32.o crc32.c<BR>arm-linux-gcc -g&nbsp; -Os&nbsp;&nbsp; -fno-strict-aliasing&nbsp; -fno-common -ffixed-r8 -msoft-float&nbsp; -D__KERNEL__ -DTEXT_BASE=0x0C100000&nbsp; -I/arm44b0/u-boot-1.3.1/include -fno-builtin -ffreestanding -nostdinc -isystem /arm44b0/eldk/usr/bin/../lib/gcc/arm-linux/4.0.0/include -pipe&nbsp; -DCONFIG_ARM -D__ARM__ -march=armv4 -mtune=arm7tdmi -msoft-float -mabi=apcs-gnu -Uarm -Wall -Wstrict-prototypes -c -o ctype.o ctype.c<BR>arm-linux-gcc -g&nbsp; -Os&nbsp;&nbsp; -fno-strict-aliasing&nbsp; -fno-common -ffixed-r8 -msoft-float&nbsp; -D__KERNEL__ -DTEXT_BASE=0x0C100000&nbsp; -I/arm44b0/u-boot-1.3.1/include -fno-builtin -ffreestanding -nostdinc -isystem /arm44b0/eldk/usr/bin/../lib/gcc/arm-linux/4.0.0/include -pipe&nbsp; -DCONFIG_ARM -D__ARM__ -march=armv4 -mtune=arm7tdmi -msoft-float -mabi=apcs-gnu -Uarm -Wall -Wstrict-prototypes -c -o display_options.o display_options.c<BR>arm-linux-gcc -g&nbsp; -Os&nbsp;&nbsp; -fno-stri</DIV>
<DIV>......</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV>,Regards<BR>- Denny</DIV>
<DIV>&nbsp;</DIV></DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV></DIV><BR>