It's a good practice to upgrade cygwin to the latest release when you upgrade from T1 to T2. Newer versions of the cygwin.dll are backwards compatible with the older ones, so the incompatibility issues you're facing would go away. Also, always make sure that you have only one cygwin tree installed on your computer, otherwise things can (and will) break...
Janos -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Neil Hancock Sent: Thursday, March 20, 2008 12:58 PM To: [email protected] Subject: [Tinyos-help] TinyOS 2.0 upgrade Hi All I'm wondering if anybody else has had problems upgrading from TinyOS 1.1.15 - and I can't find any recent suggestions on this topic in the archives. I've been running with the latest cygwin based environment from the pre-2.0 and which has been stable for the last 2+ years. I have a well beaten up windows workstation XP PROF with the latest updates and a laptop with Vista Business .. I followed the Cygwin Tutorial instructions on upgrading http://www.tinyos.net/tinyos-2.x/doc/html/upgrade-tinyos.html - when it came to install the tinyos-tools-1.2.4-2.cygwin.i386.rpm I got Giveio-install.exe complaining about "entry point_getreent could not be located in the dll cygwin1.dll" . I reinstalled the reference cygwin a couple of times and couldn't get past this - something really wrong in my setup that the install isn't fixing. So then I attempted a clean install of the reference tools - renaming my old c:\tinyos\cygwin and letting it build c:\tinyos\cygwin\... tool chain. So now I have TinyOs 2.0 tools. On adding my TinyOs tree (1.1.15) and knitting it into the tools it then started to compile my tree, hurrah .. but ended up with Nesc1.exe - Entry Point Not Found " The procedure entry point basename could not be located in the dll cygwn1.dll By this time - I'd taken at least 8 hours to get here. So is anybody using the Cygwin tools as per the tutorial.? Any suggestions as to where I should start. Is this supported under windows Vista. I tried to put an environment on my Vista portable a couple of months ago, and Cygwin didn't want to run on it from what I remember. So I tried the UbunTos route - thanks for Kevin Klueska 's good instructions and setting up the basic model - and after another 4 hours managed to get 2.0 App Blink to compile - Vmware/XP Prof and VmPlayer/Vista Business- but the environment isn't connected in with Windows - and I'm going to have trouble with the Windows tool chain - so I'm not seeing this as a viable option. So know I've downgraded my XP workstation (switched out my directories) back to the one where I rebuilt to the recommended Cygwin - and been running this for a week. Whats interesting is that it fails after about 20 compiles - kaput, does something weird, and requires a windows reboot. This has happened about 5 times in the last week . So the recommended Cygwin environment supplied is slightly different and less stable than the environment derived from following the Tinyos 1.1.15 upgrade path. Many thanks for any help Neil Hancock _______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help _______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
