As the tutorial states, tmote is not currently supported. So you must type make micaz sim.

Phil

On Jun 5, 2007, at 9:24 AM, Marek Jawurek wrote:

Hi everyone,

I cannot get TOSSIM compiled with python support properly on my Debian
system. I have python-dev installed and everything seems fine until the
linker is invoked:

I tried 'make tmote sim' in the Blink app directory and got back an
error msg (see below). Apparently a linker error but I have no clues.

Any help is appreciated


Marek


 make tmote sim
mkdir -p build/telosb
  placing object files in build/telosb
  writing XML schema to app.xml
  compiling BlinkAppC to object file sim.o
ncc -c -shared -fPIC -o build/telosb/sim.o -g -O0 -O -tossim
-fnesc-nido-tosnodes=1000 -fnesc-simulate
-fnesc-nido-motenumber=sim_node\(\)   -mdisable-hwmul -Wall -Wshadow
-DDEF_TOS_AM_GROUP=0x7d -Wnesc-all -target=telosb
-fnesc-cfile=build/telosb/app.c -board=  -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
/data/hiwi/tinyos/tinyos-2.x/tos/lib/timer/TransformCounterC.nc: In
function `TransformCounterC$0$CounterFrom$overflow':
/data/hiwi/tinyos/tinyos-2.x/tos/lib/timer/TransformCounterC.nc:126:
warning: implicit declaration of function `sim_node'
/data/hiwi/tinyos/tinyos-2.x/tos/lib/timer/VirtualizeTimerC.nc: In
function `__nesc_nido_resolve':
/data/hiwi/tinyos/tinyos-2.x/tos/lib/timer/VirtualizeTimerC.nc:158:
warning: implicit declaration of function `strcmp'
/data/hiwi/tinyos/tinyos-2.x/tos/chips/msp430/McuSleepC.nc: In function
`__nesc_nido_initialise':
/data/hiwi/tinyos/tinyos-2.x/tos/chips/msp430/McuSleepC.nc:228: warning:
passing arg 1 of `memset' discards qualifiers from pointer target type
/data/hiwi/tinyos/tinyos-2.x/tos/chips/msp430/McuSleepC.nc:229: warning:
passing arg 1 of `memset' discards qualifiers from pointer target type
/data/hiwi/tinyos/tinyos-2.x/tos/chips/msp430/McuSleepC.nc:230: warning:
passing arg 1 of `memset' discards qualifiers from pointer target type
/data/hiwi/tinyos/tinyos-2.x/tos/chips/msp430/McuSleepC.nc:231: warning:
passing arg 1 of `memset' discards qualifiers from pointer target type
/data/hiwi/tinyos/tinyos-2.x/tos/chips/msp430/McuSleepC.nc:232: warning:
passing arg 1 of `memset' discards qualifiers from pointer target type
/data/hiwi/tinyos/tinyos-2.x/tos/chips/msp430/McuSleepC.nc:263: warning:
passing arg 1 of `memset' discards qualifiers from pointer target type
/data/hiwi/tinyos/tinyos-2.x/tos/chips/msp430/McuSleepC.nc:264: warning:
passing arg 1 of `memset' discards qualifiers from pointer target type
/data/hiwi/tinyos/tinyos-2.x/tos/chips/msp430/McuSleepC.nc:270: warning:
implicit declaration of function `memcpy'
/data/hiwi/tinyos/tinyos-2.x/tos/interfaces/Scheduler.nc: At top level:
/data/hiwi/tinyos/tinyos-2.x/tos/lib/timer/VirtualizeTimerC.nc:152:
warning: `__nesc_nido_resolve' defined but not used
/data/hiwi/tinyos/tinyos-2.x/tos/chips/msp430/McuSleepC.nc:222: warning:
`__nesc_nido_initialise' defined but not used
  compiling Python support and C libraries into pytossim.o, tossim.o,
and c-support.o
g++ -c  -shared -fPIC -o build/telosb/pytossim.o -g -O0
-O  /data/hiwi/tinyos/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx
-I/usr/include/python2.5 -I/data/hiwi/tinyos/tinyos-2.x/tos/lib/tossim
-DHAVE_CONFIG_H
g++ -c  -shared -fPIC -o build/telosb/tossim.o -g -O0
-O  /data/hiwi/tinyos/tinyos-2.x/tos/lib/tossim/tossim.c
-I/usr/include/python2.5 -I/data/hiwi/tinyos/tinyos-2.x/tos/lib/tossim
g++ -c  -shared -fPIC -o build/telosb/c-support.o -g -O0
-O  /data/hiwi/tinyos/tinyos-2.x/tos/lib/tossim/hashtable.c
-I/usr/include/python2.5 -I/data/hiwi/tinyos/tinyos-2.x/tos/lib/tossim
  linking into shared object ./_TOSSIMmodule.so
g++ -shared -fPIC  build/telosb/pytossim.o build/telosb/sim.o
build/telosb/tossim.o build/telosb/c-support.o -lstdc++  -o
_TOSSIMmodule.so
/usr/bin/ld: build/telosb/sim.o: Relocations in generic ELF (EM: 105)
/usr/bin/ld: build/telosb/sim.o: Relocations in generic ELF (EM: 105)
build/telosb/sim.o: could not read symbols: File in wrong format
collect2: ld returned 1 exit status
make: *** [sim-exe] Fehler 1
--
Marek Jawurek <[EMAIL PROTECTED]>

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

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

Reply via email to