Hello everybody!

I have some troubles when I do "make tinynode" in TinyOS-1.x. It doesn't 
recognize my platform tinynode. I already install the extra packets from 
shockfish and my enviorment variables are:

-----------------------------------------------------------------------------

TOSROOT = /opt/tinyos-1.x/ 
TOSDIR = /opt/tinyos-1.x/tos 
CLASSPATH = /opt/tinyos-1.x/contrib/shockfish/tools/java 
MAKERULES = /opt/tinyos-1.x/tools/make/Makerules 
-----------------------------------------------------------------------------

I try with make and I don't know why I have this error
--------------------------------------------------------------------------------
/opt/tinyos-1.x/apps/TestDeluge/FormatFlash# make tinynode
/opt/tinyos-1.x/tools/make/Makerules:166: *** 

Usage:  make <target> <extras>
        make <target> help

        Valid targets: all cc2420dbk clean eyesIFX eyesIFXv1 eyesIFXv2 imote2 
mica mica2 mica2dot micaz pc snms_schema telos telos_hc08 telosa telosb
        Valid extras: bnp deluge deps docs hood ident_flags msg nescDecls 
redeluge registry rpc tinysec tos_image

 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, "tinynode ident_flags tos_image bnp" does not specify a valid target.

---------------------------------------------------------------------------------

If I try withi mica I get another error, but it recognizes the platform.
--------------------------------------------------------------------------------

/opt/tinyos-1.x/apps/TestDeluge/FormatFlash# make mica
mkdir -p build/mica
    compiling Format to a mica binary
ncc -o build/mica/main.exe -Os -finline-limit=100000 -Wall -Wshadow 
-DDEF_TOS_AM_GROUP=0x7d -Wnesc-all -target=mica -fnesc-cfile=build/mica/app.c 
-board=micasb -DIDENT_PROGRAM_NAME=\"Format\" -DIDENT_USER_ID=\"root\" 
-DIDENT_HOSTNAME=\"ATeNeA\" -DIDENT_USER_HASH=0x45cfcb75L 
-DIDENT_UNIX_TIME=0x4aa8acbbL -DIDENT_UID_HASH=0x2c95bd91L Format.nc -lm 
In file included from /opt/tinyos-1.x/tos/platform/avrmote/avrhardware.h:55,
                 from /opt/tinyos-1.x/tos/platform/mica/hardware.h:49,
                 from /opt/tinyos-1.x/tos/system/tos.h:144:
/usr/bin/../lib/gcc/avr/4.1.2/../../../../avr/include/avr/signal.h:36:2: 
warning: #warning "This header file is obsolete.  Use <avr/interrupt.h>."
Format.nc:29: C file TOSBoot not found
In file included from Format.nc:36:
In component `FormatM':
FormatM.nc: In function `FlashWP.clrWPDone':
FormatM.nc:72: `TOSBOOT_GOLDEN_IMG_ADDR' undeclared (first use in this function)
FormatM.nc:72: (Each undeclared identifier is reported only once
FormatM.nc:72: for each function it appears in.)
make: *** [exe0] Error 1

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

Reply via email to