Ok, I've done what you tell me, but now I obtain the next error. That is only a part of the errors:
`->' token /opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:6875: error: syntax error before `*' token /opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:6888: error: parse error before `[' token /opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx: In function `void SWIG_Python_InstallConstants(...)': /opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:6891: error: `constants' undeclared (first use this function) /opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:6894: error: ` SWIG_Python_NewPointerObj' undeclared (first use this function) /opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:6897: error: ` SWIG_Python_NewPackedObj' undeclared (first use this function) /opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:6904: error: ` PyDict_SetItemString' undeclared (first use this function) /opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:6905: error: `Py_DECREF' cannot be used as a function /opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx: At global scope: /opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:6915: error: `PyMethodDef' was not declared in this scope /opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:6915: error: `methods' was not declared in this scope /opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:6916: error: parse error before `*' token /opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx: In function `void SWIG_Python_FixMethods(...)': /opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:6920: error: `methods' undeclared (first use this function) /opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:6926: error: `const_table' undeclared (first use this function) /opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:6934: error: `types' undeclared (first use this function) /opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:6935: error: `types_initial' undeclared (first use this function) /opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx: At global scope: /opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:6957: error: parse error 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:6971: error: `SwigMethods' undeclared (first use this function) /opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:6973: error: `Py_InitModule' undeclared (first use this function) /opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:6974: error: `PyModule_GetDict' undeclared (first use this function) make: *** [sim-exe] Error 1 -----Mensaje original----- De: Philip Levis [mailto:[EMAIL PROTECTED] Enviado el: jueves, 16 de noviembre de 2006 17:35 Para: Eva Maria Garcia CC: 'Supasate Choochaisri'; tinyos-help@Millennium.Berkeley.EDU Asunto: Re: [Tinyos-help] RE: RV: TinyOS 2.0 installation problem On Nov 16, 2006, at 1:24 AM, Eva Maria Garcia wrote: > Hi, > When I compiled application Blink with "make micaz sim-cygwin", I > obtain the next error: > > build/micaz/tossim.o(.text+0xcaa):/opt/tinyos-2.x/tos/lib/tossim/ > tossim.c:188: undefined reference to `_hashtable_insert' > collect2: ld returned 1 exit status > make: *** [sim-exe] Error 1 > Just use make micaz sim. Phil _______________________________________________ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help