[U-Boot] Error compiling UBOOT 1.3.4 for AT91RM9200

Mohamed Thalib .H h.mohamedthalib at gdatech.co.in
Mon Dec 1 08:51:58 CET 2008


On Sat, 2008-11-29 at 14:14 +0100, Linux RegaTech wrote:
> Hello UBOOT mailinglist    
> 
> I have encountered a problem when i try to compile any newer version of UBOOT than V1.2.0 for AT91RM9200,
> below is given the output from console when i try to compile the UBOOT V1.3.4 for AT91RM9200,
> could anybody please give me a hint what a solution to this problem might could be:
> 
> In file included from fdt_host.h:25,
>                  from mkimage.h:36,
>                  from mkimage.c:25:
> ../include/libfdt.h: In function `fdt_set_magic':
> ../include/libfdt.h:162: warning: implicit declaration of function `__cpu_to_be32'
> In file included from mkimage.c:26:
> /home/Rene/uboot134/include/image.h: At top level:
> /home/Rene/uboot134/include/image.h:202: error: parse error before "ulong"
> /home/Rene/uboot134/include/image.h:224: error: parse error before '}' token
> /home/Rene/uboot134/include/image.h:334: error: parse error before "image_get_data"
> /home/Rene/uboot134/include/image.h: In function `image_get_data':
> /home/Rene/uboot134/include/image.h:336: error: `ulong' undeclared (first use in this function)
> /home/Rene/uboot134/include/image.h:336: error: (Each undeclared identifier is reported only once
> /home/Rene/uboot134/include/image.h:336: error: for each function it appears in.)
> /home/Rene/uboot134/include/image.h:336: error: parse error before "hdr"
> /home/Rene/uboot134/include/image.h: At top level:
> /home/Rene/uboot134/include/image.h:343: error: parse error before "image_get_image_end"
> /home/Rene/uboot134/include/image.h: In function `image_get_image_end':
> /home/Rene/uboot134/include/image.h:345: error: `ulong' undeclared (first use in this function)
> /home/Rene/uboot134/include/image.h:345: error: parse error before "hdr"
> /home/Rene/uboot134/include/image.h: At top level:
> /home/Rene/uboot134/include/image.h:402: error: parse error before "image_multi_count"
> /home/Rene/uboot134/include/image.h:403: error: parse error before "ulong"
> /home/Rene/uboot134/include/image.h:477: error: parse error before "ulong"
> /home/Rene/uboot134/include/image.h:479: error: parse error before "ulong"
> /home/Rene/uboot134/include/image.h:493: error: parse error before "fit_get_size"
> /home/Rene/uboot134/include/image.h:505: error: parse error before "fit_get_end"
> /home/Rene/uboot134/include/image.h: In function `fit_get_end':
> /home/Rene/uboot134/include/image.h:507: error: `ulong' undeclared (first use in this function)
> /home/Rene/uboot134/include/image.h:507: error: parse error before "fit"
> /home/Rene/uboot134/include/image.h: At top level:
> /home/Rene/uboot134/include/image.h:532: error: parse error before "ulong"
> /home/Rene/uboot134/include/image.h:533: error: parse error before "ulong"
> make[1]: *** [mkimage.o] Error 1
> make: *** [tools] Error 2 
> 
> Thanks in advance.
> Best regards
> René
> _______________________________________________ U-Boot mailing list U-Boot at lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot\

I think some file inclusion is missing try to inclue it.. the typedef of
ulong is in include/linux/types.h


-- 
Regards,
Mohamed Thalib .H



More information about the U-Boot mailing list