[Tinyos-help] micaz sim

Kaisen Lin kaisenl at cs.ucsd.edu
Thu Apr 1 15:26:02 PDT 2010


You might want to install the "build-essential" package

Kaisen

----- "Shyam Sahu" <jus.kewl at gmail.com> wrote:

> Hi. I have encountered a problem while compiling the BLINK app
> 
> syam at ubuntu:~/tinyos/apps/Blink$ make micaz sim
> mkdir -p simbuild/micaz
> placing object files in simbuild/micaz
> writing XML schema to app.xml
> compiling BlinkAppC to object file sim.o
> ncc -c -shared -fPIC -o simbuild/micaz/sim.o -g -O0 -tossim
> -fnesc-nido-tosnodes=1000 -fnesc-simulate
> -fnesc-nido-motenumber=sim_node\(\) -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
> -DIDENT_APPNAME=\"BlinkAppC\" -DIDENT_USERNAME=\"syam\"
> -DIDENT_HOSTNAME=\"ubuntu\" -DIDENT_USERHASH=0x4c7b3f0aL
> -DIDENT_TIMESTAMP=0x4bb5143aL -DIDENT_UIDHASH=0x214f591dL
> -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 simbuild/micaz/pytossim.o -g -O0
> -DIDENT_APPNAME=\"BlinkAppC\" -DIDENT_USERNAME=\"syam\"
> -DIDENT_HOSTNAME=\"ubuntu\" -DIDENT_USERHASH=0x4c7b3f0aL
> -DIDENT_TIMESTAMP=0x4bb5143aL -DIDENT_UIDHASH=0x214f591dL
> /opt/tinyos-2.1.0/tos/lib/tossim/tossim_wrap.cxx
> -I/usr/include/python2.5 -I/opt/tinyos-2.1.0/tos/lib/tossim
> -DHAVE_CONFIG_H
> make: g++: Command not found
> make: *** [sim-exe] Error 127
> 
> 
> couldn't figure out what 2 do. Plz help. Thanks 4 going thru.
> 
> --
> Syam
> 
> _______________________________________________
> Tinyos-help mailing list
> Tinyos-help at millennium.berkeley.edu
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


More information about the Tinyos-help mailing list