On Mar 10, 2007, at 2:19 PM, shilpa bhatt wrote:

Thanks for replying Phil........

If you could  send the complete compile output of 'make micaz sim'
that would help.

make micaz sim
mkdir -p build/micaz
  placing object files in build/micaz
  writing XML schema to app.xml
  compiling tableImplC 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 -DDEF_TOS_AM_GROUP=0x7d - Wnesc-all -target=micaz -fnesc-cfile=build/micaz/app.c - board=micasb -Wno-nesc-data-race tableImplC.nc -fnesc- dump=components -fnesc-dump=variables -fnesc-dump=constants -fnesc- dump=typedefs -fnesc-dump=interfacedefs -fnesc-dump=tags -fnesc- dumpfile=app.xml /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
  compiling Python support into pytossim.o and tossim.o
g++ -c -shared -fPIC -o build/micaz/pytossim.o -g -O0 /opt/ tinyos- 2.x/tos/lib/tossim/tossim_wrap.cxx -I/usr/include/python2.3 -I/opt/tinyos-2.x/tos/lib/tossim -DHAVE_CONFIG_H g++ -c -shared -fPIC -o build/micaz/tossim.o -g -O0 /opt/ tinyos-2.x/tos/lib/tossim/tossim.c -I/usr/include/python2.3 -I/opt/ tinyos- 2.x/tos/lib/tossim
  linking into shared object ./_TOSSIMmodule.so
g++ -shared -fPIC build/micaz/pytossim.o build/micaz/sim.o build/ micaz/tossim.o -lstdc++ -o _TOSSIMmodule.so copying Python script interface TOSSIM.py from lib/tossim to local directory

*** Successfully built micaz TOSSIM library.

Looking at the Makefile should help you figure out what's going wrong.

The makefile for this code:
COMPONENT=tableImplC
include $(MAKERULES) Looking at the Makefile should help you figure out what's going wrong.

or may be I did'nt get it right.....What exactly I should be looking at?


It's a C linking problem: you can use tools like objdump or nm to find out why those symbols aren't being defined. The compilation commands look right, but there might be something strange about your setup.

Have you tried the 2.0 release?

tinyos-2.0.0beta2-3 (RPM version 4.4.2) - Is this not the latest release??? I did update my tinyOS only recently. I will update it again today and try.


It's not the latest. Please check the www.tinyos.net web page.


Phil


_______________________________________________
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to