Dear tinyos-help,

I can't figure out how to solve this problem: I can't compile the Blink example 
application with the tossim simulator
I installed tinyos on my Ubuntu 10.10 following the guide on Tinyos wiki and 
set the environment variables and all the other stuff..
but when I tenter in the shell "make micaz sim" in the directory of Blink, 
that's what pops up:

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=\"seba\" -DIDENT_HOSTNAME=\"seba-ubuntu\" 
-DIDENT_USERHASH=0x317d38d1L -DIDENT_TIMESTAMP=0x4dad7ae8L 
-DIDENT_UIDHASH=0x09a58aceL -I/usr/include/python2.6 -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
gcc: cannot specify -o with -c or -S with multiple files
make: *** [sim-exe] Errore 1


I suppose that the error is : "gcc: cannot specify -o with -c or -S with 
multiple files"..
I have the gcc version 4.4.5
I also tried to remove and reinstall it but nothing

Please help me, I'm facing this problem for 2 days and I tried everything! also 
removing this version of gcc and installing an older version..
Thank you.
Sebastian






_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to