[Tinyos-help] Couldn't execute nescc - Tinyos 2.0.2 upgrading

KURT PETERS peterskurt at msn.com
Fri Aug 3 03:51:26 PDT 2007


I wish you put the entire compile sequence in your message.
That being said, I think the symbolic link in your /usr/local/bin directory 
for ncc has been removed.
Type
"which nescc"
and
"which ncc".
to find out where they're installed.

Try "ln -s /usr/bin/ncc" while in your /usr/local/bin directory.
regards,
Kurt

----Original Message Follows----
From: "Xavier Orduña" <xavier.orduna at gmail.com>
To: tinyos-help at millennium.berkeley.edu
Subject: [Tinyos-help] Couldn't execute nescc - Tinyos 2.0.2 upgrading
Date: Fri, 3 Aug 2007 12:40:06 +0200
Hi all!

I just upgraded tinyos 2.0.1 to tinyos 2.0.2 and I got this message:

"Couldn't execute nescc"

When trying to compile any application.

I just upgraded the tinyos tools and the source tree.

I'm using debian, so first I make "alien -d ...." and after "dpkg -i ..."
(but It worked when installing tinyos 2.0.1.

Does anyone has similar problems or knows where could be the problem?

I noticed that when compiling with tinyos 2.0.1 this command is executed:
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=   BlinkAppC.nc -lm

and when compiling with tinyos 2.0.2 i got this command:

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= -DIDENT_PROGRAM_NAME=\"BlinkAppC\"
-DIDENT_USER_ID=\"xavi\" -DIDENT_HOSTNAME=\"liat\"
-DIDENT_USER_HASH=0x1777eeadL -DIDENT_UNIX_TIME=0x46b304e7L
-DIDENT_UID_HASH=0x7604a5c5L  BlinkAppC.nc -lm

Maybe is related with my issue?

Thanks to all!

Xavi




More information about the Tinyos-help mailing list