Dear all, I found the problem. I didn`t work on tinyos 2.1.1 which I installed it an d now I have another problem, here it is:
mkdir -p build/telosb mkdir: cannot create directory `build': Permission denied make: *** [builddir] Error 1 I will appreciate any help. Regards, Hamidreza On Mon, Aug 30, 2010 at 3:36 AM, Hamidreza Ghafghazi < [email protected]> wrote: > > Dear all, > > I have downloaded UDPEcho folder totally and IPBasestation from > http://openwsn.berkeley.edu/browser/tinyos-2.x/apps , then follow > instructions of blip tutorial but I confronted lots of errors at first step. > Is there any library for compiling it? where may I download or upgrade > its library? > here is the errors: > > BaseStationC.nc:87:21: error: Ieee154.h: No such file or directory > In component `BaseStationC': > BaseStationC.nc:97: `IEEE154_SEND_CLIENT' undeclared here (not in a > function) > BaseStationC.nc:97: argument 1 to magic function `unique' is not constant > BaseStationC.nc:97: enumerator value for `RESOURCE_IDX' not integer > constant > BaseStationP.nc:72:21: error: devconf.h: No such file or directory > BaseStationP.nc:73:24: error: lib6lowpan.h: No such file or directory > In file included from BaseStationC.nc:100: > In component `BaseStationP': > BaseStationP.nc:82: interface Ieee154Send not found > In file included from BaseStationC.nc:100: > BaseStationP.nc:91: interface IPAddress not found > BaseStationP.nc:94: interface Ieee154Packet not found > In file included from BaseStationC.nc:100: > BaseStationP.nc:113: `BLIP_L2_RETRIES' undeclared here (not in a function) > BaseStationP.nc:114: `BLIP_L2_DELAY' undeclared here (not in a function) > BaseStationP.nc:123: syntax error before `*' > BaseStationP.nc: In function `configureReply.runTask': > BaseStationP.nc:154: `reply' undeclared (first use in this function) > BaseStationP.nc:154: (Each undeclared identifier is reported only once > BaseStationP.nc:154: for each function it appears in.) > BaseStationP.nc:154: interface has no command or event named `getShortAddr' > BaseStationP.nc: In function `Boot.booted': > BaseStationP.nc:192: `reply' undeclared (first use in this function) > BaseStationP.nc:192: `config_reply_t' undeclared (first use in this > function) > BaseStationP.nc:192: syntax error before `)' > BaseStationP.nc: In function `SerialControl.startDone': > BaseStationP.nc:211: `reply' undeclared (first use in this function) > BaseStationP.nc:211: `CONFIG_ERROR_BOOTED' undeclared (first use in this > function) > BaseStationP.nc: In function `radioSendTask.runTask': > BaseStationP.nc:339: `ieee154_saddr_t' undeclared (first use in this > function) > BaseStationP.nc:339: syntax error before `addr' > BaseStationP.nc:352: `addr' undeclared (first use in this function) > BaseStationP.nc:352: interface has no command or event named `destination' > BaseStationP.nc:364: interface has no command or event named `send' > BaseStationP.nc: At top level: > BaseStationP.nc:373: `sendDone' is not in interface `RadioSend' > BaseStationP.nc: In function `ConfigureReceive.receive': > BaseStationP.nc:398: `config_cmd_t' undeclared (first use in this function) > BaseStationP.nc:398: `cmd' undeclared (first use in this function) > BaseStationP.nc:399: syntax error before `error' > BaseStationP.nc:407: syntax error before `)' > BaseStationP.nc:410: `CONFIG_ECHO' undeclared (first use in this function) > BaseStationP.nc:410: case label does not reduce to an integer constant > BaseStationP.nc:412: `CONFIG_SET_PARM' undeclared (first use in this > function) > BaseStationP.nc:412: case label does not reduce to an integer constant > BaseStationP.nc:415: interface has no command or event named `setShortAddr' > BaseStationP.nc:420: `CONFIG_REBOOT' undeclared (first use in this > function) > BaseStationP.nc:420: case label does not reduce to an integer constant > BaseStationP.nc:423: `CONFIG_KEEPALIVE' undeclared (first use in this > function) > BaseStationP.nc:423: case label does not reduce to an integer constant > BaseStationP.nc:427: `reply' undeclared (first use in this function) > BaseStationP.nc:427: `error' undeclared (first use in this function) > BaseStationP.nc: In function `ConfigureTimer.fired': > BaseStationP.nc:444: `config_reply_t' undeclared (first use in this > function) > In component `BaseStationC': > BaseStationC.nc: At top level: > BaseStationC.nc:101: component Ieee154MessageC not found > BaseStationC.nc:126: component SerialDevConfC not found > BaseStationC.nc:133: component IPAddressC not found > BaseStationC.nc:106: no match > BaseStationC.nc:112: no match > BaseStationC.nc:113: cannot find `Ieee154Receive' > BaseStationC.nc:115: cannot find `Packet' > BaseStationC.nc:116: no match > BaseStationC.nc:120: no match > BaseStationC.nc:121: no match > BaseStationC.nc:127: no match > BaseStationC.nc:128: no match > BaseStationC.nc:134: no match > make: *** [exe0] Error 1 > > I am confused since I did not modify anything and confront these errors. > I will appreciate any help > > Best Regards, > HAmidreza > > >
_______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
