This has always been a problem.
find ncc and nescc by doing
- which ncc
- which nescc
Then open the 'ncc' script, and fix the path to 'nescc'.
Probably from '/usr/local/bin/nescc' to '/usr/bin/nescc'.
This also applies to all other scripts: mig, ncg, etc:
Find mig and nescc-mig by doing
- which mig
- which nescc-mig
Then open the 'mig' script, and fix the path to 'nescc-mig'.
Do the same for ncg, or any other scripts with similar error.
Thanks
- jpaek
Michael Schippling wrote:
It could be as simple as putting the directories that contain the
"missing" command files into your PATH environment variable.
First, find the files using the "find" command or a FileMangler find.
Second, put the directory into your PATH, either using the Environment
Variables panels hidden beneath Computer->Properties or just adding
to the shell variable (hopefully in a setup script file) such as:
enfield:schip [146] find /usr/local -name "ncc*" -print
/usr/local/bin/ncc
/usr/local/lib/ncc
enfield:schip [147] export PATH="/usr/local/bin:$PATH"
For more info about the commands used above use "man bash" or "man find".
MS
mejda chouaieb wrote:
Hello All,
I have Windows Media Center Edition and I installed Tinyos-2.x but
when I try to compile something I have :
bash-3.2$ pwd
/cygdrive/c/jennic/cygwin/opt/tinyos-2.x/apps/Null
bash-3.2$ make yamp
/bin/sh: tos-ident-flags: command not found
mkdir -p build/yamp
compiling NullAppC to a yamp binary
ncc -o build/yamp/main.exe -Os -Wall -Wshadow -DDEF_TOS_AM_GROUP=0x7d
-Wnesc-all
-target=yamp -fnesc-cfile=build/yamp/app.c -board= NullAppC.nc -lm
make: ncc: Command not found
make: *** [exe0] Error 127
bash-3.2$
I tried to install NesC again but I still have the same problem, and I
think that there is something missing in my PATH but I don't know how
to fix this problem
bash-3.2$ echo $PATH
/opt/msp430/bin:/cygdrive/c/WINDOWS/system32:/cygdrive/c/WINDOWS:/cygdrive/c/WIN
DOWS/System32/Wbem:/cygdrive/c/Program Files/Microsoft SQL
Server/80/Tools/BINN:
/cygdrive/c/Program Files/Microsoft SQL
Server/90/Tools/binn/:/cygdrive/c/PROGRA
~1/ATT/Graphviz/bin:/cygdrive/c/PROGRA~1/ATT/Graphviz/bin:/cygdrive/c/PROGRA~1/A
TT/Graphviz/bin:/cygdrive/c/PROGRA~1/ATT/Graphviz/bin:/cygdrive/c/PROGRA~1/ATT/G
raphviz/bin:/cygdrive/c/PROGRA~1/ATT/Graphviz/bin:/cygdrive/c/Sun/SDK/bin:/cygdr
ive/c/Program
Files/Java/jre1.6.0_02:/cygdrive/c/WINDOWS/Microsoft.NET/Framework
/v1.1.4322:/usr/bin:/or32-elf/bin/:/usr/bin:/ba-elf/bin/:/or32-elf/bin
bash-3.2$
Thank you for Help
____________________________________________________________________________________________
Découvrez le blog Yahoo! Mail : dernières nouveautés, astuces,
conseils.. et vos réactions !
http://blog.mail.yahoo.fr
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
--
Jeongyeup Paek
Ph.D. student
Embedded Networks Laboratory
Department of Computer Science
University of Southern California
http://enl.usc.edu/~jpaek
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help