[U-Boot-Users] Errors while executing 'make' for u-boot-1.1.6 for incaip board

Hi ,
Errors are generated ,when I am trying to create the u-boot.bin for u-boot-1.1.6 version using the following commands. -make incaip_config -make / make all
The errors generated are as follows:make[1]: Entering directory `/opt/u-boot-1.1.6/post/cpu'
make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/opt/u-boot-1.1.6/post/cpu' make -C common/ make[1]: Entering directory `/opt/u-boot-1.1.6/common' mips_4KC-gcc -g -Os -D__KERNEL__ -DTEXT_BASE=0xB0000000 -I/opt/u-boot-1.1.6/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc-lib/mips-linux/2.95.4/include -pipe -DCONFIG_MIPS -D__MIPS__ -mcpu=4kc -EB -mabicalls -Wall -Wstrict-prototypes -c -o cmd_bootm.o cmd_bootm.c cmd_bootm.c:477: warning: preprocessing directive not recognized within macro arg cmd_bootm.c:477: warning: preprocessing directive not recognized within macro arg cmd_bootm.c:469: undefined or invalid # directive cmd_bootm.c:475: undefined or invalid # directive make[1]: *** [cmd_bootm.o] Error 1 make[1]: Leaving directory `/opt/u-boot-1.1.6/common' make: *** [common/libcommon.a] Error 2
How can I avoid these errors, should I make any particular modifications to any of the Makefiles.Please let me know.
Verma.

In message 12632914.post@talk.nabble.com you wrote:
Errors are generated ,when I am trying to create the u-boot.bin for u-boot-1.1.6 version using the following commands.
Well, U-Boot 1.1.6 is very old...
/usr/lib/gcc-lib/mips-linux/2.95.4/include -pipe -DCONFIG_MIPS -D__MIPS__
...and gcc-2.95 is just prehistoric.
How can I avoid these errors, should I make any particular modifications to any of the Makefiles.Please let me know.
Try using current versions of U-Boot combined with current toolchains.
Best regards,
Wolfgang Denk
participants (2)
-
Verma
-
Wolfgang Denk