Hi,

I have trying compiling the Blink application with TOSSIM support, but with
no sucess!

[maycon@darkside 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\(\) -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
-DIDENT_APPNAME=\"BlinkAppC\" -DIDENT_USERNAME=\"maycon\"
-DIDENT_HOSTNAME=\"darkside\" -DIDENT_USERHASH=0x076ebfe9L
-DIDENT_TIMESTAMP=0x4f844baaL -DIDENT_UIDHASH=0xf5598bd3L
-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: error: unrecognized command line option ‘-_fnesc-gcc=gcc’
gcc: error: unrecognized command line option ‘-_fnesc-include=nesc_nx’
gcc: error: unrecognized command line option ‘-_fnesc-include=tos’
gcc: error: unrecognized command line option
‘-_fnesc-scheduler=TinySchedulerC,TinySchedulerC.TaskBasic,TaskBasic,TaskBasic,runTask,postTask’
gcc: error: unrecognized command line option ‘-_fnesc-nido-tosnodes=1000’
gcc: error: unrecognized command line option ‘-_fnesc-simulate’
gcc: error: unrecognized command line option
‘-_fnesc-nido-motenumber=sim_node()’
gcc: error: unrecognized command line option ‘-_fnesc-gcc=gcc’
gcc: error: unrecognized command line option ‘-_Wnesc-all’
gcc: error: unrecognized command line option
‘-_fnesc-cfile=simbuild/micaz/app.c’
gcc: error: unrecognized command line option ‘-_Wno-nesc-data-race’
gcc: error: unrecognized command line option ‘-_fnesc-dump=components’
gcc: error: unrecognized command line option ‘-_fnesc-dump=variables’
gcc: error: unrecognized command line option ‘-_fnesc-dump=constants’
gcc: error: unrecognized command line option ‘-_fnesc-dump=typedefs’
gcc: error: unrecognized command line option ‘-_fnesc-dump=interfacedefs’
gcc: error: unrecognized command line option ‘-_fnesc-dump=tags’
gcc: error: unrecognized command line option ‘-_fnesc-dumpfile=app.xml’
gcc: error: unrecognized command line option ‘-_fnesc-no-debug’
gcc: error: unrecognized command line option
‘-_fnesc-scheduler=TinySchedulerC,TinySchedulerC.TaskBasic,TaskBasic,TaskBasic,runTask,postTask’
make: ** [sim-exe] Erro 1

My ncc/gcc version is:

[maycon@darkside Blink]$ ncc --version
ncc: 1.2.4
nescc: 1.3.3
gcc: gcc (GCC) 4.7.0 20120324 (prerelease)
Copyright (C) 2012 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

[maycon@darkside Blink]$

Can anybody help me? I'm using the TinyOS rev 5940.

----
*Maycon Maia Vitali* (aka 0ut0fBound)
Offensive Security Certified Expert (OSCE)
Security Researcher @ Hack'n Roll
http://maycon.hacknroll.com
Hack'n Roll
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to