* [U-Boot-Users] About a make error: "too many `l's in integer constant"
[not found] ` <20051214152542.39F2B353416@atlas.denx.de>
@ 2005-12-16 8:35 ` James Chen (���┩�)
2005-12-16 8:41 ` Gerhard Jaeger
2005-12-16 10:14 ` Wolfgang Denk
0 siblings, 2 replies; 8+ messages in thread
From: James Chen (���┩�) @ 2005-12-16 8:35 UTC (permalink / raw)
To: u-boot
I tried the ELDK toolchain (version arm-2005-03-06.iso), but this
error still occurs.
Best Regards.
On 12/14/05, Wolfgang Denk <wd@denx.de> wrote:
> In message <eca8910f0512140716l197e80f6o388a987ab9d9ecf@mail.gmail.com> you wrote:
> >
> > 1. Is there any website providing workable toolchain for u-boot?
>
> You can use the ELDK; see http://www.denx.de/wiki/view/DULG/ELDKAvailability
>
> > 2. The following patch solves my problem, but I am not sure why this works?
>
> Neither am I. But your toolchain must be badly misconfigured or
> otherwise broken, so who knows.
>
> 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
> It may be that your whole purpose in life is simply to serve as a
> warning to others.
>
^ permalink raw reply [flat|nested] 8+ messages in thread* [U-Boot-Users] About a make error: "too many `l's in integer constant"
2005-12-16 8:35 ` [U-Boot-Users] About a make error: "too many `l's in integer constant" James Chen (���┩�)
@ 2005-12-16 8:41 ` Gerhard Jaeger
2005-12-16 8:55 ` James Chen (���┩�)
2005-12-16 10:14 ` Wolfgang Denk
1 sibling, 1 reply; 8+ messages in thread
From: Gerhard Jaeger @ 2005-12-16 8:41 UTC (permalink / raw)
To: u-boot
Hi,
On Friday 16 December 2005 09:35, James Chen wrote:
> I tried the ELDK toolchain (version arm-2005-03-06.iso), but this
> error still occurs.
>
> Best Regards.
>
> On 12/14/05, Wolfgang Denk <wd@denx.de> wrote:
> > In message <eca8910f0512140716l197e80f6o388a987ab9d9ecf@mail.gmail.com> you wrote:
> > >
> > > 1. Is there any website providing workable toolchain for u-boot?
> >
> > You can use the ELDK; see http://www.denx.de/wiki/view/DULG/ELDKAvailability
> >
> > > 2. The following patch solves my problem, but I am not sure why this works?
> >
> > Neither am I. But your toolchain must be badly misconfigured or
> > otherwise broken, so who knows.
> >
> > Best regards,
> >
> > Wolfgang Denk
> >
at that stage it's not a problem of your cross-toolchain, it's the problem of
the host compiler, having an old i.e. 2.95 compiler on your build system will
cause this error and as you stated correctly will disappear, when removing that
pedantic flag.
So, no worries, the u-boot should work.
Gerhard
--
Gerhard Jaeger <gjaeger@sysgo.com>
SYSGO AG Embedded and Real-Time Software
www.sysgo.com | www.elinos.com | www.pikeos.com | www.osek.de
^ permalink raw reply [flat|nested] 8+ messages in thread
* [U-Boot-Users] About a make error: "too many `l's in integer constant"
2005-12-16 8:41 ` Gerhard Jaeger
@ 2005-12-16 8:55 ` James Chen (���┩�)
0 siblings, 0 replies; 8+ messages in thread
From: James Chen (���┩�) @ 2005-12-16 8:55 UTC (permalink / raw)
To: u-boot
Thanks, it is really the host compiler version problem.
But why does the HOST_CFLAGS involve in the process of the cross-compilation?
Best Regards.
On 12/16/05, Gerhard Jaeger <g.jaeger@sysgo.com> wrote:
> Hi,
>
> On Friday 16 December 2005 09:35, James Chen wrote:
> > I tried the ELDK toolchain (version arm-2005-03-06.iso), but this
> > error still occurs.
> >
> > Best Regards.
> >
> > On 12/14/05, Wolfgang Denk <wd@denx.de> wrote:
> > > In message <eca8910f0512140716l197e80f6o388a987ab9d9ecf@mail.gmail.com> you wrote:
> > > >
> > > > 1. Is there any website providing workable toolchain for u-boot?
> > >
> > > You can use the ELDK; see http://www.denx.de/wiki/view/DULG/ELDKAvailability
> > >
> > > > 2. The following patch solves my problem, but I am not sure why this works?
> > >
> > > Neither am I. But your toolchain must be badly misconfigured or
> > > otherwise broken, so who knows.
> > >
> > > Best regards,
> > >
> > > Wolfgang Denk
> > >
>
> at that stage it's not a problem of your cross-toolchain, it's the problem of
> the host compiler, having an old i.e. 2.95 compiler on your build system will
> cause this error and as you stated correctly will disappear, when removing that
> pedantic flag.
>
> So, no worries, the u-boot should work.
>
> Gerhard
>
> --
> Gerhard Jaeger <gjaeger@sysgo.com>
> SYSGO AG Embedded and Real-Time Software
> www.sysgo.com | www.elinos.com | www.pikeos.com | www.osek.de
>
>
^ permalink raw reply [flat|nested] 8+ messages in thread
* [U-Boot-Users] About a make error: "too many `l's in integer constant"
2005-12-16 8:35 ` [U-Boot-Users] About a make error: "too many `l's in integer constant" James Chen (���┩�)
2005-12-16 8:41 ` Gerhard Jaeger
@ 2005-12-16 10:14 ` Wolfgang Denk
1 sibling, 0 replies; 8+ messages in thread
From: Wolfgang Denk @ 2005-12-16 10:14 UTC (permalink / raw)
To: u-boot
In message <eca8910f0512160035r11285654m3e7a6e6bf4e1c6ea@mail.gmail.com> you wrote:
> I tried the ELDK toolchain (version arm-2005-03-06.iso), but this
> error still occurs.
It works fine here. So probably your source code is corrupted. Please
make sure you have a clean source tree.
Is there any chance that a Windoze system was involved which crippled
the sources?
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
I wish Captain Vimes were here. He wouldn't have known what to do
either, but he's got a much better vocabulary to be baffled in.
- Terry Pratchett, _Guards! Guards!_
^ permalink raw reply [flat|nested] 8+ messages in thread
* [U-Boot-Users] About a make error: "too many `l's in integer constant"
@ 2005-12-14 14:13 James Chen (���┩�)
2005-12-14 14:43 ` Wolfgang Denk
0 siblings, 1 reply; 8+ messages in thread
From: James Chen (���┩�) @ 2005-12-14 14:13 UTC (permalink / raw)
To: u-boot
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.
^ permalink raw reply [flat|nested] 8+ messages in thread* [U-Boot-Users] About a make error: "too many `l's in integer constant"
2005-12-14 14:13 James Chen (���┩�)
@ 2005-12-14 14:43 ` Wolfgang Denk
2005-12-16 8:32 ` James Chen (���┩�)
0 siblings, 1 reply; 8+ messages in thread
From: Wolfgang Denk @ 2005-12-14 14:43 UTC (permalink / raw)
To: u-boot
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 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_
^ permalink raw reply [flat|nested] 8+ messages in thread
* [U-Boot-Users] About a make error: "too many `l's in integer constant"
2005-12-14 14:43 ` Wolfgang Denk
@ 2005-12-16 8:32 ` James Chen (���┩�)
2005-12-16 10:12 ` Wolfgang Denk
0 siblings, 1 reply; 8+ messages in thread
From: James Chen (���┩�) @ 2005-12-16 8:32 UTC (permalink / raw)
To: u-boot
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 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_
>
^ permalink raw reply [flat|nested] 8+ messages in thread
* [U-Boot-Users] About a make error: "too many `l's in integer constant"
2005-12-16 8:32 ` James Chen (���┩�)
@ 2005-12-16 10:12 ` Wolfgang Denk
0 siblings, 0 replies; 8+ messages in thread
From: Wolfgang Denk @ 2005-12-16 10:12 UTC (permalink / raw)
To: u-boot
In message <eca8910f0512160032k7eef68eeld6a2b11409a3f2c2@mail.gmail.com> you wrote:
> 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?
I answered this before.
Why are you reposting the same message again?
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
Any technology distinguishable from magic is insufficiently advanced.
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2005-12-16 10:14 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <eca8910f0512140716l197e80f6o388a987ab9d9ecf@mail.gmail.com>
[not found] ` <20051214152542.39F2B353416@atlas.denx.de>
2005-12-16 8:35 ` [U-Boot-Users] About a make error: "too many `l's in integer constant" James Chen (���┩�)
2005-12-16 8:41 ` Gerhard Jaeger
2005-12-16 8:55 ` James Chen (���┩�)
2005-12-16 10:14 ` Wolfgang Denk
2005-12-14 14:13 James Chen (���┩�)
2005-12-14 14:43 ` Wolfgang Denk
2005-12-16 8:32 ` James Chen (���┩�)
2005-12-16 10:12 ` Wolfgang Denk
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.