[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: RE :RE : [microblaze-uclinux] Kernell Boot Error on SpartanIIE LC
Hi,
>if you are using current CVS (2.4.31.u0) with mb-gcc-3.4, you are
>required to apply the latest patch (uClinux-dist.diff) from john.
This patch does not seem to work well with the CVS source. When I patch it,
I got,
patch -p0 < ../uClinux-dist.diff
(Stripping trailing CRs from patch.)
patching file vendors/config/microblaze/config.arch
Hunk #1 FAILED at 81.
Hunk #2 succeeded at 84 with fuzz 2 (offset -7 lines).
Hunk #4 succeeded at 159 (offset -7 lines).
Hunk #5 FAILED at 182.
Hunk #6 FAILED at 196.
3 out of 6 hunks FAILED -- saving rejects to file
vendors/config/microblaze/config.arch.rej
(Stripping trailing CRs from patch.)
patching file vendors/Xilinx/uclinux-auto/Makefile
Hunk #1 succeeded at 126 (offset -12 lines).
Hunk #2 FAILED at 205.
Hunk #3 succeeded at 301 (offset -7 lines).
1 out of 3 hunks FAILED -- saving rejects to file
vendors/Xilinx/uclinux-auto/Makefile.rej
(Stripping trailing CRs from patch.)
patching file tools/ucfront/ucfront.c
Hunk #1 FAILED at 722.
1 out of 1 hunk FAILED -- saving rejects to file tools/ucfront/ucfront.c.rej
When I compile it, I got the "ln" error. The configuration is for Xilinx
ML401 hardware with default settings (without CONFIG_SPI).
make[1]: Entering directory `/home/deli/uclinux/src/uClinux-dist/lib'
for i in ../include uClibc ../include zlib
/home/deli/uclinux/src/uClinux-dist/prop ; do \
if [ -d $i ]; then \
touch $i/.sgbuilt; \
make -C $i || exit $? ; \
fi; \
make make_links || exit ; \
done
make[2]: Entering directory `/home/deli/uclinux/src/uClinux-dist/include'
find . -depth -type l -a ! -name Makefile | xargs rm > /dev/null 2>&1 ||
exit 0
find . -depth -type d | xargs rmdir > /dev/null 2>&1 || exit 0
Making symlinks in include/
ln: `gcc/include': File exists
make[2]: *** [all] Error 1
make[2]: Leaving directory `/home/deli/uclinux/src/uClinux-dist/include'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/deli/uclinux/src/uClinux-dist/lib'
make: *** [subdirs] Error 1
I manually fixed the Makefile. Then here we go,
gzio.c:10: stdio.h: No such file or directory
In file included from gzio.c:12:
zutil.h:19: stddef.h: No such file or directory
zutil.h:20: string.h: No such file or directory
zutil.h:21: stdlib.h: No such file or directory
zutil.h:26: errno.h: No such file or directory
gzio.c:523: stdarg.h: No such file or directory
make[2]: *** [gzio.o] Error 1
make[2]: Leaving directory `/home/deli/uclinux/src/uClinux-dist/lib/zlib'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/deli/uclinux/src/uClinux-dist/lib'
make: *** [subdirs] Error 1
Cheers
David
___________________________
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/