On Nov 16, 2006, at 8:53 AM, Cormac Duffy wrote:

Am also having similar problem with fedora core 4,
after upgrading to tinyos-2.x release rpm

The make micaz sim compiles properly
but when i use simple Driver.c file and try to compile and link i get the following error
g++ -g -c -o Driver.o Driver.c -I/opt/tinyos-2.x/tos/lib/tossim/
g++ -o Driver Driver.o build/micaz/tossim.o build/micaz/sim.o
build/micaz/tossim.o(.text+0xdaf): In function `Mote::Mote (nesc_app*)': /opt/tinyos-2.x/tos/lib/tossim/tossim.c:125: undefined reference to `create_hash
table'
build/micaz/tossim.o(.text+0xdf7): In function `Mote::Mote (nesc_app*)': /opt/tinyos-2.x/tos/lib/tossim/tossim.c:125: undefined reference to `create_hash
table'
build/micaz/tossim.o(.text+0xfb7): In function `Mote::getVariable (char*)': /opt/tinyos-2.x/tos/lib/tossim/tossim.c:172: undefined reference to `hashtable_s
earch'


Please check the archives. This was discussed a few days ago. Take a look at the online tutorials: they note that you have to link in an additional C object.

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