Hello,
I just installed Ubuntu and downloaded the tinyos-2.x repositries. I
followed the instructions
http://www.tinyos.net/scoop/story/2007/8/15/234856/990 and everything went
down without a glitch. I even set up the main environmental variables and
ran the environmental variables script to check if everything was ok.
This is what happens when i try to compile the Blink app:
---------------------------
sudo make telosb
mkdir -p build/telosb
compiling BlinkAppC 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= -DIDENT_PROGRAM_NAME=\"BlinkAppC\"
-DIDENT_USER_ID=\"root\" -DIDENT_HOSTNAME=\"laptop\"
-DIDENT_USER_HASH=0xc9ccfb7fL -DIDENT_UNIX_TIME=0x46ddbb7dL
-DIDENT_UID_HASH=0x849912d3L BlinkAppC.nc -lm
Couldn't execute msp430-gcc
make: *** [exe0] Error 2
---------------------
My msp430 directory is located at /opt/msp430
I tried changing the $MSPGCCROOT directory to both /opt/msp430 and
/opt/msp430/bin. No luck, same old error.
When I type msp-430gcc in the terminal it does actually start it. So I know
it's installed and works. My guess is that the msp430 directory is
hard-coded somewhere and the make command can't find msp430-gcc because it's
looking in the wrong place.
Any help would be appreciated.
Thanks
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help