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

Re: [microblaze-uclinux] [Fwd: Re: ml401 reference design problems]



Hi John,

John McGrath wrote:

> I changed the target dir in mss os section to point to uclinux-auto
> I am also getting the following error after running make:
> 
> mb-gcc  -Os -g -fomit-frame-pointer -fno-common -Wall   -mno-xl-soft-mul 
> -mxl-barrel-shift -mno-xl-soft-div -Dlinux -D__linux__ -Dunix 
> -D__uClinux__ -DEMBED -nostdinc 
> -I/home/jmcgrath/projects/uClinux/CVS_dl/Try2/uClinux-dist/include 
> -I/home/jmcgrath/projects/uClinux/CVS_dl/Try2/uClinux-dist/include/include 
> -fno-builtin -Wl,-elf2flt -nostartfiles 
> /home/jmcgrath/projects/uClinux/CVS_dl/Try2/uClinux-dist/lib/crt0.o 
> -L/home/jmcgrath/projects/uClinux/CVS_dl/Try2/uClinux-dist/lib -o sh 
> sh1.o sh2.o sh3.o sh4.o sh5.o sh6.o -lc 
> /proj/burren90_cork/jmcgrath/EDK/EDK_Gmm.12.3.1/gnu/microblaze/lin/bin/../lib/gcc-lib/microblaze/2.95.3-4/./libgcc.a 
> /proj/burren90_cork/jmcgrath/EDK/EDK_Gmm.12.3.1/gnu/microblaze/lin/bin/../lib/gcc-lib/microblaze/2.95.3-4/./../../../../microblaze/lib/libc.a 
> 
> mb-ld: warning: cannot find entry symbol lf2flt; defaulting to 00000000

OK the problem is here - you seem to be building against a default 
mb-gcc, rather than the uclinux-customised version distributed from my 
website.  For the kernel it doesn't matter, but building user apps you 
need the uclinux-specific mb-ld wrapper script, mb-elf2flt and mb-flthdr 
utilities.

http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux/Toolchain/linux_binaries.html

If you have installed the uclinux toolchain, perhaps you have not 
updated your PATH variable to make sure that it is first?

Regards,

John
___________________________
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/