[U-Boot] problem building fw_printenv
Scott Wood
scottwood at freescale.com
Fri Dec 11 00:45:29 CET 2009
Wolfgang Denk wrote:
>> fw_env.c:43:27: error: mtd/mtd-user.h: No such file or directory
>>
>> So then, I have this problem with mtd-user.h not being found. If I
>> define MTD_VERSION=old, it then uses mtd.h and gets further but
>> encounters another error within mtd.h.
>
> There will probably more problems to follow...
>
>> Seems like I shouldn't have to define MTD_VERSION=old in the first
>> place, but without it no mtd-user.h file. Any more suggestions?
>
> Try a sane build environment?
I have the same problems building this. We need to define phys_addr_t
somewhere if we're going to include u-boot internal headers in a user tool.
-Scott
More information about the U-Boot
mailing list