[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE : RE : [microblaze-uclinux] Kernel Compilation Error



Hi John,

No matter with that problem, I lurn more solving errors that with direct
solutions!

As I said to Jason if you think that there is anay interrest for the
community I can send my design. If yes, let me know the procedure.

I'm gooing to try to port the design on new EDK platform (7.1 and 8.1).

I'll also ttry to port the Jason design to ML403 platform (on Mblaze).

Thanks for your grate job.

Regards

Christophe

CRESITT INDUSTRIE
12 Rue de Blois, BP6744
45067 ORLEANS Cedex 2
Tel : 02.38.49.45.59
Fax :02.38.49.45.55
Email : christophe.alayrac@cresitt.com 
Web : http://www.cresitt.com


<----> -----Message d'origine-----
<----> De : owner-microblaze-uclinux@itee.uq.edu.au [mailto:owner-
<----> microblaze-uclinux@itee.uq.edu.au] De la part de John Williams
<----> Envoyé : mercredi 14 septembre 2005 13:40
<----> À : microblaze-uclinux@itee.uq.edu.au
<----> Objet : Re: RE : [microblaze-uclinux] Kernel Compilation Error
<----> 
<----> Hello,
<----> 
<----> Sorry for the patch flux hell you are in - you've been sandwiched
<----> between test releases for the CVS update of the uClinux-dist.
<----> SnapGear
<----> updated their CVS last night, and when I get a chance I will
check it
<----> out and make any final tweaks.  I am travelling and working in
the US
<----> at
<----> the moment so am not really in a good position to be doing this
right
<----> now.  If I get some free time over the next couple of days I will
try
<----> to
<----> take a look at it, otherwise it will be early next week after I
<----> return home.
<----> 
<----> Regards,
<----> 
<----> John
<----> 
<----> 
<----> 
<----> Christophe Alayrac wrote:
<----> > Hi Jason,
<----> >
<----> > <----> -----Message d'origine-----
<----> > <----> De : owner-microblaze-uclinux@itee.uq.edu.au
[mailto:owner-
<----> > <----> microblaze-uclinux@itee.uq.edu.au] De la part de Jason
Wu
<----> > <----> Envoyé : mercredi 14 septembre 2005 05:55
<----> > <----> À : microblaze-uclinux@itee.uq.edu.au
<----> > <----> Objet : Re: [microblaze-uclinux] Kernel Compilation
Error
<----> > <---->
<----> > <----> Hi Calayrac
<----> > <---->
<----> > <----> calayrac@univ-orleans.fr wrote:
<----> > <---->
<----> > <----> >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.
<----> > <----> >
<----> > <----> >
<----> > <----> >
<----> > <----> When you apply these patches, are there any errors?
because
<----> these
<----> > <----> patch
<----> > <----> will only work with current CVS (release on 10th of Aug
<----> 2005)
<----> > [alayrac]
<----> > No error arise during appllication of these patches. But the
<----> > uClinux-dist have been applied once before all others patches
are
<----> > applied (I read your new email regarding include.diff
tools.diff...
<----> > after the one regarding uClinux-dist.diff).
<----> >
<----> > So I've just removed all files from my uClinux-dist directory
and
<----> start
<----> > a new cvs download of uClinux-dist.
<----> > Then I'll do a cvs update.
<----> > Should I apply again the microblaze-vendors-20050215.patch
(taken
<----> fron
<----> > John site) before applying
include.diff...uClinux-dist.diff(LAST!)?
<----> >
<----> > I try to investigate that way and let you know about my
results.
<----> >
<----> > <---->
<----> > <----> >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
<----> > <----> >
<----> > <----> >
<----> > <----> >
<----> > <----> I assume the error is " Makefile:216: *** commands
commence
<----> > before
<----> > <----> first
<----> > <----> target. stop"
<----> > <----> This looks like the vendor_xilinx.diff or
uClinux-dist.diff
<----> did
<----> > not
<----> > <----> patch properly. any error while you apply these patches?
<----> > <---->
<----> > <----> >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.
<----> > <----> >
<----> > <----> >
<----> > <----> >
<----> > <----> Did you download the cvs before you apply the patches?
or
<----> after
<----> > you
<----> > <----> apply the patches?
<----> > <----> Maybe you should try clean download of uClinux-dist
before
<----> you
<----> > apply
<----> > <----> the
<----> > <----> patches.
<----> > <----> If you still having the same problem after you clean
<----> download of
<----> > <----> uClinux-dis, could you please send me a copy of your
<----> Makefile
<----> > (locate
<----> > <----> under uClinux-dist/vendors/Xilinx/uclinux-auto folder)
<----> > <---->
<----> > <----> >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?
<----> > <----> >
<----> > <----> >
<----> > <----> As long as you install the board support package (BSP),
I
<----> believe
<----> > the
<----> > <----> instructions should be pretty much the same.
<----> > <---->
<----> > <----> cheers,
<----> > <---->
<----> > <----> Jason
<----> > <---->
<----> > <----> ___________________________
<----> > <----> 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/
<----> 
<----> 
<----> --
<----> Dr John Williams, Research Fellow,
<----> Embedded Systems Group / Reconfigurable Computing
<----> School of ITEE, The University of Queensland, Brisbane, Australia
<----> (p) +61 7 33652185  (f) +61 7 33654999 (m) +61 403969243
<----> ___________________________
<----> 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/