public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] problem building fw_printenv
@ 2009-12-10  0:38 twebb
  2009-12-10 20:18 ` twebb
  0 siblings, 1 reply; 8+ messages in thread
From: twebb @ 2009-12-10  0:38 UTC (permalink / raw)
  To: u-boot

I'm having problems building fw_printenv.  I'm sure it's simple but
I'm just not getting it.

I'm working with u-boot 2009.01-rc1.  I have the environment variable
CROSS_COMPILE set, and then execute "make env" from the top of the
u-boot source tree.  Capture is below.  I don't had "stdint.h"
anywhere in my environment.  Any ideas what I have wrong?

Thanks,
twebb


jb at jb:u-boot-arm$
jb at jb:u-boot-arm$ echo $CROSS_COMPILE
arm-eabi-
jb at jb:u-boot-arm$
jb at jb:u-boot-arm$ make env
make -C tools/env all MTD_VERSION= || exit 1
make[1]: Entering directory `/home/jb/work-1130/boot/u-boot-arm/tools/env'
arm-eabi-gcc -Wall -DUSE_HOSTCC
-I/home/jb/work-1130/boot/u-boot-arm/include crc32.c  fw_env.c
fw_env_main.c -o fw_printenv
crc32.c:14:20: error: stdint.h: No such file or directory
crc32.c:81: error: expected '=', ',', ';', 'asm' or '__attribute__'
before 'crc_table'
crc32.c:157: error: expected '=', ',', ';', 'asm' or '__attribute__'
before 'crc32'
crc32.c:206: error: expected '=', ',', ';', 'asm' or '__attribute__'
before 'crc32_wd'
fw_env.c:27:19: error: errno.h: No such file or directory
fw_env.c:28:19: error: fcntl.h: No such file or directory
...

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2010-01-18 10:31 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-12-10  0:38 [U-Boot] problem building fw_printenv twebb
2009-12-10 20:18 ` twebb
2009-12-10 20:34   ` Jerry Van Baren
2009-12-10 20:39     ` Scott Wood
2009-12-10 21:20       ` twebb
2009-12-10 23:29         ` Wolfgang Denk
2009-12-10 23:45           ` Scott Wood
2010-01-18 10:31         ` Kári Davíðsson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox