Hi Johnny,

Johnny Giacomoni <[EMAIL PROTECTED]> wrote:
> 
> I'm using Embedded Linux Development Kit and I have some errors
> when I try to execute the makefile to rebuild the lejos firmware.
> 
> I so use the arm-linx-gcc tool (please don't ask me why, i'm in training
> course and it's imposed).

it seems your ARM compiler is not suitably configured for compiling Lejos
(the part that runs on the NXT).

According to the error messages it tries to use the FPU
(the ARM processor in the NXT doesn't have one) ...

> /opt/eldk/usr/bin/arm-linux-ld: ERROR: init.o uses FPA instructions,
> whereas lejos_nxt_ram.elf does not

... and its C library doesn't support thumb interworking,
which is needed for Lejos.

> /opt/eldk/usr/bin/arm-linux-ld: Warning:
> /opt/eldk/arm/lib/libc.a(strlen.o) does not support interworking, whereas
> lejos_nxt_ram.elf does

I don't know if you can get your toolchein to do the right thing
by some command-line options.  Other people working on Lejos
use the one from www.gnuarm.com or have built their own.


Hope this helps

Jürgen

-- 
Jürgen Stuber <[EMAIL PROTECTED]>
http://www.jstuber.net/

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Lejos-discussion mailing list
Lejos-discussion@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lejos-discussion

Reply via email to