On 2/22/07, Alexey <[EMAIL PROTECTED]> wrote:
Hello! We are interested in porting TinyOS 2 to additional platform - sbn128 by 
Meshnetics. We met one serious error with TinyOS 2
installation. Nesc compiler does not find include files. And not for our 
platform only but for standard platforms too. We are using Cygwin
with WinXP.

Compile with the -v option (e.g., CFLAGS=-v make mica2) and check the
-I directives passed to nescc. Chances are that these are wrong. So
then check your TOSDIR environment variable...

David Gay



===============================================================================
$ 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
===============================================================================


Please help us to solve this problem.

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

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

Reply via email to