I'm using tinyos-2.0.0beta2-3.cygwin.noarch.rpm which is what the TinyOS installation page specifies. <http://www.tinyos.net/dist-2.0.0/tinyos/windows/tinyos-2.0.0beta2-3.cygwin.noarch.rpm>

I don't think the problem is with the version of python. The command that fails is


g++ -shared -fPIC build/micaz/pytossim.o build/micaz/sim.o build/micaz/tossim.o -lstdc++ -o _TOSSIMmodule.so


The unresolved references are in pytossim.o, and they seem to refer to some Python-related library (symbols like _PyString_FromString and __imp__PyExc_NameError). I don't see on this command line the library from which they should come. They are not in tossim.o (I checked with nm).


The instructions in the TOSSIM tutorial seem pretty similar to the one in the first tutorial, it basically just say to run "make micaz sim" in apps/Blink.


Sivan


Philip Levis wrote:

On Oct 7, 2006, at 7:47 AM, Sivan Toledo wrote:

Hi,


I installed TinyOS 2 on a Windows machine using the instructions in
http://www.tinyos.net/tinyos-2.x/doc/html/install-tinyos.html. I
installed a new copy of Cygwin from the provided tar.gz package (after
trying the standard distribution of cygwin, which didn't work because it
included Python 2.4 and not 2.3).


While working throught the tutorial "Lesson 1: TinyOS", I was unable to
build Blink for the target "micaz sim". The build failed with the
following link errors (I chopped the end). The build went fine for
telosb and for micaz (without sim).


Which version of TinyOS 2.0?

The TOSSIM tutorial gives instructions on how to reconfigure for different Python versions.

Phil

+++++++++++++++++++++++++++++++++++++++++++
This Mail Was Scanned By Mail-seCure System
at the Tel-Aviv University CC.

_______________________________________________
Tinyos-help mailing list
[email protected]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to