Hello all, I am getting an Import Error when trying rum sumilation in TOSSIM.
When I do a make micaz sim it successfully builts micaz TOSSIM library. Though there are two warnings: /opt/tinyos-2.x/tos/lib/tossim/sim_packet.c:109: warning: '__nesc_nido_resolve' defined but not used /opt/tinyos-2.x/tos/lib/tossim/sim_packet.c:119: warning: '__nesc_nido_initialise' defined but not used But when I compile this code I get the following error: Traceback (most recent call last): File "test.py", line 1, in ? from TOSSIM import * File "/opt/tinyos-2.x/tinyos-2.x/apps/tableModule/TOSSIM.py", line 5, in ? import _TOSSIM ImportError: /opt/tinyos-2.x/tinyos-2.x/apps/tableModule/_TOSSIMmodule.so: undefined symbol: sim_mote_start_time Also, when use gdb I get the following message: (gdb) make micaz mkdir -p build/micaz compiling tableImplC to a micaz binary ncc -o build/micaz/main.exe -Os -finline-limit=100000 -Wall -Wshadow -DDEF_TOS_AM_GROUP=0x7d -Wnesc-all -target=micaz -fnesc-cfile=build/micaz/app.c -board=micasb -fnesc-dump=wiring -fnesc-dump='interfaces(!abstract())' -fnesc-dump='referenced(interfacedefs, components)' -fnesc-dumpfile=build/micaz/wiring- check.xml tableImplC.nc -lm /usr/lib/gcc/avr/3.4.3/../../../../avr/lib/avr5/crtm128.o(.init9+0x0): In function `__bad_interrupt': ../../../crt1/gcrt1.S:104: undefined reference to `main' make: *** [exe0] Error 1 (gdb) I am using tinyos-2.0.0beta2-3 (RPM version 4.4.2) installed in Fedora Core release 5 (2.6.18-1.2257.fc5). Any idea as to why I am getting these errors. Please help. Thanks, Shilpa -- Best Regards, Shilpa Bhatt Email: [EMAIL PROTECTED]
_______________________________________________ Tinyos-help mailing list [email protected] https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
