[U-Boot] compiling uboot in MacOSX
vibnwis
vibnwis at yahoo.com
Tue Jan 13 13:20:09 CET 2009
Hi there,
I don't seem to able to compile the uboot 1.1.6 for ARM. Here are the error message. I've tried to edit the Makefile to the knowledge I know. Actually I don't know much, so I am justing guessing most of the time. Hopefully someone able to shade some light here. Please help. I am so depressed by this.
BTW, I don't seem able to find to way to go to the uboot forum. I am sending this in hoping somehow I will get the reply sent directly to my email inbox.
Thanks
wikikiwi:u-boot-1.1.6 ibookg4test$ make all
for dir in tools examples post post/cpu ; do make -C $dir _depend ; done
make[1]: Circular environment.c <- environment.c dependency dropped.
ln -s ../common/environment.c environment.c
make[1]: Circular crc32.c <- crc32.c dependency dropped.
ln -s ../lib_generic/crc32.c crc32.c
make[1]: Circular img2srec.c <- img2srec.c dependency dropped.
make[1]: Circular mkimage.c <- mkimage.c dependency dropped.
make[1]: Circular envcrc.c <- envcrc.c dependency dropped.
make[1]: Circular gen_eth_addr.c <- gen_eth_addr.c dependency dropped.
make[1]: Circular bmp_logo.c <- bmp_logo.c dependency dropped.
make[1]: Circular environment.c <- environment.c dependency dropped.
ln -s ../common/environment.c environment.c
make[1]: Circular crc32.c <- crc32.c dependency dropped.
ln -s ../lib_generic/crc32.c crc32.c
make[1]: Circular img2srec.c <- img2srec.c dependency dropped.
make[1]: Circular mkimage.c <- mkimage.c dependency dropped.
make[1]: Circular envcrc.c <- envcrc.c dependency dropped.
make[1]: Circular gen_eth_addr.c <- gen_eth_addr.c dependency dropped.
make[1]: Circular bmp_logo.c <- bmp_logo.c dependency dropped.
make[1]: Nothing to be done for `_depend'.
make[1]: Circular hello_world.c <- hello_world.c dependency dropped.
make[1]: Circular stubs.c <- stubs.c dependency dropped.
make[1]: Nothing to be done for `_depend'.
make[1]: Circular cache_8xx.S <- cache_8xx.S dependency dropped.
make[1]: Circular cache.c <- cache.c dependency dropped.
make[1]: Circular codec.c <- codec.c dependency dropped.
make[1]: Circular cpu.c <- cpu.c dependency dropped.
make[1]: Circular dsp.c <- dsp.c dependency dropped.
make[1]: Circular ether.c <- ether.c dependency dropped.
make[1]: Circular i2c.c <- i2c.c dependency dropped.
make[1]: Circular memory.c <- memory.c dependency dropped.
make[1]: Circular post.c <- post.c dependency dropped.
make[1]: Circular rtc.c <- rtc.c dependency dropped.
make[1]: Circular spr.c <- spr.c dependency dropped.
make[1]: Circular sysmon.c <- sysmon.c dependency dropped.
make[1]: Circular tests.c <- tests.c dependency dropped.
make[1]: Circular uart.c <- uart.c dependency dropped.
make[1]: Circular usb.c <- usb.c dependency dropped.
make[1]: Circular watchdog.c <- watchdog.c dependency dropped.
make[1]: Nothing to be done for `_depend'.
make[1]: Circular asm.S <- asm.S dependency dropped.
make[1]: Circular cmp.c <- cmp.c dependency dropped.
make[1]: Circular cmpi.c <- cmpi.c dependency dropped.
make[1]: Circular two.c <- two.c dependency dropped.
make[1]: Circular twox.c <- twox.c dependency dropped.
make[1]: Circular three.c <- three.c dependency dropped.
make[1]: Circular threex.c <- threex.c dependency dropped.
make[1]: Circular threei.c <- threei.c dependency dropped.
make[1]: Circular andi.c <- andi.c dependency dropped.
make[1]: Circular srawi.c <- srawi.c dependency dropped.
make[1]: Circular rlwnm.c <- rlwnm.c dependency dropped.
make[1]: Circular rlwinm.c <- rlwinm.c dependency dropped.
make[1]: Circular rlwimi.c <- rlwimi.c dependency dropped.
make[1]: Circular store.c <- store.c dependency dropped.
make[1]: Circular load.c <- load.c dependency dropped.
make[1]: Circular cr.c <- cr.c dependency dropped.
make[1]: Circular b.c <- b.c dependency dropped.
make[1]: Circular multi.c <- multi.c dependency dropped.
make[1]: Circular string.c <- string.c dependency dropped.
make[1]: Circular complex.c <- complex.c dependency dropped.
make[1]: Nothing to be done for `_depend'.
make -C tools all
make[1]: Circular environment.c <- environment.c dependency dropped.
ln -s ../common/environment.c environment.c
make[1]: Circular crc32.c <- crc32.c dependency dropped.
ln -s ../lib_generic/crc32.c crc32.c
make[1]: Circular img2srec.c <- img2srec.c dependency dropped.
make[1]: Circular mkimage.c <- mkimage.c dependency dropped.
make[1]: Circular envcrc.c <- envcrc.c dependency dropped.
make[1]: Circular gen_eth_addr.c <- gen_eth_addr.c dependency dropped.
make[1]: Circular bmp_logo.c <- bmp_logo.c dependency dropped.
cc -traditional-cpp -Wall -idirafter /Users/ibookg4test/u-boot-1.1.6/include -idirafter /Users/ibookg4test/u-boot-1.1.6/include2 -idirafter /Users/ibookg4test/u-boot-1.1.6/include -DTEXT_BASE=0x0CF80000 -DUSE_HOSTCC -O -c -o img2srec.o img2srec.c
In file included from /usr/include/stdlib.h:63,
from img2srec.c:59:
/usr/include/available.h:85: error: stray ‘#’ in program
/usr/include/available.h:85: error: syntax error before numeric constant
/usr/include/available.h:86: error: stray ‘#’ in program
/usr/include/available.h:87: error: stray ‘#’ in program
/usr/include/available.h:88: error: stray ‘#’ in program
/usr/include/available.h:89: error: stray ‘#’ in program
/usr/include/available.h:90: error: stray ‘#’ in program
/usr/include/available.h:91: error: stray ‘#’ in program
/usr/include/available.h:92: error: stray ‘#’ in program
/usr/include/available.h:93: error: stray ‘#’ in program
/usr/include/available.h:100: error: stray ‘#’ in program
/usr/include/available.h:101: error: stray ‘#’ in program
/usr/include/available.h:102: error: stray ‘#’ in program
/usr/include/available.h:103: error: stray ‘#’ in program
/usr/include/available.h:104: error: stray ‘#’ in program
/usr/include/available.h:114: error: stray ‘#’ in program
/usr/include/available.h:125: error: stray ‘#’ in program
/usr/include/available.h:132: error: stray ‘#’ in program
/usr/include/available.h:141: error: stray ‘#’ in program
/usr/include/available.h:181: error: stray ‘#’ in program
/usr/include/available.h:197: error: stray ‘#’ in program
/usr/include/available.h:209: error: stray ‘#’ in program
/usr/include/available.h:220: error: stray ‘#’ in program
/usr/include/available.h:235: error: stray ‘#’ in program
/usr/include/available.h:251: error: stray ‘#’ in program
/usr/include/available.h:263: error: stray ‘#’ in program
/usr/include/available.h:275: error: stray ‘#’ in program
/usr/include/available.h:286: error: stray ‘#’ in program
/usr/include/available.h:299: error: stray ‘#’ in program
/usr/include/available.h:315: error: stray ‘#’ in program
/usr/include/available.h:327: error: stray ‘#’ in program
/usr/include/available.h:339: error: stray ‘#’ in program
/usr/include/available.h:351: error: stray ‘#’ in program
/usr/include/available.h:362: error: stray ‘#’ in program
/usr/include/available.h:376: error: stray ‘#’ in program
/usr/include/available.h:392: error: stray ‘#’ in program
/usr/include/available.h:404: error: stray ‘#’ in program
/usr/include/available.h:416: error: stray ‘#’ in program
/usr/include/available.h:428: error: stray ‘#’ in program
/usr/include/available.h:440: error: stray ‘#’ in program
/usr/include/available.h:451: error: stray ‘#’ in program
/usr/include/available.h:464: error: stray ‘#’ in program
/usr/include/available.h:480: error: stray ‘#’ in program
/usr/include/available.h:492: error: stray ‘#’ in program
/usr/include/available.h:504: error: stray ‘#’ in program
/usr/include/available.h:516: error: stray ‘#’ in program
/usr/include/available.h:528: error: stray ‘#’ in program
/usr/include/available.h:540: error: stray ‘#’ in program
/usr/include/available.h:551: error: stray ‘#’ in program
In file included from /usr/include/stdlib.h:67,
from img2srec.c:59:
/usr/include/sys/wait.h:258: error: syntax error before ‘id_t’
In file included from img2srec.c:59:
/usr/include/stdlib.h:283: error: syntax error before ‘__AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_5’
make[1]: *** [img2srec.o] Error 1
make: *** [tools] Error 2
More information about the U-Boot
mailing list