From: Andre Schwarz <andre.schwarz@matrix-vision.de>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] build failure in tools - missing CFG_ENV_SIZE ?
Date: Fri, 06 Jun 2008 09:52:21 +0200 [thread overview]
Message-ID: <4848ECB5.7020703@matrix-vision.de> (raw)
In-Reply-To: <20080605160507.EFC92247FE@gemini.denx.de>
Wolfgang,
thanks for your verification. Trying to do it your way gives :
nova u-boot-clean # CROSS_COMPILE=ppc_6xx- sh MAKEALL TQM5200 MPC8349ITX
Configuring for TQM5200 board...
In file included from environment.c:30:
/home/u-boot-clean/include/environment.h:107: error: 'CFG_ENV_SIZE'
undeclared here (not in a function)
make[1]: *** [environment.o] Error 1
make: *** [tools] Error 2
ppc_6xx-size: './u-boot': No such file
Configuring for MPC8349ITX board...
In file included from environment.c:30:
/home/u-boot-clean/include/environment.h:107: error: 'CFG_ENV_SIZE'
undeclared here (not in a function)
make[1]: *** [environment.o] Error 1
make: *** [tools] Error 2
ppc_6xx-size: './u-boot': No such file
Obviously it's a problem regarding include mechanism.
Changing line 28 in common/environment.c ( <config.h> ->
"../include/config.h") gives positive result :
nova u-boot-clean # CROSS_COMPILE=ppc_6xx- sh MAKEALL TQM5200 MPC8349ITX
Configuring for TQM5200 board...
text data bss dec hex filename
326532 32464 315024 674020 a48e4 ./u-boot
Configuring for MPC8349ITX board...
text data bss dec hex filename
217741 15388 223684 456813 6f86d ./u-boot
Unfortunately I'm not a Makefile expert ... do you have any ideas ?
regards,
Andre
Wolfgang Denk schrieb:
> In message <484808EB.8060904@matrix-vision.de> you wrote:
>
>> after getting a clean u-boot clone (1.3.3 today) I get a compile error
>> in "tools" subdir.
>>
>> I've tried 2 different boards making a "TQM5200_config" and
>> "MPC8349ITX_config" - just to make sure ...
>>
>> "make CROSS_COMPILE=3Dppc_6xx- "
>>
>> cross-compiler is gcc 4.0 as shipped with ELDK 4.1.
>>
>
> Hm. Let's see:
>
> -> MAKEALL TQM5200 MPC8349ITX
> Configuring for TQM5200 board...
> text data bss dec hex filename
> 326532 32456 315024 674012 a48dc ./u-boot
> Configuring for MPC8349ITX board...
> text data bss dec hex filename
> 217741 15388 223684 456813 6f86d ./u-boot
>
> That's U-Boot 1.3.3-00117-g8155efb
>
>
>> Can someome help me out please ?
>>
>
> Sorry, I cannot reproduce the problem.
>
> Best regards,
>
> Wolfgang Denk
>
>
MATRIX VISION GmbH, Talstra?e 16, DE-71570 Oppenweiler - Registergericht: Amtsgericht Stuttgart, HRB 271090
Gesch?ftsf?hrer: Gerhard Thullner, Werner Armingeon, Uwe Furtner
next prev parent reply other threads:[~2008-06-06 7:52 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-06-05 15:40 [U-Boot-Users] build failure in tools - missing CFG_ENV_SIZE ? Andre Schwarz
2008-06-05 16:05 ` Wolfgang Denk
2008-06-06 7:52 ` Andre Schwarz [this message]
2008-06-06 10:23 ` Wolfgang Denk
2008-06-06 11:36 ` Andre Schwarz
2008-06-06 12:06 ` Martin Krause
2008-06-06 12:23 ` Andre Schwarz
2008-06-06 12:28 ` Wolfgang Denk
2008-06-06 12:43 ` Martin Krause
2008-06-06 14:17 ` Wolfgang Denk
2008-06-06 12:23 ` Wolfgang Denk
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4848ECB5.7020703@matrix-vision.de \
--to=andre.schwarz@matrix-vision.de \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.