Thanks Urs I did what you suggested. Basically I reinstalled everything from the beginning. It works now!!! Thank you.
-- George Adamides ________________________________ From: Urs Hunkeler <[email protected]> To: George Adamides <[email protected]> Cc: [email protected] Sent: Wednesday, March 25, 2009 11:06:17 AM Subject: Re: [Tinyos-help] make micaz instlal - why it won't work? Hi George, /dev/ttyUSB0 is probably ok, but let's first try to fix the problem with compiling (the serial port is only needed once the application compiles). So before you need to worry about the serial port, the following command must run correctly: make mica2 Cheers, Urs George Adamides wrote: > 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 <[email protected]> > To: George Adamides <[email protected]> > Cc: [email protected] > 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; >> >> [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
