Hi all,
I have a problem when I try to compile an application for Tossim in TinyOs
2.
I get this error message:
/opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:26:20: error: Python.h: Aucun
fichier ou dossier de ce type
/opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:296: error: ISO C++ forbids
declaration of 'PyObject' with no type
/opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:296: error: expected ';'before
'*'token
/opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:297: error: 'PyObject'has not
been declared
/opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:302: error: 'PyObject_HEAD' does
not name a type
/opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:306: error: expected initializer
before '*' token
/opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:313: error: 'FILE' has not been
declared
/opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx: In function 'int
swig_varlink_print(swig_varlinkobject*, int*, int)':
/opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:316: error: 'fprintf' was not
declared in this scope
/opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:317: error: 'struct
swig_varlinkobject' has no member named 'vars'
/opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx: At global scope:
/opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:325: error: expected initializer
before '*'token
/opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:3496: error: expected '}รข' at
end
of input
make: *** [sim-exe] Erreur 1
I read lesson 11 of tutorial and Troubleshooting TOSSIM compilation, but I can
not solve this problem.
I use Python 2.6
Anyone has some ideas?
Thanks in advance
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help