hi, if you are using GCC in Linux, your gcc version may be 4.6, refer to http://sourceforge.net/tracker/?func=detail&aid=3153727&group_id=56288&atid=480036for any suggestion.
2012/5/25 Gagandeep Singh <gagandeep.s.dhin...@gmail.com> > Hi everybody, > > I am getting the problem while compiling for Tossim > > [gags@gags RadioCountToLeds]$ make micaz sim > > > [gags@gags RadioCountToLeds]$ make micaz sim > > mkdir -p simbuild/micaz > mig python -target=micaz -DIDENT_APPNAME=\"RadioCountToLed\" > -DIDENT_USERNAME=\"gags\" -DIDENT_HOSTNAME=\"gags\" > -DIDENT_USERHASH=0x7c2a7f59L -DIDENT_TIMESTAMP=0x4fbe9008L > -DIDENT_UIDHASH=0x86ba7359L -python-classname=RadioCountMsg > RadioCountToLeds.h radio_count_msg -o RadioCountMsg.py > two source files specified (PLATFORM_MICAZ and > IDENT_APPNAME="RadioCountToLed") > failed to parse message file RadioCountToLeds.h > make: *** [RadioCountMsg.py] Error 1 > > > Regards, > Gagan > > > On Thu, May 24, 2012 at 10:36 PM, Hamid Rafiei Karkvandi < > hamid.raf...@gmail.com> wrote: > >> Hello Everyone, >> >> I have got a problem with Deluge protocol. After a tough day I >> successfully installed and configured Deluge using these scripts: >> ./Bootstrap >> ./configure >> >> and then make; make install for tools/tinyos/misc as the Tutorial >> suggested and everything successfully installed, >> >> I am working on IRIS platform. I installed the Basestation program on >> IRIS using "make iris install,0 mib520,com3", successfully installed. >> but when I try to inject an image on this mote I get the following lines >> and errors: >> >> $ tos-deluge serial@com4:57600 -i 1 >> $TOSROOT/apps/Blink/build/iris/tos_image.xm >> l >> Flushing the serial port.. >> Checking if node is a Deluge T2 base station ... >> Pinging node ... >> Traceback (most recent call last): >> File "/usr/local/bin/tos-deluge", line 441, in <module> >> inject(imgNum, sys.argv[4]) >> File "/usr/local/bin/tos-deluge", line 316, in inject >> i = getIdent(imgNum) >> File "/usr/local/bin/tos-deluge", line 276, in getIdent >> r = read(imgNum, DELUGE_IDENT_OFFSET, DELUGE_IDENT_SIZE) >> File "/usr/local/bin/tos-deluge", line 180, in read >> reply = SerialReplyPacket(packet.data) >> AttributeError: 'NoneType' object has no attribute 'data' >> >> I cannot trace what the problem is, I have seen couple of other posts >> similar to mine but no satisfactory solution was found. I have updated my >> tinyOS to R5949 at the time. >> I appreciate if anyone can guide me through this, >> >> >> >> >> >> >> >> Regards, >> >> >> Hamid Rafiei Karkvandi >> >> >> >> >> _______________________________________________ >> Tinyos-help mailing list >> Tinyos-help@millennium.berkeley.edu >> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help >> > > > _______________________________________________ > Tinyos-help mailing list > Tinyos-help@millennium.berkeley.edu > https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help > -- Cyan Phoenix
_______________________________________________ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help