[Tinyos-help] make micaz instlal - why it won't work?
George Adamides
gmadamide at yahoo.com
Wed Mar 25 07:42:20 PDT 2009
Here is some information that might help
I have this connected to a usb-serial port converter. So having the /dev/ttyUSB0 is that correct or should I have something else here?
--
George Adamides
________________________________
From: Urs Hunkeler <uhu at gmx.ch>
To: George Adamides <gmadamide at yahoo.com>
Cc: tinyos-help at millennium.berkeley.edu
Sent: Wednesday, March 25, 2009 10:36:49 AM
Subject: Re: [Tinyos-help] make micaz instlal - why it won't work?
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;
>
> [root at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://www.millennium.berkeley.edu/pipermail/tinyos-help/attachments/20090325/6ce34f85/attachment.htm
More information about the Tinyos-help
mailing list