Why people on this list send reply to personal emails rather then the actul list ???
Pradeep, please try using blip-rpl-devel branch or an older mainstream revision. See a message about blip status on blip-users list archive. On Wed, Mar 09, 2011 at 12:16:15PM -0800, Pradeep BR wrote: > Hello ErrorDeveloper > > In your previous response to my mail, you had instructed me to set > PATH environment variable properly otherwise I would get nowhere. > > Presently I have set the PATH environment with the following value > *PATH=/opt/msp430-gcc-4.4.5/**bin:$PATH* in my shell script. > I am using mspgcc4 downloaded from http://mspgcc4.sourceforge.net > > I am attaching my shell script with filename tinyos.sh which I run > every time I log into terminal. > > I am also attaching my error log I get when I build the IPBaseStation. > > The code which I am trying to build is the recent which I downloaded > using the following command. > svn checkout *http*://tinyos-main.googlecode.com/svn/trunk/ > tinyos-main-read-only > > I have almost spent 8 days for installing TinyOS. > Can u please send me your PATH environment variable setting or Can you > please suggest where I might be going wrong. > > Thanks > Pradeep > > On Mon, Mar 07, 2011 at 06:25:18AM -0800, Pradeep BR wrote: > * Hello All > *>* > *>* I am a masters student from Suny Buffalo. > *>* > *>* I am facing a strange problem while I am building IPBaseStation. The > problem > *>* > *>* is > > *>* compiler is not able to detect TinyOS keywords, For example whenever it > *>* comes > *>* across any TinyOS keywords like module, interface, configuration for the > *>* second > *>* time it says syntax error before `module. > > *Sounds like you are using C compiler instead of nesC compiler. > > >* > *>* One more point that I want to mention is that I was initially able to > build > *>* IPBaseStation with Tinyos_2.1.1 code which I got when I installed TinyOS. > > *>* But > *>* I > *>* am unable to build IPBaseStation after downloading recent code from svn > *>* repository . > *>* > *>* I spent whole saturday and sunday trying to debug this but am not able to > do > > *>* so. Can you please help me I am sure this has to do with some setting in > *>* Makefile or compiler options. > *>* > *It's is more likely the problem with environment varibles, you need > > you won't get anywhere :) > >* > *>* Thanks > *>* Pradeep > * > > > to first check if all installed tools are in the PATH, otherwise > wisreed@ubuntu:/opt/tinyos-main-read-only/apps/IPBaseStation$ make epic blip > mkdir -p build/epic > compiling BaseStationC to a epic binary > ncc -o build/epic/main.exe -Os -DCC2420_HW_ACKNOWLEDGEMENTS > -DCC2420_HW_ADDRESS_RECOGNITION -DPACKET_LINK -DTOSH_DATA_LENGTH=90 > -I/opt/tinyos-main-read-only/tos/lib/net/ > -I/opt/tinyos-main-read-only/support/sdk/c/blip/ > -I/opt/tinyos-main-read-only/tos/lib/net/blip/ > -I/opt/tinyos-main-read-only/tos/lib/net/blip/interfaces/ > -I/opt/tinyos-main-read-only/tos/lib/net/blip/nwprog/ > -I/opt/tinyos-main-read-only/tos/lib/net/blip/shell/ > -I/opt/tinyos-main-read-only/tos/lib/net/blip/serial/ > -I/opt/tinyos-main-read-only/tos/lib/net/blip/platform/ > -I/opt/tinyos-main-read-only/tos/lib/net/blip/icmp/ > -I/opt/tinyos-main-read-only/tos/lib/net/blip/dhcp/ > /opt/tinyos-main-read-only/support/sdk/c/blip/lib6lowpan/iovec.c > /opt/tinyos-main-read-only/support/sdk/c/blip/lib6lowpan/in_cksum.c > /opt/tinyos-main-read-only/support/sdk/c/blip/lib6lowpan/ip_malloc.c > /opt/tinyos-main-read-only/support/sdk/c/blip/lib6lowpan/utility.c > /opt/tinyos-main-read-only/tos/lib/net/blip/table.c -mdisable-hwmul -f! nesc-separator=__ -Wall -Wshadow -Wn > esc-all -target=epic -fnesc-cfile=build/epic/app.c -board= > -DDEFINED_TOS_AM_GROUP=0x22 -DNO_IP_MALLOC -DIEEE154FRAMES_ENABLED > -DIDENT_APPNAME=\"BaseStationC\" -DIDENT_USERNAME=\"wisreed\" > -DIDENT_HOSTNAME=\"ubuntu\" -DIDENT_USERHASH=0x3164f2caL > -DIDENT_TIMESTAMP=0x4d77da4fL -DIDENT_UIDHASH=0xcbed5d7fL BaseStationC.nc > -lm > BaseStationP.nc:93:21: error: devconf.h: No such file or directory > BaseStationP.nc:94:24: error: lib6lowpan.h: No such file or directory > In file included from BaseStationP.nc:112, > from BaseStationC.nc:81: > In interface `IPAddress': > /opt/tinyos-main-read-only/tos/lib/net/blip/interfaces/IPAddress.nc:29: > warning: `struct in6_addr' declared inside parameter list > /opt/tinyos-main-read-only/tos/lib/net/blip/interfaces/IPAddress.nc:29: > warning: its scope is only this definition or declaration, > /opt/tinyos-main-read-only/tos/lib/net/blip/interfaces/IPAddress.nc:29: > warning: which is probably not what you want. > /opt/tinyos-main-read-only/tos/lib/net/blip/interfaces/IPAddress.nc:34: > warning: `struct in6_addr' declared inside parameter list > /opt/tinyos-main-read-only/tos/lib/net/blip/interfaces/IPAddress.nc:39: > warning: `struct ip6_hdr' declared inside parameter list > /opt/tinyos-main-read-only/tos/lib/net/blip/interfaces/IPAddress.nc:44: > warning: `struct in6_addr' declared inside parameter list > /opt/tinyos-main-read-only/tos/lib/net/blip/interfaces/IPAddress.nc:50: > warning: `struct in6_addr' declared inside parameter list > /opt/tinyos-main-read-only/tos/lib/net/blip/interfaces/IPAddress.nc:52: > warning: `struct in6_addr' declared inside parameter list > In file included from BaseStationC.nc:81: > In component `BaseStationP': > BaseStationP.nc:139: `BLIP_L2_RETRIES' undeclared here (not in a function) > BaseStationP.nc:140: `BLIP_L2_DELAY' undeclared here (not in a function) > BaseStationP.nc:149: syntax error before `*' > BaseStationP.nc: In function `configureReply.runTask': > BaseStationP.nc:180: `reply' undeclared (first use in this function) > BaseStationP.nc:180: (Each undeclared identifier is reported only once > BaseStationP.nc:180: for each function it appears in.) > BaseStationP.nc:180: interface has no command or event named `getShortAddr' > BaseStationP.nc: In function `Boot.booted': > BaseStationP.nc:218: `reply' undeclared (first use in this function) > BaseStationP.nc:218: `config_reply_t' undeclared (first use in this function) > BaseStationP.nc:218: syntax error before `)' > BaseStationP.nc: In function `SerialControl.startDone': > BaseStationP.nc:237: `reply' undeclared (first use in this function) > BaseStationP.nc:237: `CONFIG_ERROR_BOOTED' undeclared (first use in this > function) > BaseStationP.nc: In function `ConfigureReceive.receive': > BaseStationP.nc:424: `config_cmd_t' undeclared (first use in this function) > BaseStationP.nc:424: `cmd' undeclared (first use in this function) > BaseStationP.nc:425: syntax error before `error' > BaseStationP.nc:433: syntax error before `)' > BaseStationP.nc:436: `CONFIG_ECHO' undeclared (first use in this function) > BaseStationP.nc:436: case label does not reduce to an integer constant > BaseStationP.nc:438: `CONFIG_SET_PARM' undeclared (first use in this function) > BaseStationP.nc:438: case label does not reduce to an integer constant > BaseStationP.nc:446: interface has no command or event named `setShortAddr' > BaseStationP.nc:452: `CONFIG_REBOOT' undeclared (first use in this function) > BaseStationP.nc:452: case label does not reduce to an integer constant > BaseStationP.nc:455: `CONFIG_KEEPALIVE' undeclared (first use in this > function) > BaseStationP.nc:455: case label does not reduce to an integer constant > BaseStationP.nc:459: `reply' undeclared (first use in this function) > BaseStationP.nc:459: `error' undeclared (first use in this function) > BaseStationP.nc: In function `ConfigureTimer.fired': > BaseStationP.nc:478: `config_reply_t' undeclared (first use in this function) > BaseStationP.nc: At top level: > BaseStationP.nc:132: `IPAddress.changed' not implemented > /opt/tinyos-main-read-only/tos/chips/cc2420/lpl/DummyLplC.nc:39:2: warning: > #warning "*** LOW POWER COMMUNICATIONS DISABLED ***" > /opt/tinyos-main-read-only/tos/chips/cc2420/link/PacketLinkC.nc:38:2: > warning: #warning "*** USING PACKET LINK LAYER" > /opt/tinyos-main-read-only/tos/lib/net/blip/serial/SerialDevConfC.nc:54:27: > error: SerialDevConf.h: No such file or directory > In file included from BaseStationC.nc:107: > In component `SerialDevConfC': > /opt/tinyos-main-read-only/tos/lib/net/blip/serial/SerialDevConfC.nc:63: > component SerialPacketInfoDevConfP not found > /opt/tinyos-main-read-only/tos/lib/net/blip/serial/SerialDevConfC.nc:66: > `TOS_SERIAL_DEVCONF' undeclared here (not in a function) > /opt/tinyos-main-read-only/tos/lib/net/blip/serial/SerialDevConfC.nc:67: > `TOS_SERIAL_DEVCONF' undeclared here (not in a function) > /opt/tinyos-main-read-only/tos/lib/net/blip/serial/SerialDevConfC.nc:68: > `TOS_SERIAL_DEVCONF' undeclared here (not in a function) > /opt/tinyos-main-read-only/tos/lib/net/blip/serial/SerialDevConfC.nc:68: no > match > In file included from > /opt/tinyos-main-read-only/tos/lib/net/blip/IPAddressC.nc:28, > from BaseStationC.nc:114: > In component `IPAddressP': > /opt/tinyos-main-read-only/tos/lib/net/blip/IPAddressP.nc:37: conflicting > types for `IPAddress.getLLAddr' > /opt/tinyos-main-read-only/tos/lib/net/blip/interfaces/IPAddress.nc:29: > previous declaration of `IPAddress.getLLAddr' > /opt/tinyos-main-read-only/tos/lib/net/blip/IPAddressP.nc:56: conflicting > types for `IPAddress.getGlobalAddr' > /opt/tinyos-main-read-only/tos/lib/net/blip/interfaces/IPAddress.nc:34: > previous declaration of `IPAddress.getGlobalAddr' > /opt/tinyos-main-read-only/tos/lib/net/blip/IPAddressP.nc:61: conflicting > types for `IPAddress.setSource' > /opt/tinyos-main-read-only/tos/lib/net/blip/interfaces/IPAddress.nc:39: > previous declaration of `IPAddress.setSource' > /opt/tinyos-main-read-only/tos/lib/net/blip/IPAddressP.nc:83: conflicting > types for `IPAddress.isLocalAddress' > /opt/tinyos-main-read-only/tos/lib/net/blip/interfaces/IPAddress.nc:44: > previous declaration of `IPAddress.isLocalAddress' > /opt/tinyos-main-read-only/tos/lib/net/blip/IPAddressP.nc:117: conflicting > types for `IPAddress.isLLAddress' > /opt/tinyos-main-read-only/tos/lib/net/blip/interfaces/IPAddress.nc:50: > previous declaration of `IPAddress.isLLAddress' > /opt/tinyos-main-read-only/tos/lib/net/blip/IPAddressP.nc:125: conflicting > types for `IPAddress.setAddress' > /opt/tinyos-main-read-only/tos/lib/net/blip/interfaces/IPAddress.nc:52: > previous declaration of `IPAddress.setAddress' > make: *** [exe0] Error 1 > _______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
