[TINYOS-HELP]: cp: cannot stat `build/telosb/main.ihex': No such file or directory

Urs Hunkeler uhu at gmx.ch
Mon Dec 3 05:22:20 PST 2007


Hi Sam,

The first error probably means that it did not compile the telosb
binary, possibly because of the second problem that you describe just below.

The second problem looks to me more like a problem with cygwin. I rarely
use cygwin so I can't really help you there. Search the mailing list for
the keywords cygwin and dll, or even directly for __getreent. Maybe
updating cygwin could help.

Cheers,
Urs

Renee Azhen schrieb:
> Dear all:
>   I updated my tinyos from V 1.x to version 2.02 with the updating instruction.
>   But an error occured when upload the Blink to my telosb node:
>   here is the info:
>   ibm at ibm-vs2a1bhcns0 /opt/tinyos-2.x/apps/Blink
> $ make telosb reinstall
> cp build/telosb/main.ihex build/telosb/main.ihex.out
> cp: cannot stat `build/telosb/main.ihex': No such file or directory
> make: *** [setid] Error 1
>    
>   dear all, could you tell me how to fix this problem?
>   and  if I type command: make telosb, another error occured:
>   here is the output info:
>   ibm at ibm-vs2a1bhcns0 /opt/tinyos-2.x/apps/Blink
> $ 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= -DI
> DENT_PROGRAM_NAME=\"BlinkAppC\" -DIDENT_USER_ID=\"ibm\" -DIDENT_HOSTNAME=\"ibm-v
> s2a1bhcns0\" -DIDENT_USER_HASH=0x245ca709L -DIDENT_UNIX_TIME=0x4753f4d0L -DIDENT
> _UID_HASH=0xa83bc5e1L  BlinkAppC.nc -lm
> make: *** [exe0] Error 57
>    
>   And a warning box poped up:
>   "the procedure entry point __getreent could not be located in the dynamic link library cygwin1.dll"
>    
>   I think maybe something wrong with the NesC tool, so I changed the NesC rpm from nesc-1.2.8a-1.cygwin.i386.rpm to nesc-1.2.8b-1.cygwin.i386.rpm. But still the same error occured.
>    
>   I have spent 12 hours for this problem, but still no progress achieved.
>    
>   Is there any nice guy can help me?
>   Wating for your help!
>    
>   Best Regards &Thanks
>   Sam


More information about the Tinyos-help mailing list