[Tinyos-help] make: *** [sim-exe] Error 1
Dear sir: /opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:3190: error: `obj2' was not declared in this scope /opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:3190: error: `PyFile_AsFile' was not declared in this scope /opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:3191: error: parse error before `}' token /opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:3192: error: syntax error before `-' token /opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:3194: error: ISO C++ forbids declaration of `Py_INCREF' with no type /opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:3194: error: redefinition of ` int Py_INCREF' /opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:3168: error: `int Py_INCREF' previously defined here /opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:3194: error: ISO C++ forbids declaration of `resultobj' with no type /opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:3194: error: redefinition of ` int resultobj' /opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:3168: error: `int resultobj' previously defined here /opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:3195: error: parse error before `return' /opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:3196: error: syntax error before `:' token /opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:3201: error: syntax error before `*' token /opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:3203: error: redefinition of ` Tossim*arg1' /opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:3177: error: `Tossim*arg1' previously defined here /opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:3204: error: redefinition of ` char*arg2' /opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:3178: error: `char*arg2' previously declared here /opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:3205: error: conflicting types for `FILE*arg3' /opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:3190: error: previous declaration as `int arg3' /opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:3206: error: conflicting types for `bool result' /opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:3146: error: previous declaration as `int result' /opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:3207: error: syntax error before `*' token /opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:3208: error: syntax error before `*' token /opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:3217: error: ISO C++ forbids declaration of `arg3' with no type /opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:3217: error: conflicting types for `int arg3' /opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:3205: error: previous declaration as `FILE*arg3' /opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:3217: error: `obj2' was not declared in this scope /opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:3217: error: `PyFile_AsFile' was not declared in this scope /opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:3218: error: parse error before `}' token /opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:3219: error: ISO C++ forbids declaration of `result' with no type /opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:3219: error: conflicting types for `int result' /opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:3206: error: previous declaration as `bool result' /opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:3219: error: invalid conversion from `int' to `FILE*' /opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:3219: error: initializing argument 2 of `bool Tossim::removeChannel(char*, FILE*)' /opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:3221: error: ISO C++ forbids declaration of `resultobj' with no type /opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:3221: error: redefinition of ` int resultobj' /opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:3194: error: `int resultobj' previously defined here /opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:3221: error: `PyInt_FromLong' was not declared in this scope /opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:3222: error: parse error before `return' /opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:3223: error: syntax error before `:' token /opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:3228: error: syntax error before `*' token /opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:3230: error: redefinition of ` Tossim*arg1' /opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:3203: error: `Tossim*arg1' previously defined here /opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:3231: error: conflicting types for `int arg2' /opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:3204: error: previous declaration as `char*arg2' /opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:3232: error: syntax error before `*' token /opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:3236: error: syntax error before `-' token /opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:3238: error: ISO C++ forbids declaration of `Py_INCREF' with no type /opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:3238: error: redefinition of ` int Py_INCREF'
[Tinyos-help] make: *** [sim-exe] Error 1
I get that: make: *** [sim-exe] Error 1 after I run this: make micaz sim What should I do? - Χρησιμοποιείτε Yahoo! Βαρεθήκατε τα ενοχλητικά μηνύ ματα (spam); Το Yahoo! Mail διαθέτει την καλύτερη δυνατή προστασία κατά των ενοχλητικών μηνυμάτων http://login.yahoo.com/config/mail?.intl=gr ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
Re: [Tinyos-help] make: *** [sim-exe] Error 1
On Dec 20, 2006, at 3:31 AM, Βάσω Καρυώτη wrote: I get that: make: *** [sim-exe] Error 1 after I run this: make micaz sim What should I do? You should give more information. :) E.g., what does it print out before that error? Nothing at all? Phil ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help