Just in case that doesn't work...
unless things have changed, you need to be in the "app/xxx" directory
of the project you want to build, and do "make micaz" not "make tinysec".
MS


August Joki 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

-August

On 1/14/06, * Avinash Sridharan* <[EMAIL PROTECTED] <mailto:[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
    
<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]
    <mailto:[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
_______________________________________________
Tinyos-help mailing list
[email protected]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to