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'
any help is much appreciated
Cormac
Begin forwarded message:
Message: 2
Date: Thu, 16 Nov 2006 12:25:24 +0100
From: "Eva Maria Garcia" <[EMAIL PROTECTED]>
Subject: [Tinyos-help] TOSSIM TinyOS 2.0 problem
To: <tinyos-help@Millennium.Berkeley.EDU>
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset="us-ascii"
Hi,
I have problems with compilation for TOSSIM in TinyOS 2.0. The command
"tos-check-env" hasn't errors. But when I compile with the command
"make
micaz sim-cygwin" I obtain a couple of warnings and the next error:
build/micaz/tossim.o(.text+0xcaa):/opt/tinyos-2.x/tos/lib/tossim/
tossim.c:18
8: undefined reference to `_hashtable_insert'
collect2: ld returned 1 exit status
make: *** [sim-exe] Error 1
Can anybody help me?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.millennium.berkeley.edu/pipermail/tinyos-help/
attachments/20061116/3103b75b/attachment.html
------------------------------
___________________________________________________
Cormac Duffy M.Sc B.Sc
Computer Science Dept.
University College Cork
College rd.
Cork
Ireland
email: [EMAIL PROTECTED]
web: www.cs.ucc.ie/~cd5
mobile: +353-87-2039750
_______________________________________________
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help