Hello Tobe, If you installed tinyos 2.1.1 from a debian package, your TOSROOT should point to /opt/tinyos-2.1.1 I don't have much experience with the msp430 platforms, but I had problems with newer gcc on avr (some chips didn't work)
Andris On Thu, Aug 11, 2011 at 2:26 PM, Klunz <[email protected]> wrote: > Hello everyone, > > I'm working on a API that already supports MantisOS and FreeRTOS and am > supposed to integrate TinyOS-support into this API. > I have a toolchain with msp-gcc-4.4.2, that is working fine for Mantis and > FreeRTOS. > > I now just added the necessary packages to set up TinyOS by simply following > the instructions here: > http://docs.tinyos.net/tinywiki/index.php/Installing_TinyOS_2.1.1#Two-step_install_on_your_host_OS_with_Debian_packages, > starting with step 4. > > When I try to compile the Blink example application I get the following > error: > > > > > [tobe@camboinhas:apps/Blink]$ make telosb > mkdir -p build/telosb > compiling BlinkAppC to a telosb binary > ncc -o build/telosb/main.exe -Os -O -mdisable-hwmul -fnesc-separator=__ > -Wall -Wshadow -Wnesc-all -target=telosb -fnesc-cfile=build/telosb/app.c > -board= -DDEFINED_TOS_AM_GROUP=0x22 -DIDENT_APPNAME=\"BlinkAppC\" > -DIDENT_USERNAME=\"tobe\" -DIDENT_HOSTNAME=\"camboinhas\" > -DIDENT_USERHASH=0xe22c913bL -DIDENT_TIMESTAMP=0x4e43c76cL > -DIDENT_UIDHASH=0xb16798d6L BlinkAppC.nc -lm > Unknown target telosb > Known targets for TinyOS directory $TOSROOT/tos > and the specified include directories are: > none. > make: *** [exe0] Fehler 2 > > > > I read here that this error is mostly caused by an incorrect environment > set-up. > However, printenv gives me: > > .... > PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/opt/msp430-gcc-4.4.2/bin > .... > TOSROOT=/opt/tinyos-2.x > TOSDIR=$TOSROOT/tos > MAKERULES=/opt/tinyos-2.x/support/make/Makerules > CLASSPATH=/opt/tinyos-2.x/support/sdk/java/tinyos.jar:. > > > so I guess its set-up correct. > > > I have to admit I am fairly new to the whole thing, so I might very well do > some very basic mistake. > Looking at older messages on this list I'm not entirely sure if > msp430-gcc-4.4.2 is even working with what I installed. > > Andy help is greatly appreciated, thanks in advance > > Sincerely > tobe > > > > > > > > > _______________________________________________ > Tinyos-help mailing list > [email protected] > https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help > _______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
