Dear everyone

I am the newbabie in Tinyos. With the help of the
Wouter member i have implemented all necessary steps
to install the tinyos 2.x in the Ubuntu 7.10 i386.

With Blink application, 
+when i type " make micaz" , it is implemented
sucessesful 
+but when "make micaz sim", there are errors
"[EMAIL PROTECTED]:/opt/tinyos-2.x/apps/Blink$
make micaz sim
mkdir -p build/micaz
  placing object files in build/micaz
  writing XML schema to app.xml
  compiling BlinkAppC to object file sim.o
ncc -c -shared -fPIC -o build/micaz/sim.o -g -O0
-tossim -fnesc-nido-tosnodes=1000 -fnesc-simulate
-fnesc-nido-motenumber=sim_node\(\)  
-finline-limit=100000 -Wall -Wshadow -Wnesc-all
-target=micaz -fnesc-cfile=build/micaz/app.c
-board=micasb -DIDENT_PROGRAM_NAME=\"BlinkAppC\"
-DIDENT_USER_ID=\"dovietmanh\"
-DIDENT_HOSTNAME=\"dovietmanh-lapt\"
-DIDENT_USER_HASH=0x0f1a0550L
-DIDENT_UNIX_TIME=0x47da6fc2L
-DIDENT_UID_HASH=0xd065d8abL -Wno-nesc-data-race
BlinkAppC.nc   -fnesc-dump=components
-fnesc-dump=variables -fnesc-dump=constants
-fnesc-dump=typedefs -fnesc-dump=interfacedefs
-fnesc-dump=tags -fnesc-dumpfile=app.xml
  compiling Python support and C libraries into
