Hello,
i'm trying to simulate an application with TOSSIM under ubento 9.1but i gte
this error :
s...@sam-desktop:~/tos/tinyos-2.x-contrib/crypto/apps/TestTrivium8$ make micaz
simmkdir -p simbuild/micazmake: python2.5-config : commande introuvablemake:
python2.5-config : commande introuvablemake: python2.5-config : commande
introuvable placing object files in simbuild/micaz writing XML schema to
app.xml compiling TestTriviumAppC to object file sim.oncc -c -shared -fPIC -o
simbuild/micaz/sim.o -g -O0 -tossim -fnesc-nido-tosnodes=1000 -fnesc-simulate
-fnesc-nido-motenumber=sim_node\(\) -fnesc-gcc=gcc -Wall -Wshadow -Wnesc-all
-target=micaz -fnesc-cfile=simbuild/micaz/app.c -board=micasb
-DDEFINED_TOS_AM_GROUP=0x22 --param max-inline-insns-single=100000
-DEIGHT_BIT_MICROCONTROLLER -DIDENT_APPNAME=\"TestTriviumAppC\"
-DIDENT_USERNAME=\"sam\" -DIDENT_HOSTNAME=\"sam-desktop\"
-DIDENT_USERHASH=0x39145a7eL -DIDENT_TIMESTAMP=0x4bed2fffL
-DIDENT_UIDHASH=0xf7d346feL -Wno-nesc-data-race TestTriviumAppC.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.og++ -c -shared -fPIC -o
simbuild/micaz/pytossim.o -g -O0 -DEIGHT_BIT_MICROCONTROLLER
-DIDENT_APPNAME=\"TestTriviumAppC\" -DIDENT_USERNAME=\"sam\"
-DIDENT_HOSTNAME=\"sam-desktop\" -DIDENT_USERHASH=0x39145a7eL
-DIDENT_TIMESTAMP=0x4bed2fffL -DIDENT_UIDHASH=0xf7d346feL
/home/sam/tos/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx -I/include/python2.5
-I/home/sam/tos/tinyos-2.x/tos/lib/tossim -DHAVE_CONFIG_H
/home/sam/tos/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:139:20: error:
Python.h: Aucun fichier ou dossier de ce
type/home/sam/tos/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:2501:4: error:
#error "This python version requires swig to be run with the '-classic'
option"/home/sam/tos/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:744: error:
expected initializer before ‘*’
token/home/sam/tos/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:799: error:
expected initializer before ‘*’
token/home/sam/tos/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:820: error:
expected initializer before ‘*’ tokenIn file included from
/usr/include/c++/4.4/stdexcept:38, from
/home/sam/tos/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:2520:/usr/include/c++/4.4/exception:35:
error: expected declaration before end of linemake: *** [sim-exe] Erreur 1:
error: expected declaration before end of linemake: *** [sim-exe] Erreur 1
can you help me to fix it please ??
Sam,
_________________________________________________________________
Hotmail : un service de messagerie gratuit, fiable et complet
https://signup.live.com/signup.aspx?id=60969
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help