Thank you very much Phil.
You were right, my nesc from the tinyos 1 install was used.

Now everything is working alright. With the micaz sim at least.
Do you know whether other platforms will be supported as simulations ?

Marek



Am Dienstag, den 05.06.2007, 10:37 -0700 schrieb Philip Levis:
> On Jun 5, 2007, at 10:27 AM, Marek Jawurek wrote:
> 
> > Thanks for looking into it Phil, here is what
> > avr-objdump -t build/micaz/sim.o
> > produces.
> >
> > I am sorry but actually I can hardly grasp at what I am looking.
> > But it appears that the sim.o object file is in elf32-avr format and
> > tossim.o and pytossim.o both in elf32-little. But where is the
> > difference ? When I call make micaz sim I get some different errors on
> > top. I appended the output of that call to the end.
> >
> >
> > build/micaz/sim.o:     file format elf32-avr
> 
> This is the problem: for some reason, TOSSIM is compiling sim.o using  
> avr-gcc rather than gcc. That is, it's compiling it for an atmega128  
> microcontroller instead of your x86 processor.
> 
> If you add the -v option to your CFLAGS you might be able to figure  
> out what's going on.
> 
> Do you have an existing TinyOS 1.x install on this machine? If so, my  
> guess is that you're calling the wrong ncc. Try ncc --version. You  
> should have 1.2.1 or 1.2.3. Try 'which ncc' to figure out which one  
> you're executing, and look in /usr/bin as well as /usr/local/bin for  
> the right one.
> 
> Phil
> _______________________________________________
> Tinyos-help mailing list
> [email protected]
> https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
-- 
Marek Jawurek <[EMAIL PROTECTED]>

_______________________________________________
Tinyos-help mailing list
[email protected]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to