[uClinux-dev] Toolchain for IXP425

Chen Zhigao banyan8 at yahoo.com.sg
Thu Aug 25 21:12:28 EDT 2005


On Thu, 2005-08-25 at 20:21, David McCullough wrote:
> Jivin Chen Zhigao lays it down ...
> > Dear all,
> > 
> > I have built uClinux-dist-20030522 to run on IXP425 board using the (big
> > endian) arm-linux-20030211 toolchain, which is recommended for the board
> > according to
> > http://ixp4xx-osdg.sourceforge.net/howtos/uClinux-IXP400-AccessLibrary-v1.2.2-Integration-HOWTO.html#install-toolchain.
> > 
> > Now I try to build an application to run on the uClinux using the same
> > toolchain, and I got a linking error below.
> > 
> > ======================================================================
> > arm-linux-gcc  -O3  -D_LINUX  -D_ARM32 -Wall -D__UCLINUX 
> > -I../../include -I../../platform -I../../samples/common
> > -I/newdisk/uClinux-dist/linux-2.4.x/include -c ../../platform/platform.c
> > -o obj/platform.o
> > arm-linux-gcc  -O3  -D_LINUX  -D_ARM32 -Wall -D__UCLINUX 
> > -I../../include -I../../platform -I../../samples/common
> > -I/newdisk/uClinux-dist/linux-2.4.x/include -c async.c -o obj/async.o
> > arm-linux-gcc  -O3  -D_LINUX  -D_ARM32 -Wall -D__UCLINUX 
> > -I../../include -I../../platform -I../../samples/common
> > -I/newdisk/uClinux-dist/linux-2.4.x/include -c handlers.c -o
> > obj/handlers.o
> > arm-linux-gcc  -O3  -elf2flt -s \
> >         obj/evdb.o obj/platform.o obj/async.o obj/handlers.o 
> > -L../../target/bin -lmcolib -lpthread  -lc \
> >         -o ../../target/bin/async
> > /usr/local/lib/gcc-lib/arm-linux/3.2.1/../../../../arm-linux/lib/libpthread.so:
> > could not read symbols: Invalid operation
> > collect2: ld returned 1 exit status
> 
> The Xscale has an MMU,  you do not want to add -elf2flt or anything like
> elf2flt on an Xscale platform, unless of course you don't want to use
> the MMU,
> 
> Cheers,
> Davidm
Thanks for the suggestion. But the same error does not go away even
though I take out the -elf2flt flag. Any idea?

Zhigao



More information about the uClinux-dev mailing list