Skip to contentSkip to conversation

Errors while executing 'make' for u-boot-1.1.6 for incaip board

U-Boot-Users Verma 2 participants 2 messages Sep 12, 2007

lore
Share & tools
lore

Verma

author
#0 lore raw

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.

Signature · 2 lines
View this message in context: http://www.nabble.com/Errors-while-executing-%27make%27-for-u-boot-1.1.6-for-incaip-board-tf4428422.html#a12632914
Sent from the Uboot - Users mailing list archive at Nabble.com.
#1 lore raw
Quoted 4 lines · In message <[email protected]> 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...

Quoted 1 line

/usr/lib/gcc-lib/mips-linux/2.95.4/include -pipe -DCONFIG_MIPS -D__MIPS__

...and gcc-2.95 is just prehistoric.

Quoted 2 lines

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

Signature · 4 lines
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
You can only live once, but if you do it right, once is enough.