Re: [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

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

Dear Guenter,
please STOP top posting / full quoting!!! Make sure to read http://www.netmeister.org/news/learn2quote.html before posting again. Thanks.
In message D0B748CCD5DF144CA5C56A9D860A31341DE601@men-exch1.intra.men.de you wrote:
it's the same with standard u-boot, compiling MPC8315ERDB.
Hm... I don't see this problem here:
-> git-checkout v2009.03 -> ./MAKEALL MPC8315ERDB Configuring for MPC8315ERDB board... text data bss dec hex filename 265132 20616 33556 319304 4df48 ./u-boot -> BUILD_DIR=/work/wd/tmp-ppc ./MAKEALL MPC8315ERDB Configuring for MPC8315ERDB board... text data bss dec hex filename 265132 20616 33556 319304 4df48 /work/wd/tmp-ppc/u-boot
The problem is caused by the installed newer version of the dtc.
The problem? What *exactly* is your problem?
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);
I don't see where this should matter? U-Boot does not reference files from /usr/include. Also, I fail to under stand how a "Compiler error with BUILD_DIR" should result from this - if this was a real problem, it should definitely be independent from setting BUILD_DIR or not.
Perhaps you might be so kind as to elucidate.
Best regards,
Wolfgang Denk
participants (2)
-
Günter Leonhardt
-
Wolfgang Denk