[Tinyos-help] can't build cygwin-T2-tossim

David Gay dgay42 at gmail.com
Fri Dec 1 11:17:32 PST 2006


On 12/1/06, Manuel Pessoa <mpessoa at dei.uc.pt> wrote:
>
>      I confirmed that "ncc -print-platforms"  gives  me  a blank line
> output.
>
>      Can anyone help me on this?
>
> Thanks.
> Manuel Pessoa
> ___________________________________________________________________________
> mpessoa at TOSH /opt/tinyos-2.x/apps/Blink
> $ make micaz sim
> mkdir -p build/micaz
>    placing object files in build/micaz
>    writing XML schema to app.xml
>    compiling BlinkAppC to object file sim.o
> ncc -c -shared -fPIC -o build/micaz/sim.o -g -O0 -tossim
> -fnesc-nido-tosnodes=1000 -fnesc-simulate
> -fnesc-nido-motenumber=sim_node\(\)   -finline-limit=100000 -Wall -Wshadow
> -Wnesc-all -target=micaz -fnesc-cfile=build/micaz/app.c -board=micasb
> -Wno-nesc-data-race BlinkAppC.nc   -fnesc-dump=components
> -fnesc-dump=variables -fnesc-dump=constants -fnesc-dump=typedefs
> -fnesc-dump=interfacedefs -fnesc
> -dump=tags -fnesc-dumpfile=app.xml
> Unknown target micaz
> Known targets for TinyOS directory
> /usr/src/rpm/BUILD/tinyos-tools-1.2.3/tools

That doesn't look like the right TinyOS directory. It should be the
"tos" directory of tinyos2.x.Set the TOSDIR environment variable to
that directory and try again.

> and the specified include directories are:
> none.


More information about the Tinyos-help mailing list