pytossim.o, tossim.o, and c-support.o
g++ -c  -shared -fPIC -o build/micaz/pytossim.o -g -O0
-DIDENT_PROGRAM_NAME=\"BlinkAppC\"
-DIDENT_USER_ID=\"dovietmanh\"
-DIDENT_HOSTNAME=\"dovietmanh-lapt\"
-DIDENT_USER_HASH=0x0f1a0550L
-DIDENT_UNIX_TIME=0x47da6fc2L
-DIDENT_UID_HASH=0xd065d8abL
/opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx
-I/usr/include/python2.5
-I/opt/tinyos-2.x/tos/lib/tossim -DHAVE_CONFIG_H 
/opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:26:20:
error: Python.h: No such file or directory
/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:339:
error: ‘PyObject’ has not been declared
/opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx: In
function ‘int
swig_varlink_setattr(swig_varlinkobject*, char*,
int*)’:
/opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:340:
error: ‘struct swig_varlinkobject’ has no member named
‘vars’
/opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:347:
error: ‘PyExc_NameError’ was not declared in this
scope
/opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:347:
error: ‘PyErr_SetString’ was not declared in this
scope
/opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx: At
global scope:
/opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:351:
error: ‘statichere’ does not name a type
/opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:369:
error: expected initializer before ‘*’ token
/opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:382:
error: variable or field ‘SWIG_addvarlink’ declared
void
/opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:382:
error: ‘PyObject’ was not declared in this scope
/opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:382:
error: ‘p’ was not declared in this scope
/opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:382:
error: expected primary-expression before ‘char’
/opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:383:
error: ‘PyObject’ was not declared in this scope
/opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:383:
error: ‘get_attr’ was not declared in this scope
/opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:383:
error: expected primary-expression before ‘void’
/opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:383:
error: ‘set_attr’ was not declared in this scope
/opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:383:
error: ‘PyObject’ was not declared in this scope
/opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:383:
error: ‘p’ was not declared in this scope
/opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:383:
error: initializer expression list treated as compound
expression
/opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:383:
error: expected ‘,’ or ‘;’ before ‘{’ token
/opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:436:
error: ‘PyObject’ was not declared in this scope
/opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:436:
error: ‘obj’ was not declared in this scope
/opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:436:
error: expected primary-expression before ‘void’
/opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:436:
error: expected primary-expression before ‘*’ token
/opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:436:
error: ‘ty’ was not declared in this scope
/opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:436:
error: expected primary-expression before ‘int’
/opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:436:
error: initializer expression list treated as compound
expression
/opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:436:
error: expected ‘,’ or ‘;’ before ‘{’ token
/opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:528:
error: ‘PyObject’ was not declared in this scope
/opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:528:
error: ‘obj’ was not declared in this scope
/opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:528:
error: expected primary-expression before ‘void’
/opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:528:
error: expected primary-expression before ‘int’
/opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:528:
error: expected primary-expression before ‘*’ token
/opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:528:
error: ‘ty’ was not declared in this scope
/opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:528:
error: expected primary-expression before ‘int’
/opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:528:
error: initializer expression list treated as compound
expression
/opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:528:
error: expected ‘,’ or ‘;’ before ‘{’ token
/opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:560:
error: expected initializer before ‘*’ token
/opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:598:
error: expected initializer before ‘*’ token
/opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:611:
error: variable or field ‘SWIG_InstallConstants’
declared void
/opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:611:
error: ‘PyObject’ was not declared in this scope
/opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:611:
error: ‘d’ was not declared in this scope
/opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:611:
error: expected primary-expression before ‘constants’
/opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:611:
error: initializer expression list treated as compound
expression
/opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:611:
error: expected ‘,’ or ‘;’ before ‘{’ token
/opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:845:
error: expected constructor, destructor, or type
conversion before ‘*’ token
/opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:860:
error: expected constructor, destructor, or type
conversion before ‘*’ token
/opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:884:
error: expected initializer before ‘*’ token
/opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:898:
error: expected initializer before ‘*’ token
/opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:914:
error: expected initializer before ‘*’ token
/opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:931:
error: expected initializer before ‘*’ token
/opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:948:
error: expected initializer before ‘*’ token
/opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:965:
error: expected initializer before ‘*’ token
/opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:982:
error: expected initializer before ‘*’ token
/opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:999:
error: expected initializer before ‘*’ token
/opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:1016:
error: expected initializer before ‘*’ token
/opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:1033:
error: expected initializer before ‘*’ token
/opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:1050:
error: expected initializer before ‘*’ token
/opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:1067:
error: expected initializer before ‘*’ token
/opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:1084:
error: expected initializer before ‘*’ token
/opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:1101:
error: expected initializer before ‘*’ token
/opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:1118:
error: expected initializer before ‘*’ token
/opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:1135:
error: expected initializer before ‘*’ token
/opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:1152:
error: expected initializer before ‘*’ token
/opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:1169:
error: expected initializer before ‘*’ token
/opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:1186:
error: expected initializer before ‘*’ token
/opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:1203:
error: expected initializer before ‘*’ token
/opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:1220:
error: expected initializer before ‘*’ token
/opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:1237:
error: expected initializer before ‘*’ token
/opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:1254:
error: expected initializer before ‘*’ token
/opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:1271:
error: expected initializer before ‘*’ token
/opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:1288:
error: expected initializer before ‘*’ token
/opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:1305:
error: expected initializer before ‘*’ token
/opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:1322:
error: expected initializer before ‘*’ token
/opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:1329:
error: expected initializer before ‘*’ token
/opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:1343:
error: expected initializer before ‘*’ token
/opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:1359:
error: expected initializer before ‘*’ token
/opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:1378:
error: expected initializer before ‘*’ token
/opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:1397:
error: expected initializer before ‘*’ token
/opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:1416:
error: expected initializer before ‘*’ token
/opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:1434:
error: expected initializer before ‘*’ token
/opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:1453:
error: expected initializer before ‘*’ token
/opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:1470:
error: expected initializer before ‘*’ token
/opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:1477:
error: expected initializer before ‘*’ token
/opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:1491:
error: expected initializer before ‘*’ token
/opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:1507:
error: expected initializer before ‘*’ token
/opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:1524:
error: expected initializer before ‘*’ token
/opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:1541:
error: expected initializer before ‘*’ token
/opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:1558:
error: expected initializer before ‘*’ token
/opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:1575:
error: expected initializer before ‘*’ token
/opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:1592:
error: expected initializer before ‘*’ token
/opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:1609:
error: expected initializer before ‘*’ token
/opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:1626:
error: expected initializer before ‘*’ token
/opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:1643:
error: expected initializer before ‘*’ token
/opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:1660:
error: expected initializer before ‘*’ token
/opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:1683:
error: expected initializer before ‘*’ token
/opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:1700:
error: expected initializer before ‘*’ token
/opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:1717:
error: expected initializer before ‘*’ token
/opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:1738:
error: expected initializer before ‘*’ token
/opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:1755:
error: expected initializer before ‘*’ token
/opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:1762:
error: expected initializer before ‘*’ token
/opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:1786:
error: expected initializer before ‘*’ token
/opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:1803:
error: expected initializer before ‘*’ token
/opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:1827:
error: expected initializer before ‘*’ token
/opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:1844:
error: expected initializer before ‘*’ token
/opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:1861:
error: expected initializer before ‘*’ token
/opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:1878:
error: expected initializer before ‘*’ token
/opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:1895:
error: expected initializer before ‘*’ token
/opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:1912:
error: expected initializer before ‘*’ token
/opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:1926:
error: expected initializer before ‘*’ token
/opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:1942:
error: expected initializer before ‘*’ token
/opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:1949:
error: expected initializer before ‘*’ token
/opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:2016:
error: expected initializer before ‘*’ token
/opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:2083:
error: expected initializer before ‘*’ token
/opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:2152:
error: expected initializer before ‘*’ token
/opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:2219:
error: expected initializer before ‘*’ token
/opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:2288:
error: expected initializer before ‘*’ token
/opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:2355:
error: expected initializer before ‘*’ token
/opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:2424:
error: expected initializer before ‘*’ token
/opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:2491:
error: expected initializer before ‘*’ token
/opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:2505:
error: expected initializer before ‘*’ token
/opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:2571:
error: expected initializer before ‘*’ token
/opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:2578:
error: expected initializer before ‘*’ token
/opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:2596:
error: expected initializer before ‘*’ token
/opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:2612:
error: expected initializer before ‘*’ token
/opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:2641:
error: expected initializer before ‘*’ token
/opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:2648:
error: expected initializer before ‘*’ token
/opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:2715:
error: expected initializer before ‘*’ token
/opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:2731:
error: expected initializer before ‘*’ token
/opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:2748:
error: expected initializer before ‘*’ token
/opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:2765:
error: expected initializer before ‘*’ token
/opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:2785:
error: expected initializer before ‘*’ token
/opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:2802:
error: expected initializer before ‘*’ token
/opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:2822:
error: expected initializer before ‘*’ token
/opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:2839:
error: expected initializer before ‘*’ token
/opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:2855:
error: expected initializer before ‘*’ token
/opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:2871:
error: expected initializer before ‘*’ token
/opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:2889:
error: expected initializer before ‘*’ token
/opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:2906:
error: expected initializer before ‘*’ token
/opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:2922:
error: expected initializer before ‘*’ token
/opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:2940:
error: expected initializer before ‘*’ token
/opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:2947:
error: expected initializer before ‘*’ token
/opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:3014:
error: expected initializer before ‘*’ token
/opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:3030:
error: expected initializer before ‘*’ token
/opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:3046:
error: expected initializer before ‘*’ token
/opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:3063:
error: expected initializer before ‘*’ token
/opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:3080:
error: expected initializer before ‘*’ token
/opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:3100:
error: expected initializer before ‘*’ token
/opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:3117:
error: expected initializer before ‘*’ token
/opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:3134:
error: expected initializer before ‘*’ token
/opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:3155:
error: expected initializer before ‘*’ token
/opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:3175:
error: expected initializer before ‘*’ token
/opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:3201:
error: expected initializer before ‘*’ token
/opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:3228:
error: expected initializer before ‘*’ token
/opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:3245:
error: expected initializer before ‘*’ token
/opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:3262:
error: expected initializer before ‘*’ token
/opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:3279:
error: expected initializer before ‘*’ token
/opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:3296:
error: expected initializer before ‘*’ token
/opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:3313:
error: expected initializer before ‘*’ token
/opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:3320:
error: ‘PyMethodDef’ does not name a type
/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:3480:
error: expected initializer before ‘*’ token
/opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:3482:
error: ‘PyObject’ was not declared in this scope
/opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:3482:
error: ‘m’ was not declared in this scope
/opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:3482:
error: ‘d’ was not declared in this scope
/opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:3484:
error: ‘SWIG_globals’ was not declared in this scope
/opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:3484:
error: ‘SWIG_newvarlink’ was not declared in this
scope
/opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:3485:
error: ‘SwigMethods’ was not declared in this scope
/opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:3485:
error: ‘Py_InitModule’ was not declared in this scope
/opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:3486:
error: ‘PyModule_GetDict’ was not declared in this
scope
/opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:3494:
error: ‘SWIG_InstallConstants’ 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:3497:
error: expected initializer at end of input
make: *** [sim-exe] Error 1
"

Although, i have tried to follow the instruction at
http://docs.tinyos.net/index.php/TOSSIM#Appendix_A:_Troubleshooting_TOSSIM_compilation
but the effort is not sucessful.

If you had the same problem like me, or you can solve
this problem,please give me some advice.

With best regards.
Do Viet Manh 



      
____________________________________________________________________________________
Be a better friend, newshound, and 
know-it-all with Yahoo! Mobile.  Try it now.  
http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ 

_______________________________________________
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to