I tried to compile FormatFlash Application in /opt/tinyos-1.x/apps/TestDeluge/FormatFlash but it always show following error:
d:/eclipse/plugins/TinyOsCygwinEnv_1.0.0/env/cygwin/opt/tinyos-1.x/tos/platform/mica/PageEEPROMM.nc:562: `computeCrcContinue' is not in interface `PageEEPROM' make: *** [exe0] Error 1 I used TinyOS CVS 1.15 When I compiled it with TinyOS 1.10, it still has error. $make micaz mkdir -p build/micaz compiling Format to a micaz binary ncc -o build/micaz/main.exe -Os -I./include -DDELUGE_GOLDEN_IMAGE -DDELUGE_LEDS -I%T/lib/Deluge -I%T/lib/Deluge/TOSBoot/include -I%T/tos/lib/Flash -finline-limi t=100000 -Wall -Wshadow -DDEF_TOS_AM_GROUP=0x7d -Wnesc-all -target=micaz -fnesc- cfile=build/micaz/app.c -board=micasb -DIDENT_PROGRAM_NAME="Format" -DIDENT_PROG RAM_NAME_BYTES="70,111,114,109,97,116,0" -DIDENT_USER_HASH=0x067afb06L -DIDENT_U NIX_TIME=0x456ad970L -I/opt/tinyos-1.x/tos/lib/CC2420Radio Format.nc -lm Format.nc:28: C file Storage not found Format.nc:29: C file TOSBoot not found Format.nc:36: component FlashWPC not found FormatM.nc:33: interface FlashWP not found FormatM.nc:34: interface FormatStorage not found FormatM.nc: In function `StdControl.start': FormatM.nc:52: interface has no command or event named `clrWP' FormatM.nc: At top level: FormatM.nc:63: `clrWPDone' is not in interface `FlashWP' FormatM.nc: In function `FlashWP.clrWPDone': FormatM.nc:70: interface has no command or event named `init' FormatM.nc:72: interface has no command or event named `allocateFixed' 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.) FormatM.nc:75: interface has no command or event named `allocate' FormatM.nc:76: interface has no command or event named `commit' FormatM.nc: At top level: FormatM.nc:83: parse error before `result' FormatM.nc:83: `commitDone' is not in interface `FormatStorage' FormatM.nc: In function `FormatStorage.commitDone': FormatM.nc:84: `result' undeclared (first use in this function) FormatM.nc:84: `STORAGE_OK' undeclared (first use in this function) FormatM.nc:84: interface has no command or event named `setWP' FormatM.nc: At top level: FormatM.nc:88: `setWPDone' is not in interface `FlashWP' Format.nc:36: component FormatStorageC not found Format.nc:38: no match Format.nc:41: no match Format.nc:42: no match make: *** [exe0] Error 1
_______________________________________________ Tinyos-help mailing list [email protected] https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
