Hi all !

I am using tinyOs 2.0.

When I compile my application, using 

[EMAIL PROTECTED]:~/PeriodicReader$ make micaz

I get the following. 

mkdir -p build/micaz
    compiling PeriodicReaderAppC to a micaz binary
ncc -o build/micaz/main.exe -Os -finline-limit=100000 -Wall -Wshadow -Wnesc-all 
-target=micaz -fnesc-cfile=build/micaz/app.c -board=micasb  -fnesc-dump=wiring 
-fnesc-dump='interfaces(!abstract())' -fnesc-dump='referenced(interfacedefs, 
components)' -fnesc-dumpfile=build/micaz/wiring-check.xml PeriodicReaderAppC.nc 
-lm
    compiled  PeriodicReaderAppC to build/micaz/main.exe
            9832 bytes in ROM
             244 bytes in RAM
avr-objcopy --output-target=srec build/micaz/main.exe build/micaz/main.srec
avr-objcopy --output-target=ihex build/micaz/main.exe build/micaz/main.ihex
    writing TOS image


But when I try to run the application, I get the following error message. 

[EMAIL PROTECTED]:~/PeriodicReader$ ./build/micaz/main.exe --help 2
-bash: ./build/micaz/main.exe: cannot execute binary file

Does anybody know what could be the reason ?

Thanks. 

       
---------------------------------
Looking for a deal? Find great prices on flights and hotels with Yahoo! 
FareChase.
Hi all !<br><br>I am using tinyOs 2.0.<br><br>When I compile my application, 
using <br><br>[EMAIL PROTECTED]:~/PeriodicReader$ make micaz<br><br>I get the 
following. <br><br>mkdir -p build/micaz<br>&nbsp;&nbsp;&nbsp; compiling 
PeriodicReaderAppC to a micaz binary<br>ncc -o build/micaz/main.exe -Os 
-finline-limit=100000 -Wall -Wshadow -Wnesc-all -target=micaz 
-fnesc-cfile=build/micaz/app.c -board=micasb&nbsp; -fnesc-dump=wiring 
-fnesc-dump='interfaces(!abstract())' -fnesc-dump='referenced(interfacedefs, 
components)' -fnesc-dumpfile=build/micaz/wiring-check.xml PeriodicReaderAppC.nc 
-lm<br>&nbsp;&nbsp;&nbsp; compiled  PeriodicReaderAppC to 
build/micaz/main.exe<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
 9832 bytes in 
ROM<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
244 bytes in RAM<br>avr-objcopy --output-target=srec build/micaz/main.exe 
build/micaz/main.srec<br>avr-objcopy --output-target=ihex build/micaz/main.exe
 build/micaz/main.ihex<br>&nbsp;&nbsp;&nbsp; writing TOS image<br><br><br>But 
when I try to run the application, I get the following error message. 
<br><br>[EMAIL PROTECTED]:~/PeriodicReader$ ./build/micaz/main.exe --help 
2<br>-bash: ./build/micaz/main.exe: cannot execute binary file<br><br>Does 
anybody know what could be the reason ?<br><br>Thanks.&nbsp;<br><p>&#32;
      <hr size=1>Looking for a deal? <a 
href="http://us.rd.yahoo.com/evt=47094/*http://farechase.yahoo.com/;_ylc=X3oDMTFicDJoNDllBF9TAzk3NDA3NTg5BHBvcwMxMwRzZWMDZ3JvdXBzBHNsawNlbWFpbC1uY20-";>Find
 great prices on flights and hotels</a> with Yahoo! FareChase.
_______________________________________________
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help



=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Scanned with Copfilter Version 0.84beta2 (ProxSMTP 1.6)
AntiVirus: ClamAV 0.91.2-exp/4540 - Sun Oct 14 03:43:55 2007
AntiVirus: F-PROT 4.6.7 Engine version: 3.16.15
SIGN.DEF 15 Oct07 - SIGN2.DEF 15 Oct07 - MACRO.DEF 15 Oct07
by Markus Madlener @ http://www.copfilter.org
_______________________________________________
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to