[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE : [microblaze-uclinux] Kernel Compilation Error
<----> -----Message d'origine-----
<----> De : owner-microblaze-uclinux@itee.uq.edu.au [mailto:owner-
<----> microblaze-uclinux@itee.uq.edu.au] De la part de Deli Geng
(David)
<----> Envoyé : mardi 13 septembre 2005 17:23
<----> À : microblaze-uclinux@itee.uq.edu.au
<----> Objet : RE: [microblaze-uclinux] Kernel Compilation Error
<---->
<----> Hi,
<---->
<----> After the changes to the tool chain and the source code, have you
<----> tried a
<----> new make? For example,
<---->
<----> make clean
<----> make menuconfig
<----> make dep
<---->
<----> and eventually,
<---->
<----> make
<---->
<----> Cheers
<----> David
[alayrac]
Of Course David, I've tried a make clean, followed by a make menuconfig,
ad finally then make dep all.
After that I've tried make clean, followed by a make menuconfig, then
make dep and finally make and I obtain the same error.
[alayrac]
<---->
<----> -----Original Message-----
<----> From: owner-microblaze-uclinux@itee.uq.edu.au
<----> [mailto:owner-microblaze-uclinux@itee.uq.edu.au] On Behalf Of
<----> calayrac@univ-orleans.fr
<----> Sent: 13 September 2005 14:48
<----> To: microblaze-uClinux
<----> Subject: [microblaze-uclinux] Kernel Compilation Error
<---->
<---->
<---->
<----> Dear Jason,
<---->
<----> I follow instruction in your las email regarding the last patch
<----> (uClinux-dist.diff) from John.
<---->
<----> In the mean time I read on mailling list that you recommand also
to
<----> patch
<----> first
<----> (eq before uClinux-dist.diff):
<----> include.diff, tools.diff, uClibc.diff, vendor-config.diff and
<----> vendor-xilinx.diff.
<---->
<----> So I patch all these files. But When I start Kernel compilation
it
<----> comes out
<----> whith an error message during make dep processing with a message
<----> that
<----> looklike
<----> something like :
<----> unable to find rools to make
<---->
/MicroBlaze-elf-tools/lib/gcc-lib/microblaze/2.95.3-4/include/starg.h
<----> necessary for dfs...
<---->
<----> In fact I've removed old tollchain from my computer. I decide
then to
<----> install
<----> back old toll chain (tar -xzf
microblaze-elf-tools-20050308.tar.gz)
<----> and then
<----> the
<----> 3.4.1 tool chain (tar -xzf microblaze-elf-tools-20050830.tar.gz).
<---->
<----> Compilation then pass some over steps but cames out with a knew
error
<----> message :
<----> make[2]: Entering directory
`/home/alayrac/uClinux-dist/user/version'
<----> ucfront-gcc mb-gcc -Os -g -fomit-frame-pointer -fno-common -fno-
<----> builtin
<----> -Wall
<----> -mxl-soft-mul -mxl-barrel-shift -mno-xl-soft-div -DEMBED
-Dlinux
<----> -D__linux__
<----> -Dunix -D__uClinux__ -c -o version.o version.c
<----> version.c: In function `main':
<----> version.c:24: warning: implicit declaration of function `memset'
<----> version.c:32: warning: implicit declaration of function `exit'
<----> version.c:109: warning: control reaches end of non-void function
<----> ucfront-gcc mb-gcc -Wl,-elf2flt -o version version.o
<----> ucfront-gcc mb-gcc -Os -g -fomit-frame-pointer -fno-common -fno-
<----> builtin
<----> -Wall
<----> -mxl-soft-mul -mxl-barrel-shift -mno-xl-soft-div -DEMBED
-Dlinux
<----> -D__linux__
<----> -Dunix -D__uClinux__ -c -o stamp.o stamp.c
<----> make[2]: Leaving directory
`/home/alayrac/uClinux-dist/user/version'
<----> make[2]: Entering directory
<----> `/home/alayrac/uClinux-dist/vendors/Xilinx/uclinux-auto'
<----> Makefile:216: *** les commandes commencent avant la première
cible.
<----> Arrêt.
<----> make[2]: Leaving directory
<----> `/home/alayrac/uClinux-dist/vendors/Xilinx/uclinux-auto'
<----> make[1]: *** [all] Erreur 2
<----> make[1]: Leaving directory `/home/alayrac/uClinux-dist/user'
<----> make: *** [subdirs] Erreur 1
<---->
<---->
<----> To download the kernel source I follow the next step:
<----> cvs -d:pserver:anonymous@cvs.uclinux.org:/var/cvs login
<----> cvs -z3 -d:pserver:anonymous@cvs.uclinux.org:/var/cvs co
uClinux-dist
<----> cvs -z3 -d:pserver:anonymous@cvs.uclinux.org:/var/cvs co uClinux-
<----> 2.4.x
<---->
<----> then from both directories uClinux-dist and uClinux-2.4.x I've
<----> proceed a cvs
<----> update.
<---->
<----> I guess that all these informations will help you to Identify the
<----> error.
<---->
<----> (For Information my final target is Spartan IIE on SpartanIIELC
Memec
<----> board)
<---->
<----> Note: I read your instruction manual for ML401 board (thanks for
this
<----> nice
<----> job),
<----> I think that it would be direct to port it to ML403 (I think that
its
<----> the
<----> same
<----> board as ML401 with different FPGA, ML403 as the FPGA with
embeded
<----> PowerPC).
<---->
<----> Do you think that it could be a good start for the beginer I'm to
<----> first work
<----> with that ML403 board and then to turn back to my SpatanIIE
board?
<----> Regards
<---->
<----> Christophe
<----> ___________________________
<----> 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/
<---->
<---->
<----> ___________________________
<----> 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/
<---->
___________________________
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/