Dear Pierre/All,

The only way that I can successfully compile
a project for tinynode is by converting the
rpm's provided 
here<http://docs.tinyos.net/tinywiki/index.php/Installing_TinyOS_2.1.1#Manual_installation_on_your_host_OS_with_RPMs>
to
.deb packages (using alien).

The same output as below I get when


   - Compile tinyos manually using the svn repository
   - Using the tinyos-2.1.1 packages from the Stanford repo
   for Debian Linux.


But, 'make telosb' executes successfully so I guess that the is some
problem with makefiles and definition for the mote 'tinynode'.

Any ideas what to do next?
*
*


> *$ make tinynode*
> mkdir -p build/tinynode
>     compiling RootNodeAppC to a tinynode binary
> ncc -o build/tinynode/main.exe  -Os -Os -mdisable-hwmul -mstrict-align
> -fnesc-separator=__ -Wall -Wshadow -Wnesc-all -target=tinynode
> -fnesc-cfile=build/tinynode/app.c -board= -DDEFINED_TOS_AM_GROUP=0x22
> -DIDENT_APPNAME=\"RootNodeAppC\" -DIDENT_USERNAME=\"takeda\"
> -DIDENT_HOSTNAME=\"perseus\" -DIDENT_USERHASH=0x0da7a406L
> -DIDENT_TIMESTAMP=0x4fb0c213L -DIDENT_UIDHASH=0x9a13880eL
> -fnesc-dump=wiring -fnesc-dump='interfaces(!abstract())'
> -fnesc-dump='referenced(interfacedefs, components)'
> -fnesc-dumpfile=build/tinynode/wiring-check.xml RootNodeAppC.nc -lm
> nesc1: invocation of msp430-gcc to find builtin macros failed (error
> message output follows)
> Using built-in specs.
> Reading specs from
> /usr/bin/../lib/gcc/msp430/4.5.3/../../../../msp430/lib/msp430mcu.spec
> COLLECT_GCC=msp430-gcc
>
> COLLECT_LTO_WRAPPER=/usr/bin/../lib/gcc/../../libexec/gcc/msp430/4.5.3/lto-wrapper
> Target: msp430
> Configured with: ../configure
> --prefix=/home/tinyos/local/tinyos-2.x/tools/msp430.new/debian/usr
> --target=msp430 --enable-languages=c
> Thread model: single
> gcc version 4.5.3 (GCC)
> COLLECT_GCC_OPTIONS='-v' '-E' '-dM' '-mdisable-hwmul' '-mstrict-align'
> '-mmcu=msp430f1611' '-mcpu=430' '-mmpy=16' '-mivcnt=16' '-mcpu=430'
> '-mmpy=16' '-mivcnt=16'
>  /usr/bin/../lib/gcc/../../libexec/gcc/msp430/4.5.3/cc1 -E -quiet -v
> -imultilib mmpy-16 -iprefix /usr/bin/../lib/gcc/msp430/4.5.3/
> -D__MSP430F1611__ /dev/null -mcpu=430 -mcpu=430 -mmpy=16 -mmpy=16
> -mivcnt=16 -mivcnt=16 -mdisable-hwmul -mstrict-align -mmcu=msp430f1611
> -mcpu=430 -mmpy=16 -mivcnt=16 -mcpu=430 -mmpy=16 -mivcnt=16 -dM
> *cc1: error: unrecognized command line option "-mstrict-align"*
> ignoring nonexistent directory
> "/usr/bin/../lib/gcc/msp430/4.5.3/../../../../msp430/sys-include"
> ignoring duplicate directory
> "/usr/bin/../lib/gcc/../../lib/gcc/msp430/4.5.3/include"
> ignoring duplicate directory
> "/usr/bin/../lib/gcc/../../lib/gcc/msp430/4.5.3/include-fixed"
> ignoring nonexistent directory
> "/usr/bin/../lib/gcc/../../lib/gcc/msp430/4.5.3/../../../../msp430/sys-include"
> ignoring duplicate directory
> "/usr/bin/../lib/gcc/../../lib/gcc/msp430/4.5.3/../../../../msp430/include"
> #include "..." search starts here:
> #include <...> search starts here:
>  /usr/bin/../lib/gcc/msp430/4.5.3/include
>  /usr/bin/../lib/gcc/msp430/4.5.3/include-fixed
>  /usr/bin/../lib/gcc/msp430/4.5.3/../../../../msp430/include
> End of search list.
> *cc1: warning: -mdisable-hwmul deprecated, use -mmpy=none*
> *nesc1: internal error: couldn't define builtin macros - exiting*
> make: *** [exe0] Error 1
>
> *
*
-- 

-Pet
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to