Thanks for the pointers, the problem was with the path, but after resetting the path I started having the following problem with the ncc compiler.
mkdir -p build/mica2
compiling BlinkAppC to a mica2 binary
ncc -o build/mica2/main.exe -Os -finline-limit=100000 -Wall -Wshadow -DDEF_TOS_AM_GROUP=0x7d -Wnesc-all -target=mica2 -fnesc-cfile=build/mica2/app.c -board=micasb -I%T/lib/oski BlinkAppC.nc -lm
gcc: '-b' must come at the start of the command line
make: *** [exe0] Error 1
Any insights into the above problem ?
Thanks,
Avinash
On 1/14/06, August Joki <[EMAIL PROTECTED]> wrote:
You need to make sure your path is pointing to the new nesc compiler. It was probably installed in a different place than your one for tinyos-1.x
-AugustOn 1/14/06, Avinash Sridharan <[EMAIL PROTECTED]> wrote:Hi All,_______________________________________________
I installed tinyos-2.x based on the information provided on
http://www.tinyos.net/dist-2.0.0/tinyos-2.0.0pre2/doc/html/upgrade-tinyos.html
However after installation when I tried compiling with any of the options
e.g make micaz tinysec, I received the following error:
mkdir -p build/micaz
compiling BlinkAppC to a micaz binary
ncc -o build/micaz/main.exe -Os -finline-limit=100000 -Wall -Wshadow -DDEF_TOS_A M_GROUP=0x7d -Wnesc-all -target=micaz -fnesc-cfile=build/micaz/app.c -board=mica sb -I%T/lib/oski -I/opt/tinyos-2.x/tos/lib/CC2420Radio BlinkAppC.nc -lm
Unknown target micaz
Known targets for TinyOS directory /opt/tinyos-2.x/tos
and the specified include directories are:
none.
make: *** [exe0] Error 2
I installed the source tree from the source rpm provided by the above link. Has anybody encoutered a similar problem ? Am I missing out on some environment variables. I have set all the variables that were mentioned on the above link.
regards,
Avinash
Tinyos-help mailing list
[email protected]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
_______________________________________________ Tinyos-help mailing list [email protected] https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
