On Sat, Oct 12, 2013 at 1:08 PM, Alaios <[email protected]> wrote: > Hi all, (I am sorry to resend this after three days but I am still stuck > with how to proceed) > I am trying to find a way to install opensuse 12.3 without losing my > sanity... >
well there are a number of problems..... 1st, I've looked at the packages opensuse has available and it is either 4.7.0 (which is experimental and not recommended for mere mortals) and 4.5.3 (which is buggy and not recommended). You really want to be using 4.6.3 I don't know why the SUSE packager skipped 4.6.3. I'm using debian based environments (either Debian or Ubuntu). Why don't you switch? I don't have anything against SUSE, it is just what I'm using. I'm one of the folks paying active attention to TinyOS on the msp430 mcus including the new x5 cpus (MSP430V2). I've put together the debian packages on TinyProd.net (http://tinyprod.net/repos/debian/). > So far I have followed all steps here as exactly are described: > > http://tinyos.stanford.edu/tinyos-wiki/index.php/Installing_From_Source > > > nes-c and tiny-os were succesfully installed... so far so good. > > I am just missing msp430-gcc to be able to compile applications (make > telosb: returns that can not find the mps430-gcc compiler) > > > I have found then the msp430-gcc in the packages listed here: > http://software.opensuse.org/package/cross-msp430-gcc > > These installed me the compiler msp430-gcc in the folder > /opt/cross/bin/ > that I have included in my PATH bash variable (so the make telosb can find > the compiler). Yes after that the compiler can be found in the mps430-gcc. > first if you were missing msp430-gcc your compiler wouldn't have gotten as far as it did. also do "which msp430-gcc", it should show /opt/cross/bin. also what does your invokation like look like? what platform are you building? do you have your environment variables set up properly? what are they currently set to? For example, mine look like: MOTECOM: serial@/dev/ttyUSB1:115200 TOSROOT: /home/cire/mm/t2_cur/tinyos-2.x TOSDIR: /home/cire/mm/t2_cur/tinyos-2.x/tos TOSMAKE_PATH: /home/cire/mm/mm_sensors/support/make /home/cire/mm/g4-working/support/make CLASSPATH: .:/home/cire/mm/t2_cur/tinyos-2.x/support/sdk/java/tinyos.jar MM_ROOT: /home/cire/mm/mm_sensors G4_ROOT: /home/cire/mm/g4-working LSRDEV_ROOT: /home/cire/mm/g4-working MAKERULES: /home/cire/mm/t2_cur/tinyos-2.x/support/make/Makerules toolchain: default yes, I have a script that shows me what my environment variables are set to. > > The compilation runs but it returns a bunch of errors (only a snippet is > given here) > what are the first few complaints. It generally isn't too helpful to just pull out a small set of the errors because it removes too much context. also compile with "make verbose <the mote you are building>" It will show you everything including which compiler etc. > > > In file included from > /home/apa/tinyos-main/tos/chips/msp430/timer/HilTimerMilliC.nc:54, > from /home/apa/tinyos-main/tos/system/TimerMilliP.nc:52, > from /home/apa/tinyos-main/tos/system/TimerMilliC.nc:48, > from BlinkAppC.nc:57: > In component `CounterToLocalTimeC': > /home/apa/tinyos-main/tos/lib/timer/CounterToLocalTimeC.nc:49: syntax > error before `uint32_t' > /home/apa/tinyos-main/tos/lib/timer/CounterToLocalTimeC.nc:53: syntax > error before `LocalTime' > > > My guess is that I am using a wrong compiler for the installed tinyos > version I am using.... > a. What is the problem exactly? > b. Is it possible to suggest me the right version to install in my > opensuse 12.3 > > I would like to thank you in advance for your help > > Regards > Alex > > _______________________________________________ > Tinyos-help mailing list > [email protected] > https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help > -- Eric B. Decker Senior (over 50 :-) Researcher
_______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
