public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] kfreebsd build failure - fw_env.c:43:27: error: mtd/mtd-user.h: No such file or directory
@ 2011-02-07 21:09 Loïc Minier
  2011-02-07 22:06 ` Wolfgang Denk
  0 siblings, 1 reply; 6+ messages in thread
From: Loïc Minier @ 2011-02-07 21:09 UTC (permalink / raw)
  To: u-boot

        Hey

 "make tools-all" fails under Debian kfreebsd-amd64 and -i386 due to the
 lack of MTD headers:
make[2]: Entering directory `/build/buildd-u-boot_2010.12-2-kfreebsd-i386-yWW1BA/u-boot-2010.12/tools/env'
gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -idirafter /build/buildd-u-boot_2010.12-2-kfreebsd-i386-yWW1BA/u-boot-2010.12/include -idirafter /build/buildd-u-boot_2010.12-2-kfreebsd-i386-yWW1BA/u-boot-2010.12/include2 -idirafter /build/buildd-u-boot_2010.12-2-kfreebsd-i386-yWW1BA/u-boot-2010.12/include -DUSE_HOSTCC  -o fw_printenv crc32.c  fw_env.c  fw_env_main.c
fw_env.c:43:27: error: mtd/mtd-user.h: No such file or directory
[...]
 https://buildd.debian.org/fetch.cgi?pkg=u-boot&arch=kfreebsd-i386&ver=2010.12-2&stamp=1295512921&file=log&as=raw

 I didn't find any MTD header in the kfreebsd package.

 Would someone know whether this is supposed to build under freebsd?

 If not, does it make sense to ifdef out the MTD uses in fw_env.c?  (I
 think it's also possible to interact with real files containing the
 environment.)

 If not, I guess this should be removed from tools-all is mtd/mtd-user.h
 isn't found; is there any recommendation in doing this?

   Cheers,
-- 
Lo?c Minier

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

end of thread, other threads:[~2011-04-12 19:46 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-02-07 21:09 [U-Boot] kfreebsd build failure - fw_env.c:43:27: error: mtd/mtd-user.h: No such file or directory Loïc Minier
2011-02-07 22:06 ` Wolfgang Denk
2011-02-07 22:23   ` Loïc Minier
2011-02-07 23:23   ` [U-Boot] [PATCH] Only build fw_printenv if we have mtd/mtd-user.h Loïc Minier
2011-04-12 19:27     ` Wolfgang Denk
2011-04-12 19:46       ` Loïc Minier

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