[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[microblaze-uclinux] Kernel compilation error: compr_rtime
Hello all.
This is my first post, but I've been paying close attention to this list
for some time now, so I know there are very competent people here.
I am currently trying to build a 'fresh' kernel image, but I am having
some problems.
I have followed the instructions on the 'Microblaze uClinux Project Home
Page'.
I've downloaded the newest toolchain binaries and applied the patches
(there were 2, correct?).
"make xconfig" - like this better than menuconfig
"make dep" - returns no errors
"make linux" - likewise
"make" - returns this error
...
make[2]: Entering directory `/opt/uClinux/uClinux-dist/user/mtd-utils'
gcc -I/usr/include -c -o build/compr_rtime.o compr_rtime.c
compr_rtime.c:31: error: parse error before "uint32_t"
compr_rtime.c: In function `jffs2_rtime_compress':
compr_rtime.c:39: error: `sourcelen' undeclared (first use in this function)
compr_rtime.c:39: error: (Each undeclared identifier is reported only once
compr_rtime.c:39: error: for each function it appears in.)
compr_rtime.c:39: error: `dstlen' undeclared (first use in this function)
compr_rtime.c:43: error: `data_in' undeclared (first use in this function)
compr_rtime.c:45: error: `cpage_out' undeclared (first use in this function)
compr_rtime.c: At top level:
compr_rtime.c:71: error: parse error before "uint32_t"
compr_rtime.c: In function `jffs2_rtime_decompress':
compr_rtime.c:79: error: `destlen' undeclared (first use in this function)
compr_rtime.c:84: error: `data_in' undeclared (first use in this function)
compr_rtime.c:85: error: `cpage_out' undeclared (first use in this function)
make[2]: *** [build/compr_rtime.o] Error 1
make[2]: Leaving directory `/opt/uClinux/uClinux-dist/user/mtd-utils'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/opt/uClinux/uClinux-dist/user'
make: *** [subdirs] Error 1
I have the kernel configured to the default values, jffs2 is not
selected, so it should no be compiled?
I have even tried enabling jffs2, but I get the same error.
I get this same error for both the mbvanilla_net and mbvanilla_ddr targets.
As I understand, the kernel image is built after the 'make linux'
command. Therefor I have an image file (appr. 11 MB), but this file
needs to be converted to image.elf and image.bin by 'make'.
I hope that someone can help.
Regards
Dan Vestergaard
___________________________
microblaze-uclinux mailing list
microblaze-uclinux@itee.uq.edu.au
Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
Mailing List Archive : http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/