You've executed "make clean" instead of "make clean;make". But anyway
the second make shouldn't work without a target, so you should run
"make clean; make target" where target is the arch you're using, or
null if you only want the mig class.

2010/1/28 Sam azzaro <[email protected]>:
> Hi all,
> i use Tinyos-2.x on WindowsXp.
> i tried to follow tutorial
> in http://docs.tinyos.net/index.php/Mote-PC_serial_communication_and_SerialForwarder#MIG:_generating_packet_objects
> to generate mig class in the test serial application.
> when i tape make clean i get this:
> administrat...@v8fmk15ebx5la4b /opt/tinyos-2.x/apps/bureau/TestSerial
> $ make clean;
> rm -rf build *.class TestSerialMsg.java pp
> rm -rf _TOSSIMmodule.so TOSSIM.pyc TOSSIM.py app.xml simbuild
> rm -rf VolumeMapC.nc
> instead of:
>
> rm -rf build *.class TestSerialMsg.java
> rm -rf _TOSSIMmodule.so TOSSIM.pyc TOSSIM.py
> mkdir -p build/telosb
> mig java -target=telosb -I%T/lib/oski -java-classname=TestSerialMsg
> TestSerial.h TestSerialMsg
> -o TestSerialMsg.java
> javac *.java
>     compiling TestSerialAppC to a telosb binary
> ncc -o build/telosb/main.exe -Os -O -mdisable-hwmul -Wall -Wshadow
> -DDEF_TOS_AM_GROUP=0x66
> -Wnesc-all -DCC2420_DEF_CHANNEL=19 -target=telosb
> -fnesc-cfile=build/telosb/app.c
> -board= -I%T/lib/oski  TestSerialAppC.nc -lm
>     compiled TestSerialAppC to build/telosb/main.exe
>             6300 bytes in ROM
>              281 bytes in RAM
> msp430-objcopy --output-target=ihex build/telosb/main.exe
> build/telosb/main.ihex
>     writing TOS image
> Does anyone know where is the problem?
> i need your help please.
> Regards,
> ________________________________
> Hotmail : une messagerie fiable avec la protection anti-spam performante de
> Microsoft Inscrivez-vous
> _______________________________________________
> Tinyos-help mailing list
> [email protected]
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>



-- 
Jordi Soucheiron
Software Engineer

DEXMA
Parc Tecnològic la Salle
Sant Joan de la Salle, 42
08022 Barcelona
t/f: [+34] 93 181 01 95
www.dexmatech.com
[email protected]

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

Reply via email to