
Hello, it's the same with standard u-boot, compiling MPC8315ERDB. The problem is caused by the installed newer version of the dtc. The libfdt.h differs in the declaration of fdt_offset_ptr.
$diff /usr/include/../include/libfdt.h u-boot-2009.03/include/libfdt.h 125c125 < const void *fdt_offset_ptr(const void *fdt, int offset, int checklen); --- > const void *fdt_offset_ptr(const void *fdt, int offset, unsigned int checklen);
So different declarations are included.
Best Regards Guenter
-----Ursprüngliche Nachricht----- Von: Wolfgang Denk [mailto:wd@denx.de] Gesendet: Mittwoch, 15. April 2009 09:30 An: Günter Leonhardt Cc: u-boot@lists.denx.de Betreff: Re: AW: [U-Boot] Compiler error with BUILD_DIR
Dear =?utf-8?B?R8O8bnRlciBMZW9uaGFyZHQ=?=,
please do not post base64 encoded messages, post plain text only.
And don't top-post / full quote.
Make sure to read http://www.netmeister.org/news/learn2quote.html
In message D0B748CCD5DF144CA5C56A9D860A31341DE5FD@men-exch1.intra.men.de you wrote:
it's an own board, based on MPC8315ERDB.
Well, then there is obviously a problem with the changes you added.
Since you did not submit your changes for inclusion into mainline we have no chance of knowing what you did and what you may have done wrong.
So how can you expect help on this stuff? We're trying to do software engineering here, not clairvoyance.
Best regards,
Wolfgang Denk