There are many threads regarding this issue, I had many issues myself.
Must start with 1.1.0, and then upgrade to 1.1.15, before upgrading, must
upgrade cygwin. IN my case, i had to reinstall all gcc component, this is done
while upgrading to cygwin, you can specify packages to keep, upgrade or remove,
click all the gcc packages untill it says reinstall, once that is done, and
1.1.15 is done perform these operations:
(not sure you if you are getting this message, but i was:
Couldn't execute msp430-gcc
in that case, you neeed to install this package:
mspgcc-win32tinyos-20041204-1.cygwin.i386.rpm)
first- reboot cygwin!
cd tools/java/net/tinyos/deluge; make
cd tools/java/net/tinyos/tools; make
that did it for me.
Quoting Michael Newman <[EMAIL PROTECTED]>:
> I decided to upgrade to 1.15. I properly uninstalled TinyOS and CYGWIN by
> following the instructions on the web site.
>
> The uninstall was not clean, I had to delete things manually.
>
> I then installed TinyOS 1.1.11 from tinyos-1.1.11-1is.exe.
> I made no changes at all. I put tinyos-1.1.15Dec2005cvs-1.cygwin.noarch.rpm
> in the
> opt directory and invoked it with the command on the web page:
>
> rpm --force --ignoreos -Uvh
> tinyos-1.1.15Dec2005cvs-1.cygwin.noarch.rpm
>
> I got several failures. First I got a compile time failure on PageEEProm.nc.
> This was documented in an email, so I ignored it.
>
> I then got failures trying to build the Java applications. (see BELOW)
>
> Finally I get "cannot resolve symbol" in a 100 deluge related Java
> application builds. (search below for DELUGE FAILURES)
>
> Any clues? Are people finding that 1.15 is ready for prime time?
>
>
>
>
>
>
> JAVA FAILURES
>
>
>
> /opt/tinyos-1.x/tools/java/net/tinyos $make
> ... /opt/tinyos-1.x/tools/java/net/tinyos
> make[1]: Entering directory `/opt/tinyos-1.x/tools/java/net/tinyos/deluge'
> ... /opt/tinyos-1.x/tools/java/net/tinyos/deluge
> mig java -java-classname=net.tinyos.deluge.DelugeAdvMsg -target=telosb
> -I/opt/tinyos-1.x/tos/lib/Deluge -I/opt/tinyos-1.
> x/tos/lib/CC2420Radio /opt/tinyos-1.x/tos/lib/Deluge/DelugeMsgs.h
> DelugeAdvMsg -o DelugeAdvMsg.java
> c:\mspgcc\bin\msp430-gcc.exe (3448): *** proc magic mismatch detected -
> 0x19C16FB6/0xD079E02.
> This problem is probably due to using incompatible versions of the cygwin
> DLL.
> Search for cygwin1.dll using the Windows Start->Find/Search facility
> and delete all but the most recent version. The most recent version
> *should*
> reside in x:\cygwin\bin, where 'x' is the drive on which you have
> installed the cygwin distribution. Rebooting is also suggested if you
> are unable to find another cygwin DLL.
> failed to parse message file /opt/tinyos-1.x/tos/lib/Deluge/DelugeMsgs.h
> make[1]: *** [DelugeAdvMsg.java] Error 1
> make[1]: Leaving directory `/opt/tinyos-1.x/tools/java/net/tinyos/deluge'
> make[1]: Entering directory `/opt/tinyos-1.x/tools/java/net/tinyos/drain'
> ... /opt/tinyos-1.x/tools/java/net/tinyos/drain
> mig java -target=telosb -I/opt/tinyos-1.x/tos/lib/CC2420Radio
> -java-classname=net.tinyos.drain.DrainMsg /opt/tinyos-1.x/
> tos/lib/Drain/Drain.h DrainMsg -o DrainMsg.java
> c:\mspgcc\bin\msp430-gcc.exe (2444): *** proc magic mismatch detected -
> 0x19C16FB6/0xD079E02.
> This problem is probably due to using incompatible versions of the cygwin
> DLL.
> Search for cygwin1.dll using the Windows Start->Find/Search facility
> and delete all but the most recent version. The most recent version
> *should*
> reside in x:\cygwin\bin, where 'x' is the drive on which you have
> installed the cygwin distribution. Rebooting is also suggested if you
> are unable to find another cygwin DLL.
> failed to parse message file /opt/tinyos-1.x/tos/lib/Drain/Drain.h
> make[1]: *** [DrainMsg.java] Error 1
> make[1]: Leaving directory `/opt/tinyos-1.x/tools/java/net/tinyos/drain'
> make[1]: Entering directory `/opt/tinyos-1.x/tools/java/net/tinyos/drip'
> ... /opt/tinyos-1.x/tools/java/net/tinyos/drip
> ncg java -target=telosb -I/opt/tinyos-1.x/tos/lib/CC2420Radio
> -java-classname=net.tinyos.drip.DripConsts -I/opt/tinyos-1
> .x/tos/lib/Drip /opt/tinyos-1.x/tos/lib/Drip/Drip.h Drip.h -o
> DripConsts.java
> c:\mspgcc\bin\msp430-gcc.exe (616): *** proc magic mismatch detected -
> 0x19C16FB6/0xD079E02.
> This problem is probably due to using incompatible versions of the cygwin
> DLL.
> Search for cygwin1.dll using the Windows Start->Find/Search facility
> and delete all but the most recent version. The most recent version
> *should*
> reside in x:\cygwin\bin, where 'x' is the drive on which you have
> installed the cygwin distribution. Rebooting is also suggested if you
> are unable to find another cygwin DLL.
> failed to parse nesC file /opt/tinyos-1.x/tos/lib/Drip/Drip.h
> make[1]: *** [DripConsts.java] Error 1
> make[1]: Leaving directory `/opt/tinyos-1.x/tools/java/net/tinyos/drip'
> make[1]: Entering directory `/opt/tinyos-1.x/tools/java/net/tinyos/ident'
> ... /opt/tinyos-1.x/tools/java/net/tinyos/ident
> make[1]: Leaving directory `/opt/tinyos-1.x/tools/java/net/tinyos/ident'
> make[1]: Entering directory `/opt/tinyos-1.x/tools/java/net/tinyos/matchbox'
> ... /opt/tinyos-1.x/tools/java/net/tinyos/matchbox
> make[2]: Entering directory
> `/opt/tinyos-1.x/tools/java/net/tinyos/matchbox/tools'
> ... /opt/tinyos-1.x/tools/java/net/tinyos/matchbox/tools
> make[2]: Leaving directory
> `/opt/tinyos-1.x/tools/java/net/tinyos/matchbox/tools'
> make[1]: Leaving directory `/opt/tinyos-1.x/tools/java/net/tinyos/matchbox'
> make[1]: Entering directory `/opt/tinyos-1.x/tools/java/net/tinyos/matlab'
> You need to install matlab to use this package. Please include
> MATLAB_DIR/java/jar/jmi.jar to your classpath, then run "
> make matlab"
> make[1]: Leaving directory `/opt/tinyos-1.x/tools/java/net/tinyos/matlab'
> make[1]: Entering directory `/opt/tinyos-1.x/tools/java/net/tinyos/mcenter'
> ... /opt/tinyos-1.x/tools/java/net/tinyos/mcenter
> make[2]: Entering directory
> `/opt/tinyos-1.x/tools/java/net/tinyos/mcenter/treeTable'
> ... /opt/tinyos-1.x/tools/java/net/tinyos/mcenter/treeTable
> make[2]: Leaving directory
> `/opt/tinyos-1.x/tools/java/net/tinyos/mcenter/treeTable'
> make[1]: Leaving directory `/opt/tinyos-1.x/tools/java/net/tinyos/mcenter'
> make[1]: Entering directory `/opt/tinyos-1.x/tools/java/net/tinyos/message'
> ... /opt/tinyos-1.x/tools/java/net/tinyos/message
> make[2]: Entering directory
> `/opt/tinyos-1.x/tools/java/net/tinyos/message/avrmote'
> ... /opt/tinyos-1.x/tools/java/net/tinyos/message/avrmote
> make[2]: Leaving directory
> `/opt/tinyos-1.x/tools/java/net/tinyos/message/avrmote'
> make[2]: Entering directory
> `/opt/tinyos-1.x/tools/java/net/tinyos/message/telos'
> ... /opt/tinyos-1.x/tools/java/net/tinyos/message/telos
> make[2]: Leaving directory
> `/opt/tinyos-1.x/tools/java/net/tinyos/message/telos'
> make[2]: Entering directory
> `/opt/tinyos-1.x/tools/java/net/tinyos/message/micaz'
> ... /opt/tinyos-1.x/tools/java/net/tinyos/message/micaz
> make[2]: Leaving directory
> `/opt/tinyos-1.x/tools/java/net/tinyos/message/micaz'
> make[1]: Leaving directory `/opt/tinyos-1.x/tools/java/net/tinyos/message'
> make[1]: Entering directory `/opt/tinyos-1.x/tools/java/net/tinyos/oscope'
> ... /opt/tinyos-1.x/tools/java/net/tinyos/oscope
> make[1]: Leaving directory `/opt/tinyos-1.x/tools/java/net/tinyos/oscope'
> make[1]: Entering directory `/opt/tinyos-1.x/tools/java/net/tinyos/packet'
> ... /opt/tinyos-1.x/tools/java/net/tinyos/packet
> make[1]: Leaving directory `/opt/tinyos-1.x/tools/java/net/tinyos/packet'
> make[1]: Entering directory `/opt/tinyos-1.x/tools/java/net/tinyos/plot'
> ... /opt/tinyos-1.x/tools/java/net/tinyos/plot
> (cd ../sim/msg; make)
> make[2]: Entering directory `/opt/tinyos-1.x/tools/java/net/tinyos/sim/msg'
> make[2]: Nothing to be done for `all'.
> make[2]: Leaving directory `/opt/tinyos-1.x/tools/java/net/tinyos/sim/msg'
> make[1]: Leaving directory `/opt/tinyos-1.x/tools/java/net/tinyos/plot'
> make: *** [subdirs] Interrupt
>
> /opt/tinyos-1.x/tools/java/net/tinyos $
> /opt/tinyos-1.x/tools/java/net/tinyos $
>
>
>
>
>
>
> DELUGE FAILURES
>
>
>
>
> DelugeReqMsg reqMsg = new DelugeReqMsg();
> ^
> C:\tinyos\cygwin\opt\tinyos-1.x\tools\java\net\tinyos\deluge\Pinger.java:335
> : cannot resolve symbol
> symbol : variable DelugeDataMsg
> location: class net.tinyos.deluge.Pinger
> case DelugeDataMsg.AM_TYPE:
> ^
> C:\tinyos\cygwin\opt\tinyos-1.x\tools\java\net\tinyos\deluge\Pinger.java:337
> : cannot resolve symbol
> symbol : class DelugeDataMsg
> location: class net.tinyos.deluge.Pinger
> DelugeDataMsg dataMsg = (DelugeDataMsg)m;
> ^
> C:\tinyos\cygwin\opt\tinyos-1.x\tools\java\net\tinyos\deluge\Pinger.java:337
> : cannot resolve symbol
> symbol : class DelugeDataMsg
> location: class net.tinyos.deluge.Pinger
> DelugeDataMsg dataMsg = (DelugeDataMsg)m;
> ^
> C:\tinyos\cygwin\opt\tinyos-1.x\tools\java\net\tinyos\deluge\Pinger.java:342
> : cannot resolve symbol
> symbol : class DelugeAdvMsg
> location: class net.tinyos.deluge.Pinger
> pingReply = (DelugeAdvMsg)pingReplies.get(new Integer(curImage));
> ^
> C:\tinyos\cygwin\opt\tinyos-1.x\tools\java\net\tinyos\deluge\Pinger.java:348
> : cannot resolve symbol
> symbol : variable DelugeConsts
> location: class net.tinyos.deluge.Pinger
> || dataMsg.get_pktNum() >= DelugeConsts.DELUGE_PKTS_PER_PAGE)
> ^
> C:\tinyos\cygwin\opt\tinyos-1.x\tools\java\net\tinyos\deluge\Pinger.java:355
> : cannot resolve symbol
> symbol : variable DelugeConsts
> location: class net.tinyos.deluge.Pinger
> pktNum*DelugeConsts.DELUGE_PKT_PAYLOAD_SIZE,
> ^
> C:\tinyos\cygwin\opt\tinyos-1.x\tools\java\net\tinyos\deluge\Pinger.java:356
> : cannot resolve symbol
> symbol : variable DelugeConsts
> location: class net.tinyos.deluge.Pinger
> DelugeConsts.DELUGE_PKT_PAYLOAD_SIZE);
> ^
> C:\tinyos\cygwin\opt\tinyos-1.x\tools\java\net\tinyos\deluge\Downloader.java
> :38: cannot resolve symbol
> symbol : variable DelugeConsts
> location: class net.tinyos.deluge.Downloader
> private static final int PAGE_SIZE =
> DelugeConsts.DELUGE_PKTS_PER_PAGE*DelugeConsts.DELUGE_PKT_PAYLOAD_SIZE;
> ^
> C:\tinyos\cygwin\opt\tinyos-1.x\tools\java\net\tinyos\deluge\Downloader.java
> :38: cannot resolve symbol
> symbol : variable DelugeConsts
> location: class net.tinyos.deluge.Downloader
> private static final int PAGE_SIZE =
> DelugeConsts.DELUGE_PKTS_PER_PAGE*DelugeConsts.DELUGE_PKT_PAYLOAD_SIZE;
> ^
> C:\tinyos\cygwin\opt\tinyos-1.x\tools\java\net\tinyos\deluge\Downloader.java
> :46: cannot resolve symbol
> symbol : variable DelugeReqMsg
> location: class net.tinyos.deluge.Downloader
> private short pktsToReceive[] = new
> short[DelugeReqMsg.totalSize_requestedPkts()];
> ^
> C:\tinyos\cygwin\opt\tinyos-1.x\tools\java\net\tinyos\deluge\Downloader.java
> :93: cannot resolve symbol
> symbol : class DelugeAdvMsg
> location: class net.tinyos.deluge.Downloader
> moteif.registerListener(new DelugeAdvMsg(), this);
> ^
>
>
>
>
> And lots more...
>
> _____
>
>
> Michael Newman
>
> Dragonnorth Group
>
>
> 319 Dean Rd.
> Brookline, MA 02445
>
> Cell: 617 821-4608
> Home: 617 566-7975
> Fax: 617 566-7975
>
>
> <http://www.dragonnorth.com/> www.dragonnorth.com
>
> <mailto:[EMAIL PROTECTED]> [EMAIL PROTECTED]
>
>
>
> _____
>
>
> Michael Newman
>
> Dragonnorth Group
>
>
> 319 Dean Rd.
> Brookline, MA 02445
>
> Cell: 617 821-4608
> Home: 617 566-7975
> Fax: 617 566-7975
>
>
> www.dragonnorth.com <http://www.dragonnorth.com/>
>
> [EMAIL PROTECTED]
>
>
>
-------------------------------------------------
This mail sent through IMP: http://horde.org/imp/
_______________________________________________
Tinyos-help mailing list
[email protected]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help