Hi,

"make pc" was for TinyOS 1.x, in TinyOS 2.x it is "make micaz sim".

I recommend reading the documentation for TOSSIM in TinyOS 2.x, as quite 
a view things have changed:
http://docs.tinyos.net/index.php/TOSSIM

Cheers,
Urs


On 12/4/10 12:37 PM,  Edel A. Rodriguez Sanchez wrote:
> Hi.!
>
> I have this error message when I try to compile any thing on TOS 2.x
> administra...@ciberland /opt/tinyos-2.x/apps/Blink
> $ make pc
> /opt/tinyos-2.x/support/make/Makerules:164: ***
>
> Usage: make <target> <extras>
> make <target> help
>
> Valid targets: all clean eyesIFX eyesIFXv1 eyesIFXv2 intelmote2 mica2
> mica2dot micaz null telos telosa telosb tinynode tmote
> Valid extras: appdoc bnp docs ident_flags nowiring sim sim-fast
> tos_image verbose wiring
>
> Welcome to the TinyOS make system!
>
> You must specify one of the valid targets and possibly some combination
> of the extra options. Many targets have custom extras and extended help,
> so be sure to try "make <target> help" to learn of all the available
> features.
>
> Global extras:
>
> docs : compile additional nescdoc documentation
> tinysec : compile with TinySec secure communication
>
> ERROR, "pc ident_flags tos_image bnp" does not specify a valid target. Stop.
> If I put a known target then I get this message error:
> $ make mica2
> mkdir -p build/mica2
> compiling BlinkAppC to a mica2 binary
> ncc -o build/mica2/main.exe -Os -finline-limit=100000 -Wall -Wshadow
> -Wnesc-all-target=mica2 -fnesc-cfile=build/mica2/app.c -board=micasb
> -DIDENT_PROGRAM_NAME=\"BlinkAppC\" -DIDENT_USER_ID=\"Administrador\"
> -DIDENT_HOSTNAME=\"CIBERLAND\" -
> DIDENT_USER_HASH=0x21d82c4bL -DIDENT_UNIX_TIME=0x4cf9bfcfL
> -DIDENT_UID_HASH=0x486089a8L -fnesc-dump=wiring
> -fnesc-dump='interfaces(!abstract())'
> -fnesc-dump='referenced(interfacedefs, components)'
> -fnesc-dumpfile=build/mica2/wiring-check.xm
> l BlinkAppC.nc -lm
> Unknown target mica2
> Known targets for TinyOS directory /opt/tinyos-2.x/tos are:
> none.
> make: *** [exe0] Error 2
> Thanks beforehand
>
>
> Edel Angel Rodríguez Sánchez
> Facultad de Informática
> *Universidad de Granma. Cuba*
>
> ________________________________________
> Universidad de Granma. Bayamo, M.N. Cuba
> *http://www.udg.co.cu*****
>
> Participe en el III Congreso Cubano de Desarrollo Local
> 9 al 11 de marzo de 2011
> *http://www.udg.co.cu/congreso*****
>
> Tiempo: *http://www.udg.co.cu/mrtg/weather/weather.html*****
> Imagenes desde el satelite:
> *http://www.udg.co.cu/mrtg/weather/map/today-Bayamo-CUXX0001.jpg*****
>
>
> ********
_______________________________________________
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to