On 08/03/07, Charalambos Neokleous <[EMAIL PROTECTED]> wrote:
>Well you probably need to install gcc C++ support see:
>http://packages.ubuntu.com/edgy/devel/g++

I installed that package but a different problem came though:

.....
/opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:6916: error:
'const_table' was not declared in this scope
/opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:6917: error:
expected primary-expression before '*' token
/opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:6917: error:
'types' was not declared in this scope
/opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:6918: error:
expected primary-expression before '*' token
/opt/tinyos- 2.x/tos/lib/tossim/tossim_wrap.cxx:6918:
error: 'types_initial' was not declared in this scope
/opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:6918: error:
initializer expression list treated as compound expression
/opt/tinyos- 2.x/tos/lib/tossim/tossim_wrap.cxx:6918:
error: expected ',' or ';' before '{' token
/opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx: In function
'void init_TOSSIM()':
 /opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:6968:
error: 'PyObject' was not declared in this scope
/opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:6968: error:
'm' was not declared in this scope
/opt/tinyos- 2.x/tos/lib/tossim/tossim_wrap.cxx:6968:
error: 'd' was not declared in this scope
/opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:6971: error:
'SwigMethods' was not declared in this scope
/opt/tinyos- 2.x/tos/lib/tossim/tossim_wrap.cxx:6971:
error: 'SWIG_Python_FixMethods' cannot be used as a function
/opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:6973: error:
'Py_InitModule' was not declared in this scope
/opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:6974: error:
'PyModule_GetDict' was not declared in this scope
/opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:6977: error:
'SWIG_Python_InstallConstants' cannot be used as a function
make: *** [sim-exe] Error 1


Those look like the errors generated from a wrong python version, when
the compiler fails to find Python.h. Make sure you've got python 2.3
or 2.4 installed first. If it's 2.4 you'll have to edit the sim.extra
file in support/make and change "Python2.3" to "Python 2.4". There are
common problems and their solutions in the Appendix A for the TOSSIM
tutorial.
_______________________________________________
Tinyos-help mailing list
[email protected]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to