View Full Version : error in compiling the Blink application

September 12th, 2012, 12:26 PM
I have installed tinyos-2.1.1 on Ubuntu 10.10.
When i trying to
this is what happen:

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
-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
g++ -c -shared -fPIC -o build/micaz/pytossim.o -g -O0
-I/usr/include/python2.3 -I/opt/tinyos-2.x/tos/lib/tossim -DHAVE_CONFIG_H
make: g++: Command not found
make: *** [sim-exe] Error 127

Please help.

September 12th, 2012, 04:31 PM
Moved to Packaging and Compiling Programs.