Yared Berhanu
2013-02-27 17:28:56 UTC
Greetings all,
I am new member and it my first time to post on this mailing list. My
problem is, I want to install blip on shimmer2r devices and I have
downloaded the recent tinyos-main and tinyos-2.x-contrib OS using svn from
goodlecode repo. I have followed all the steps on the tinyos wiki for
installation but I could go through it, here were the command I used to
compile and the error I found
***@tiny1:~/tinyos-main/tinyos-2.x-contrib/berkeley/blip-2.0/apps/IPBaseStation$
make shimmer2r blip install bsl,/dev/ttyUSB0
mkdir -p build/shimmer2r
compiling BaseStationC to a shimmer2r binary
ncc -o build/shimmer2r/main.exe -Os -O -DCC2420_HW_ACKNOWLEDGEMENTS
-DCC2420_HW_ACKNOWLEDGEMENTS -DCC2420_HW_ADDRESS_RECOGNITION -DPACKET_LINK
-DTOSH_DATA_LENGTH=125 -I/home/tiny2/tinyos-main/tos/lib/net/
-I/home/tiny2/tinyos-main/tos/lib/printf/
-I/home/tiny2/tinyos-main/support/sdk/c/blip/
-I/home/tiny2/tinyos-main/tos/lib/net/blip/
-I/home/tiny2/tinyos-main/tos/lib/net/blip/interfaces/
-I/home/tiny2/tinyos-main/tos/lib/net/blip/nwprog/
-I/home/tiny2/tinyos-main/tos/lib/net/blip/shell/
-I/home/tiny2/tinyos-main/tos/lib/net/blip/serial/
-I/home/tiny2/tinyos-main/tos/lib/net/blip/platform/
-I/home/tiny2/tinyos-main/tos/lib/net/blip/icmp/
-I/home/tiny2/tinyos-main/tos/lib/net/blip/dhcp/
/home/tiny2/tinyos-main/support/sdk/c/blip/lib6lowpan/iovec.c
/home/tiny2/tinyos-main/support/sdk/c/blip/lib6lowpan/in_cksum.c
/home/tiny2/tinyos-main/support/sdk/c/blip/lib6lowpan/ip_malloc.c
/home/tiny2/tinyos-main/support/sdk/c/blip/lib6lowpan/utility.c
/home/tiny2/tinyos-main/tos/lib/net/blip/table.c -mdisable-hwmul
-fnesc-separator=__ -Wall -Wshadow -Wnesc-all -target=shimmer2r
-fnesc-cfile=build/shimmer2r/app.c -board= -DDEFINED_TOS_AM_GROUP=0x22
-DCC2420_DEF_CHANNEL=15 -DPACKET_LINK
-I/home/tiny2/tinyos-main/support/sdk/c/blip/interface
-I/home/tiny2/tinyos-main/tos/lib/serial -DIDENT_APPNAME=\"BaseStationC\"
-DIDENT_USERNAME=\"tiny2\" -DIDENT_HOSTNAME=\"tiny1\"
-DIDENT_USERHASH=0x543ca1f9L -DIDENT_TIMESTAMP=0x512e41afL
-DIDENT_UIDHASH=0x8d39b1c1L BaseStationC.nc -lm
BaseStationC.nc:88:21: error: devconf.h: No such file or directory
BaseStationP.nc:72:21: error: devconf.h: No such file or directory
In file included from BaseStationC.nc:100:
In component `BaseStationP':
BaseStationP.nc: In function `SerialControl.startDone':
BaseStationP.nc:192: `config_reply_t' undeclared (first use in this
function)
BaseStationP.nc:192: (Each undeclared identifier is reported only once
BaseStationP.nc:192: for each function it appears in.)
BaseStationP.nc:192: `reply' undeclared (first use in this function)
BaseStationP.nc:199: syntax error before `)'
BaseStationP.nc:202: `CONFIG_ERROR_BOOTED' undeclared (first use in this
function)
BaseStationP.nc: In function `ConfigureReceive.receive':
BaseStationP.nc:375: `config_cmd_t' undeclared (first use in this function)
BaseStationP.nc: In function `doConfigure.runTask':
BaseStationP.nc:386: `config_cmd_t' undeclared (first use in this function)
BaseStationP.nc:386: `cmd' undeclared (first use in this function)
BaseStationP.nc:387: syntax error before `error'
BaseStationP.nc:388: `config_reply_t' undeclared (first use in this
function)
BaseStationP.nc:388: `reply' undeclared (first use in this function)
BaseStationP.nc:388: syntax error before `)'
BaseStationP.nc:390: syntax error before `)'
BaseStationP.nc:393: `CONFIG_ECHO' undeclared (first use in this function)
BaseStationP.nc:393: case label does not reduce to an integer constant
BaseStationP.nc:395: `CONFIG_SET_PARM' undeclared (first use in this
function)
BaseStationP.nc:395: case label does not reduce to an integer constant
BaseStationP.nc:406: `CONFIG_REBOOT' undeclared (first use in this function)
BaseStationP.nc:406: case label does not reduce to an integer constant
BaseStationP.nc:409: `CONFIG_KEEPALIVE' undeclared (first use in this
function)
BaseStationP.nc:409: case label does not reduce to an integer constant
BaseStationP.nc:413: `error' undeclared (first use in this function)
BaseStationP.nc: In function `configureReply.runTask':
BaseStationP.nc:424: `config_reply_t' undeclared (first use in this
function)
BaseStationP.nc:424: `reply' undeclared (first use in this function)
BaseStationP.nc:427: syntax error before `)'
BaseStationP.nc: In function `ConfigureTimer.fired':
BaseStationP.nc:453: `config_reply_t' undeclared (first use in this
function)
/home/tiny2/tinyos-main/tos/chips/cc2420/lpl/DummyLplC.nc:39:2: warning:
#warning "*** LOW POWER COMMUNICATIONS DISABLED ***"
/home/tiny2/tinyos-main/tos/chips/cc2420/link/PacketLinkC.nc:38:2: warning:
#warning "*** USING PACKET LINK LAYER"
Reset.h:56:2: error: #error "Reset.h not defined/supported for your
platform, aborting..."
make: *** [exe0] Error 1
Could you help me please,
Sincerely,
I am new member and it my first time to post on this mailing list. My
problem is, I want to install blip on shimmer2r devices and I have
downloaded the recent tinyos-main and tinyos-2.x-contrib OS using svn from
goodlecode repo. I have followed all the steps on the tinyos wiki for
installation but I could go through it, here were the command I used to
compile and the error I found
***@tiny1:~/tinyos-main/tinyos-2.x-contrib/berkeley/blip-2.0/apps/IPBaseStation$
make shimmer2r blip install bsl,/dev/ttyUSB0
mkdir -p build/shimmer2r
compiling BaseStationC to a shimmer2r binary
ncc -o build/shimmer2r/main.exe -Os -O -DCC2420_HW_ACKNOWLEDGEMENTS
-DCC2420_HW_ACKNOWLEDGEMENTS -DCC2420_HW_ADDRESS_RECOGNITION -DPACKET_LINK
-DTOSH_DATA_LENGTH=125 -I/home/tiny2/tinyos-main/tos/lib/net/
-I/home/tiny2/tinyos-main/tos/lib/printf/
-I/home/tiny2/tinyos-main/support/sdk/c/blip/
-I/home/tiny2/tinyos-main/tos/lib/net/blip/
-I/home/tiny2/tinyos-main/tos/lib/net/blip/interfaces/
-I/home/tiny2/tinyos-main/tos/lib/net/blip/nwprog/
-I/home/tiny2/tinyos-main/tos/lib/net/blip/shell/
-I/home/tiny2/tinyos-main/tos/lib/net/blip/serial/
-I/home/tiny2/tinyos-main/tos/lib/net/blip/platform/
-I/home/tiny2/tinyos-main/tos/lib/net/blip/icmp/
-I/home/tiny2/tinyos-main/tos/lib/net/blip/dhcp/
/home/tiny2/tinyos-main/support/sdk/c/blip/lib6lowpan/iovec.c
/home/tiny2/tinyos-main/support/sdk/c/blip/lib6lowpan/in_cksum.c
/home/tiny2/tinyos-main/support/sdk/c/blip/lib6lowpan/ip_malloc.c
/home/tiny2/tinyos-main/support/sdk/c/blip/lib6lowpan/utility.c
/home/tiny2/tinyos-main/tos/lib/net/blip/table.c -mdisable-hwmul
-fnesc-separator=__ -Wall -Wshadow -Wnesc-all -target=shimmer2r
-fnesc-cfile=build/shimmer2r/app.c -board= -DDEFINED_TOS_AM_GROUP=0x22
-DCC2420_DEF_CHANNEL=15 -DPACKET_LINK
-I/home/tiny2/tinyos-main/support/sdk/c/blip/interface
-I/home/tiny2/tinyos-main/tos/lib/serial -DIDENT_APPNAME=\"BaseStationC\"
-DIDENT_USERNAME=\"tiny2\" -DIDENT_HOSTNAME=\"tiny1\"
-DIDENT_USERHASH=0x543ca1f9L -DIDENT_TIMESTAMP=0x512e41afL
-DIDENT_UIDHASH=0x8d39b1c1L BaseStationC.nc -lm
BaseStationC.nc:88:21: error: devconf.h: No such file or directory
BaseStationP.nc:72:21: error: devconf.h: No such file or directory
In file included from BaseStationC.nc:100:
In component `BaseStationP':
BaseStationP.nc: In function `SerialControl.startDone':
BaseStationP.nc:192: `config_reply_t' undeclared (first use in this
function)
BaseStationP.nc:192: (Each undeclared identifier is reported only once
BaseStationP.nc:192: for each function it appears in.)
BaseStationP.nc:192: `reply' undeclared (first use in this function)
BaseStationP.nc:199: syntax error before `)'
BaseStationP.nc:202: `CONFIG_ERROR_BOOTED' undeclared (first use in this
function)
BaseStationP.nc: In function `ConfigureReceive.receive':
BaseStationP.nc:375: `config_cmd_t' undeclared (first use in this function)
BaseStationP.nc: In function `doConfigure.runTask':
BaseStationP.nc:386: `config_cmd_t' undeclared (first use in this function)
BaseStationP.nc:386: `cmd' undeclared (first use in this function)
BaseStationP.nc:387: syntax error before `error'
BaseStationP.nc:388: `config_reply_t' undeclared (first use in this
function)
BaseStationP.nc:388: `reply' undeclared (first use in this function)
BaseStationP.nc:388: syntax error before `)'
BaseStationP.nc:390: syntax error before `)'
BaseStationP.nc:393: `CONFIG_ECHO' undeclared (first use in this function)
BaseStationP.nc:393: case label does not reduce to an integer constant
BaseStationP.nc:395: `CONFIG_SET_PARM' undeclared (first use in this
function)
BaseStationP.nc:395: case label does not reduce to an integer constant
BaseStationP.nc:406: `CONFIG_REBOOT' undeclared (first use in this function)
BaseStationP.nc:406: case label does not reduce to an integer constant
BaseStationP.nc:409: `CONFIG_KEEPALIVE' undeclared (first use in this
function)
BaseStationP.nc:409: case label does not reduce to an integer constant
BaseStationP.nc:413: `error' undeclared (first use in this function)
BaseStationP.nc: In function `configureReply.runTask':
BaseStationP.nc:424: `config_reply_t' undeclared (first use in this
function)
BaseStationP.nc:424: `reply' undeclared (first use in this function)
BaseStationP.nc:427: syntax error before `)'
BaseStationP.nc: In function `ConfigureTimer.fired':
BaseStationP.nc:453: `config_reply_t' undeclared (first use in this
function)
/home/tiny2/tinyos-main/tos/chips/cc2420/lpl/DummyLplC.nc:39:2: warning:
#warning "*** LOW POWER COMMUNICATIONS DISABLED ***"
/home/tiny2/tinyos-main/tos/chips/cc2420/link/PacketLinkC.nc:38:2: warning:
#warning "*** USING PACKET LINK LAYER"
Reset.h:56:2: error: #error "Reset.h not defined/supported for your
platform, aborting..."
make: *** [exe0] Error 1
Could you help me please,
Sincerely,
--
Yared Berhanu Woldegiorgis
Økern torgvei 92
N-0589 Oslo, Norway
tel. 004746263024
***@ifi.uio.no
Yared Berhanu Woldegiorgis
Økern torgvei 92
N-0589 Oslo, Norway
tel. 004746263024
***@ifi.uio.no