hi all ...

I tried all possible ways to make TOSSIM to work on 2.x (changed sim.extra and also tried changing -lpython config in system.py). No USE.

Can anybody help? How can I uninstall Python2.3 and reinstall Python2.5? I iosntalled 2.3 as a part of TinyOS2.x installation and so simple installion of Python2.5 anywhere else is not working.

Rgds
Sai

PS --

It gives the following errors when i compile for TOSSIM --

/opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:3418: error: ISO C++ forbids
  declaration of `PyObject' with no type
/opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:3418: error: parse error before
  `*' token
/opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:3420: error: `m' undeclared
  (first use this function)
/opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:3422: error: `SWIG_globals'
  undeclared (first use this function)
/opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:3422: error: `
  SWIG_Python_newvarlink' undeclared (first use this function)
/opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:3423: error: `SwigMethods'
  undeclared (first use this function)
/opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:3423: error: `Py_InitModule'
  undeclared (first use this function)
/opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:3424: error: `PyModule_GetDict'
  undeclared (first use this function)
make: *** [sim-exe] Error 1

warnings --

.c -board=micasb  -Wno-nesc-data-race BlinkAppC.nc  -fnesc-dump=comp
sc-dump=variables -fnesc-dump=constants -fnesc-dump=typedefs -fnesc-d
cedefs -fnesc-dump=tags -fnesc-dumpfile=app.xml
luded from /opt/tinyos-2.x/tos/lib/tossim/sim_mac.c:34,
      from /opt/tinyos-2.x/tos/lib/tossim/tos.h:90:
-2.x/tos/lib/tossim/sim_gain.c:14: warning: declaration of `link' sha
declaration
e/sys/unistd.h:97: warning: location of shadowed declaration
-2.x/tos/lib/tossim/sim_gain.c:20: warning: declaration of `link' sha
declaration
e/sys/unistd.h:97: warning: location of shadowed declaration
-2.x/tos/lib/tossim/sim_gain.c: In function `sim_gain_allocate_link':

-2.x/tos/lib/tossim/sim_gain.c:134: warning: declaration of `link' sh
l declaration
e/sys/unistd.h:97: warning: location of shadowed declaration
-2.x/tos/lib/tossim/sim_gain.c: At top level:
-2.x/tos/lib/tossim/sim_gain.c:141: warning: declaration of `link' sh
l declaration
e/sys/unistd.h:97: warning: location of shadowed declaration



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

Reply via email to