Hi George,

"reinstall" only works if the application has previously been compiled. 
"install", on the other hand, first compiles the application and then 
installs it.

In your case it looks like the compiler is not working properly. Have 
you installed TinyOS using the rpm packages? You could try to 
reinstall/update nesc and all associated packages (avr-binutils, 
avr-gcc, avr-libc).

Cheers,
Urs

George Adamides wrote:
> Yes I have tried it. This is what I get;
> 
> [r...@localhost Sense]# make mica2 install mib510,/dev/ttyUSB0
> mkdir -p build/mica2
>     compiling SenseAppC to a mica2 binary
> ncc -o build/mica2/main.exe  -Os -Wall -Wshadow -Wnesc-all -target=mica2 
> -fnesc-cfile=build/mica2/app.c -board=micasb -DDEFINED_TOS_AM_GROUP=0x22 
> --param max-inline-insns-single=100000 -DIDENT_APPNAME=\"SenseAppC\" 
> -DIDENT_USERNAME=\"root\" -DIDENT_HOSTNAME=\"localhost.local\" 
> -DIDENT_USERHASH=0x53b81074L -DIDENT_TIMESTAMP=0x49ca3c40L 
> -DIDENT_UIDHASH=0x08e7e3cdL -fnesc-dump=wiring 
> -fnesc-dump='interfaces(!abstract())' -fnesc-dump='referenced(interfacedefs, 
> components)' -fnesc-dumpfile=build/mica2/wiring-check.xml SenseAppC.nc -lm 
> /opt/tinyos-2.x/tos/platforms/mica2/chips/cc1000/HplCC1000SpiP.nc:62: 
> internal compiler error: in start_function, at c-decl.c:6248
> Please submit a full bug report,
> with preprocessed source if appropriate.
> See <http://gcc.gnu.org/bugs.html> for instructions.
> make: *** [exe0] Error 1
> 
> 
>  --
> George Adamides
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to