[U-Boot-Users] About a make error: "too many `l's in integer constant"

Dear all, I want to build a image for SMDK2410, so I do the following: $ make smdk2410_config $ make all But I got this error message:
make -C tools all make[1]: Entering directory `/home/cyt/svnwork/u-boot/u-boot-1.1.3/trunk/tools' gcc -Wall -pedantic -idirafter ../include -DTEXT_BASE=0x33F80000 -DUSE_HOSTCC -O -c -o img2srec.o img2srec.c gcc -Wall -pedantic -idirafter ../include -DTEXT_BASE=0x33F80000 -DUSE_HOSTCC -O -o img2srec img2srec.o strip img2srec gcc -g -Wall -pedantic -idirafter ../include -DTEXT_BASE=0x33F80000 -DUSE_HOSTCC -O -c mkimage.c gcc -g -Wall -pedantic -idirafter ../include -DTEXT_BASE=0x33F80000 -DUSE_HOSTCC -O -c crc32.c gcc -Wall -pedantic -idirafter ../include -DTEXT_BASE=0x33F80000 -DUSE_HOSTCC -O -o mkimage mkimage.o crc32.o strip mkimage gcc -g -Wall -pedantic -idirafter ../include -DTEXT_BASE=0x33F80000 -DUSE_HOSTCC -O -c envcrc.c In file included from ../include/config.h:2, from envcrc.c:32: ../include/configs/smdk2410.h:101: too many `l's in integer constant make[1]: *** [envcrc.o] Error 1 make[1]: Leaving directory `/home/cyt/svnwork/u-boot/u-boot-1.1.3/trunk/tools' make: *** [tools] Error 2
My arm-linux-gcc is 3.2.
I cannot figure out what this message means? Any suggestions?
Thanks.

In message eca8910f0512140613n639040clbc103bf850e3b3bc@mail.gmail.com you wrote:
I want to build a image for SMDK2410, so I do the following: $ make smdk2410_config $ make all
Looks good.
But I got this error message:
...
../include/configs/smdk2410.h:101: too many `l's in integer constant
...
My arm-linux-gcc is 3.2.
I cannot figure out what this message means? Any suggestions?
Your toolchain seems to be badly broken. Use a working one, please.
Best regards,
Wolfgang Denk

Thanks for your reply.
1. Is there any website providing workable toolchain for u-boot? 2. The following patch solves my problem, but I am not sure why this works?
Index: tools/Makefile =================================================================== --- tools/Makefile (revision 2) +++ tools/Makefile (working copy) @@ -85,7 +85,7 @@ # Everyone else # else -HOST_CFLAGS = -Wall -pedantic +HOST_CFLAGS = -Wall HOST_LDFLAGS = HOST_ENVIRO_CFLAGS = endif
Best Regards.
On 12/14/05, Wolfgang Denk wd@denx.de wrote:
In message eca8910f0512140613n639040clbc103bf850e3b3bc@mail.gmail.com you wrote:
I want to build a image for SMDK2410, so I do the following: $ make smdk2410_config $ make all
Looks good.
But I got this error message:
...
../include/configs/smdk2410.h:101: too many `l's in integer constant
...
My arm-linux-gcc is 3.2.
I cannot figure out what this message means? Any suggestions?
Your toolchain seems to be badly broken. Use a working one, please.
Best regards,
Wolfgang Denk
-- Software Engineering: Embedded and Realtime Systems, Embedded Linux Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd@denx.de No question is too silly to ask. Of course, some questions are too silly to to answer... - L. Wall & R. L. Schwartz, _Programming Perl_

In message eca8910f0512160032k7eef68eeld6a2b11409a3f2c2@mail.gmail.com you wrote:
Thanks for your reply.
- Is there any website providing workable toolchain for u-boot?
- The following patch solves my problem, but I am not sure why this works?
I answered this before.
Why are you reposting the same message again?
Best regards,
Wolfgang Denk
participants (2)
-
James Chen (ꐏ┩�)
-
Wolfgang Denk