[Tinyos-devel] "nesC: Internal error" using nesc 1.2.8a for a
trivial naming mistake
Razvan Musaloiu-E.
razvanm at cs.jhu.edu
Tue Feb 6 16:46:34 PST 2007
Hi!
I encounter a "nesC: Internal error." for a trivial mistake when the name
of the component doesn't match the name of the file. I attached an archive
with the example code. The error on my system (nesc 1.2.8a, T2, Linux) is
this:
$ make telosb
mkdir -p build/telosb
compiling TestApp to a telosb binary
ncc -o build/telosb/main.exe -Os -O -mdisable-hwmul -Wall -Wshadow -DDEF_TOS_AM_GROUP=0x7d -Wnesc-all -target=telosb -fnesc-cfile=build/telosb/app.c -board= TestApp.nc -lm
nesc1: nesc-semantics.c:145: language_name: Assertion `0' failed.
nesC: Internal error. Please send a bug report to the nesC bug mailing list
at nescc-bugs at lists.sourceforge.net
make: *** [exe0] Error 1
nesc version 1.2.7a reports the problem correctly ("TestApp.nc:1: expected
component `TestApp', but got component 'Test'").
--
Razvan ME
-------------- next part --------------
A non-text attachment was scrubbed...
Name: TestApp.tar.gz
Type: application/x-gzip
Size: 270 bytes
Desc:
Url : http://mail.millennium.berkeley.edu/pipermail/tinyos-devel/attachments/20070206/42209ad7/TestApp.tar.bin
More information about the Tinyos-devel
mailing list