Hi,
I was getting same problem when I change over to tinyOs-2.x. The problem is you 
have to load nesC version 1.2.8b or nesc-1.2.9 if you are having nesc-1.2.8a.
Then Set the env variable as:
export TOSROOT="/opt/tinyos-2.x"
export TOSDIR="/opt/tinyos-2.x/tod"
export MAKERULES="/opt/tinyos-2.x/support/make/Makerules"
export PATH="/opt/msp430/bin:$PATH"

I think this will work.

good luck
  


On Thu, 03 Jan 2008 [EMAIL PROTECTED] wrote :
>Send Tinyos-help mailing list submissions to
>       tinyos-help@millennium.berkeley.edu
>
>To subscribe or unsubscribe via the World Wide Web, visit
>       https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>
>or, via email, send a message with subject or body 'help' to
>       [EMAIL PROTECTED]
>
>You can reach the person managing the list at
>       [EMAIL PROTECTED]
>
>When replying, please edit your Subject line so it is more specific
>than "Re: Contents of Tinyos-help digest..."
>
>
>Today's Topics:
>
>    1. TinyOS-2.x post-Install and Configuration (antonio gonga)
>    2. Make pc Error (sazzad)
>    3. Re: one question about "motelist" (Peizhao Hu)
>    4. Re: TinyOS-2.x post-Install and Configuration (Peizhao Hu)
>    5. command getEncryptionKey (boujelben manel)
>    6. Tinyos-2.x problem reading temperature with MTS310
>       ([EMAIL PROTECTED])
>
>
>----------------------------------------------------------------------
>
>Message: 1
>Date: Thu, 3 Jan 2008 03:13:00 +0100
> From: antonio gonga <[EMAIL PROTECTED]>
>Subject: [Tinyos-help] TinyOS-2.x post-Install and Configuration
>To: TINYOS <tinyos-help@millennium.berkeley.edu>
>Message-ID: <[EMAIL PROTECTED]>
>Content-Type: text/plain; charset="iso-8859-1"
>
>
>Hey All,
>I was upgrading TinyOS-1.x to  TinyOS-2.x in Windows. But I did not understand 
>how to configure the environment, so I changed the file under
>/etc/profile.d/tinyos.sh with the new TinyOs-2.x environment variables.
>My problem is that when I tried to compile the Blink App i got the following 
>message:
>
>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=\"antoniogonga\" -DIDENT_HOSTNAME=\"aogobg\"
>DIDENT_USER_HASH=0x6655b8adL -DIDENT_UNIX_TIME=0x477c429aL 
>-DIDENT_UID_HASH=0x993ab617L  BlinkAppC.nc -lm
>Unknown target telosbKnown targets for TinyOS directory /opt/tinyos-2.x/tos 
>and the specific include directories are: nonemake: *** [exe0] Error 2
>
>If someone knows/can help me how to configure TinyOS-2.x I'd be very grateful
>thanks in advance.
>
>_________________________________________________________________
>Express yourself instantly with MSN Messenger! Download today it's FREE!
>http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
>-------------- next part --------------
>An HTML attachment was scrubbed...
>URL: 
>https://www.millennium.berkeley.edu/pipermail/tinyos-help/attachments/20080103/230dcbe6/attachment.html
>
>------------------------------
>
>Message: 2
>Date: Wed, 2 Jan 2008 19:16:08 -0800 (PST)
> From: sazzad <[EMAIL PROTECTED]>
>Subject: [Tinyos-help] Make pc Error
>To: Tinyos-help@Millennium.Berkeley.edu
>Message-ID: <[EMAIL PROTECTED]>
>Content-Type: text/plain; charset="iso-8859-1"
>
>i got the following error when "make pc" command is given
>
>mkdir -p build/pc
>     compiling Blink to a pc binary
>ncc -o build/pc/main.exe -g -O0 -pthread -fnesc-nido-tosnodes=1000 
>-fnesc-simula
>te -Wall -Wshadow -DDEF_TOS_AM_GROUP=0x7d -Wnesc-all -target=pc 
>-fnesc-cfile=bui
>ld/pc/app.c -board=micasb -DIDENT_PROGRAM_NAME=\"Blink\" 
>-DIDENT_USER_ID=\"sazza
>d\" -DIDENT_HOSTNAME=\"sazzad-PC\" -DIDENT_USER_HASH=0x571f5a8fL 
>-DIDENT_UNIX_TI
>ME=0x477c459dL -DIDENT_UID_HASH=0xab9b1c77L Blink.nc -lm
>gcc: unrecognized option `-pthread'
>/opt/tinyos-1.x/tos/platform/pc/PowerStateM.nc: In function 
>`__nesc_nido_initial
>ise':
>/opt/tinyos-1.x/tos/platform/pc/PowerStateM.nc:478: warning: passing arg 1 of 
>`m
>emset' discards qualifiers from pointer target type
>gcc: installation problem, cannot exec `as': No such file or directory
>make: *** [exe0] Error 1
>
>
>does anybody have any answer?
>
>
>---------------------------------
>Be a better friend, newshound, and know-it-all with Yahoo! Mobile.  Try it now.
>-------------- next part --------------
>An HTML attachment was scrubbed...
>URL: 
>https://www.millennium.berkeley.edu/pipermail/tinyos-help/attachments/20080102/f0b246cd/attachment.htm
>
>------------------------------
>
>Message: 3
>Date: Thu, 03 Jan 2008 14:51:54 +1000
> From: Peizhao Hu <[EMAIL PROTECTED]>
>Subject: Re: [Tinyos-help] one question about "motelist"
>To: Chris Yao <[EMAIL PROTECTED]>
>Cc: tinyos-help@millennium.berkeley.edu
>Message-ID: <[EMAIL PROTECTED]>
>Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
>try other usb ports.
>
>regards;
>
>Peizhao
>
>
>
>Chris Yao wrote:
> > Hi,
> >
> > I run "motelist" under TinyOs 2.0.2 Cygwin/Windows XP. I got the
> > following errors:
> >
> > error, could not open key
> > HKLM\SYSTEM\CurrentControlSet\Enum\USB\Vid_0403&Pid_6001
> >
> > why is that?
> >
> > Thanks very much,
> >
> > Chris
> >
> > ------------------------------------------------------------------------
> > Never miss a thing. Make Yahoo your homepage.
> > <http://us.rd.yahoo.com/evt=51438/*http://www.yahoo.com/r/hs>
> > ------------------------------------------------------------------------
> >
> > _______________________________________________
> > Tinyos-help mailing list
> > Tinyos-help@millennium.berkeley.edu
> > https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>
>
>------------------------------
>
>Message: 4
>Date: Thu, 03 Jan 2008 14:54:14 +1000
> From: Peizhao Hu <[EMAIL PROTECTED]>
>Subject: Re: [Tinyos-help] TinyOS-2.x post-Install and Configuration
>To: antonio gonga <[EMAIL PROTECTED]>
>Cc: TINYOS <tinyos-help@millennium.berkeley.edu>
>Message-ID: <[EMAIL PROTECTED]>
>Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
>it looks like the make can't locate the some files. have you tried to
>run tos-* command, for example: tos-check-env
>
>regards;
>
>Peizhao
>
>
>
>antonio gonga wrote:
> > Hey All,
> > I was upgrading TinyOS-1.x to  TinyOS-2.x in Windows. But I did not
> > understand how to configure the environment, so I changed the file under
> > /etc/profile.d/tinyos.sh with the new TinyOs-2.x environment variables.
> > My problem is that when I tried to compile the Blink App i got the
> > following message:
> >
> > 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=\"antoniogonga\"
> > -DIDENT_HOSTNAME=\"aogobg\"
> > DIDENT_USER_HASH=0x6655b8adL -DIDENT_UNIX_TIME=0x477c429aL
> > -DIDENT_UID_HASH=0x993ab617L  BlinkAppC.nc -lm
> > Unknown target telosb
> > Known targets for TinyOS directory /opt/tinyos-2.x/tos and the
> > specific include directories are: none
> > make: *** [exe0] Error 2
> >
> > If someone knows/can help me how to configure TinyOS-2.x I'd be very
> > grateful
> > thanks in advance.
> >
> > ------------------------------------------------------------------------
> > Express yourself instantly with MSN Messenger! MSN Messenger
> > <http://clk.atdmt.com/AVE/go/onm00200471ave/direct/01/>
> > ------------------------------------------------------------------------
> >
> > _______________________________________________
> > Tinyos-help mailing list
> > Tinyos-help@millennium.berkeley.edu
> > https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>
>
>------------------------------
>
>Message: 5
>Date: Thu, 3 Jan 2008 11:17:12 +0100
> From: "boujelben manel" <[EMAIL PROTECTED]>
>Subject: [Tinyos-help] command getEncryptionKey
>To: tinyos-help@millennium.berkeley.edu
>Message-ID:
>       <[EMAIL PROTECTED]>
>Content-Type: text/plain; charset="iso-8859-1"
>
>Hello
>I'am trying to use the command getEncryptionKey of TinySecControl interface.
>The compilation works without errors but when I try to excute my code, this
>command return fail and i can't get see the encryption Key. So I dont know
>what is the problem?
>
>Thank you for your help
>-------------- next part --------------
>An HTML attachment was scrubbed...
>URL: 
>https://www.millennium.berkeley.edu/pipermail/tinyos-help/attachments/20080103/c62d01b7/attachment.html
>
>------------------------------
>
>Message: 6
>Date: Thu, 3 Jan 2008 12:18:12 +0100
> From: <[EMAIL PROTECTED]>
>Subject: [Tinyos-help] Tinyos-2.x problem reading temperature with
>       MTS310
>To: <tinyos-help@millennium.berkeley.edu>
>Message-ID: <[EMAIL PROTECTED]>
>Content-Type: text/plain; charset="iso-8859-1"
>
>I cannot read data from MTS310. I would like to read temperature and light
>at the same time. I do all in Tinyos-2.x.
>
>
>
>components new PhotoC();
>
>components new TempC();
>
>App.ReadP -> PhotoC;                                              // Photo
>sensor
>
>App.ReadT -> TempC;                                              //
>Termistor
>
>
>
>uses interface Read<uint16_t> as ReadP;
>
>uses interface Read<uint16_t> as ReadT;
>
>
>
>call ReadV.read()
>
>call ReadT.read()
>
>
>
>I do this but my answer is that I can read the photo sensor but I can’t read
>de temperature.
>
>
>
>I have values as these:
>
>
>
>Light: 03 4F, 0350,….
>
>Temp: always 00 00.
>
>
>
>If somebody can help me, I would be tanked for it.
>
>Thank you.
>
>
>
>Roberto.
>
>-------------- next part --------------
>An HTML attachment was scrubbed...
>URL: 
>https://www.millennium.berkeley.edu/pipermail/tinyos-help/attachments/20080103/e5202bf8/attachment.htm
>
>------------------------------
>
>_______________________________________________
>Tinyos-help mailing list
>Tinyos-help@millennium.berkeley.edu
>https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>
>End of Tinyos-help Digest, Vol 57, Issue 3
>******************************************


Thanks & Rgards,
Kanhaiya Lal Yadav
Tech.Leader
Papyrus Software India Pvt.Ltd.
Hyderabad
Ph:(O)040-66745003 
_______________________________________________
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to