[Tinyos-help] help with porting in tinyOS2

Алексей LEXALEX at LIST.RU
Sun Feb 18 07:35:28 PST 2007


Hellow, i try to retry actions of this tutorial http://www.tinyos.net/tinyos-2.x/doc/html/tutorial/lesson10.html
and have one problem

$ make groups609
mkdir -p build/groups609
    compiling NullAppC to a groups609 binary
ncc -o build/groups609/main.exe -Os -Wall -Wshadow -Wnesc-all -target=groups609
-fnesc-cfile=build/groups609/app.c -board=  -fnesc-dump=wiring -fnesc-dump='inte
rfaces(!abstract())' -fnesc-dump='referenced(interfacedefs, components)' -fnesc-
dumpfile=build/groups609/wiring-check.xml NullAppC.nc -lm
In file included from E:/cyg/opt/tinyos-2.x/tos/system/MainC.nc:43:
E:/cyg/opt/tinyos-2.x/tos/platforms/groups609/hardware.h:5:28: atm128hardware.h:
 No such file or directory
E:/cyg/opt/tinyos-2.x/tos/platforms/groups609/hardware.h:6:23: Atm128Adc.h: No s
uch file or directory
In component `NullAppC':
NullAppC.nc:42: failed to preprocess E:\cyg\opt\tinyos-2.x\tos/system/MainC.nc
NullAppC.nc:44: cannot find `Boot'
make: *** [exe0] Error 1

and i thought that i had same error in my platform, but this error for
mica2

$ make mica2
mkdir -p build/mica2
    compiling NullAppC 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  -fnesc-dump=wiring -
fnesc-dump='interfaces(!abstract())' -fnesc-dump='referenced(interfacedefs, comp
onents)' -fnesc-dumpfile=build/mica2/wiring-check.xml NullAppC.nc -lm
In file included from E:/cyg/opt/tinyos-2.x/tos/system/MainC.nc:43:
E:/cyg/opt/tinyos-2.x/tos/platforms/mica2/hardware.h:50:28: atm128hardware.h: No
 such file or directory
E:/cyg/opt/tinyos-2.x/tos/platforms/mica2/hardware.h:51:23: Atm128Adc.h: No such
 file or directory
E:/cyg/opt/tinyos-2.x/tos/platforms/mica2/hardware.h:52:23: MicaTimer.h: No such
 file or directory
In component `NullAppC':
NullAppC.nc:42: failed to preprocess E:\cyg\opt\tinyos-2.x\tos/system/MainC.nc
NullAppC.nc:44: cannot find `Boot'
make: *** [exe0] Error 1

Can you help me to find any solving?



More information about the Tinyos-help mailing list