[Tinyos-help] "undefined reference" during "make micaz sim"

Philip Levis pal at cs.stanford.edu
Mon Sep 4 16:40:36 PDT 2006


On Aug 25, 2006, at 2:23 PM, Alexander Gäßler wrote:

> I newly installed MS Windows XP Pro SP2 with German MUI package.
> I newly installed Cygwin 1.5.21-1 release.
> I newly installed and configured TinyOS 2.0 beta2 as described on  
> www.tinyos.net.
> Everything works fine, tos-check-env too.
>
> But there was one problem during the make of TOSSIM files.
> I run "make micaz sim" when error messages appear concerning  
> "undefined reference to <python_symbol_name>".
> I could not found any suggestion. Did one of you have?
>
> Thanks,
> Alex

It looks like the version of Python you have is different than what  
the TOSSIM compilation sequence expects. The beta2 RPM currently does  
not automatically determine what Python version you have and adjust  
accordingly (it should). Type

python -V

Then go to support/make/sim.extra

And change the variable

PYTHON_VERSION

to be the first two digits of your python. E.g., if you have 2.4.1,  
change it to be

PYTHON_VERSION=2.4

Also, check that you have a directory

/usr/lib/pythonX.Y

If you don't, you might need to download a python-devel RPM.

Phil


More information about the Tinyos-help mailing list