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

=?GB2312?Q?James_Chen_=28=EA=90=8F=A9=CD=A2=29?= yentingchen at gmail.com
Fri Dec 16 09:32:17 CET 2005


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 at denx.de> wrote:
> In message <eca8910f0512140613n639040clbc103bf850e3b3bc at 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 at 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_
>




More information about the U-Boot mailing list