On Mon, 28 Jan 2008 18:47:25 +0800, "zhihui zheng" <maildode_at_gmail.com>
said:
> I'm a newbie for porting linux on hx4700 and I'm really interested in on that.
Me too..
> Now, the third problem come:
>
> [bootldr.c]
> bootldr.c: In function `program_flash_region':
> bootldr.c:1589: warning: implicit declaration of function `crc32'
..
I don't get that on mine, but I added
#include "linux/crc32.h"
... to the top of bootldr.c.
> bootldr.c: At top level:
> bootldr.c:2305: error: parse error before "zcalloc"
> bootldr.c:2306: error: parse error before "opaque"
Mooo.. I couldn't figure that out.
...
> bootldr.c: At top level:
> bootldr.c:2322: error: parse error before "opaque"
> bootldr.c: In function `zcfree':
> bootldr.c:2325: error: `ptr' undeclared (first use in this function)
> make[1]: *** [bootldr.o] Error 1
> Is there anybody could help me out? Thank you very much!!
I got almost the same errors here, seeming to be related to the zcfree
function, and also with zlib but I'm sorry, with my minimal knowledge of
C programming, I was unable to work out what needed to be fixed.
kmeaw provides a precompiled binary of the bootloader, if all else
fails.
Lex.
Received on Mon Feb 04 2008 - 05:27:21 EST
This archive was generated by hypermail 2.2.0 : Mon Feb 04 2008 - 08:54:11 EST