Hi! On Tue, 3 Nov 2009, David Sanz wrote:
> Hello Razvan, > > Thanks for your quick answer :-) Unfortunately, I already had libc6-dev > installed, and new nesc 1.3.0 package seems not to solve the problem: when > compiling, I obtain the same results. > > I ve also tried adding some includes in my makefie, but nothing.. is there > anyway to reset dependency manually? > My bad, I didn't notice that you are compiling for telosb. :P Did you install the MSP430 toolchain? You should be able to get it by doing 'apt-get install msp430-tinyos'. Give it a try and let me know if doesn't work. I just installed a fresh Ubuntu 9.10 and it worked. :D All the best! Razvan ME > 2009/11/3 Razvan Musaloiu-E. <[email protected]> > >> Hi! >> >> >> On Tue, 3 Nov 2009, David Sanz wrote: >> >> Dear all, >>> >>> After work perfectly with tin...@ubuntu 9.04, I upgraded my OS to Ubuntu >>> 9.10, and now I am not able even to compile the simplest code. The results >>> when trying to compile are in this way: >>> >>> $ make telosb >>> >>> mkdir -p build/telosb >>> compiling SenseToRadioAppC to a telosb binary >>> ncc -o build/telosb/main.exe -Os -O -mdisable-hwmul -Wall -Wshadow >>> -Wnesc-all -target=telosb -fnesc-cfile=build/telosb/app.c -board= >>> -DDEFINED_TOS_AM_GROUP=0x22 -I/opt/tinyos-2.1.0/tos/lib/printf >>> -DIDENT_APPNAME=\"SenseToRadioApp\" -DIDENT_USERNAME=\"sanz\" >>> -DIDENT_HOSTNAME=\"dSanz\" -DIDENT_USERHASH=0x556e4852L >>> -DIDENT_TIMESTAMP=0x4aef1c37L -DIDENT_UIDHASH=0xb47d6cd5L >>> SenseToRadioAppC.nc -lm >>> >>> /usr/lib/ncc/deputy_nodeputy.h:4:20: error: stddef.h: No such file or >>> directory >>> /usr/lib/ncc/nesc_nx.h:14:26: error: sys/inttypes.h: No such file or >>> directory >>> /usr/lib/ncc/nesc_nx.h:235: syntax error before `__nesc_ntoh_uint8' >>> /usr/lib/ncc/nesc_nx.h:240: syntax error before `__nesc_hton_uint8' >>> /usr/lib/ncc/nesc_nx.h:242: warning: type defaults to `int' in declaration >>> of `base' >>> /usr/lib/ncc/nesc_nx.h:242: `value' undeclared here (not in a function) >>> /usr/lib/ncc/nesc_nx.h:242: warning: data definition has no type or storage >>> class >>> /usr/lib/ncc/nesc_nx.h:243: syntax error before `return' >>> /usr/lib/ncc/nesc_nx.h:246: syntax error before `__nesc_ntoh_leuint8' >>> /usr/lib/ncc/nesc_nx.h:251: syntax error before `__nesc_hton_leuint8' >>> /usr/lib/ncc/nesc_nx.h:253: warning: type defaults to `int' in declaration >>> of `base' >>> /usr/lib/ncc/nesc_nx.h:253: redefinition of `base' >>> ... >>> >>> After looking for in the mailing list and forum, I ve done tos-check-env, >>> and everything seem to be OK, so I guess is a problem with paths or >>> similar. >>> I ve included stddef.h at /usr/lib/ncc >>> I ve also included this lines >>> >>> CFLAGS+=-I/usr/lib/gcc/.../include // where there was stddef.h >>> CFLAGS+=-I/usr/include/ >>> >>> in /opt/tinyos-2.x/support/make/sim.extra >>> >>> and does not work. Don't know what else to do. >>> >>> Do someone has had a similar problem? Does someone have any idea? >>> >>> >> Try to to install the libc6-dev package (apt-get install libc6-dev). The >> nesc 1.3.0 package is missing this dependency. The 1.3.1 from here is fixed: >> >> http://cs.jhu.edu/~razvanm/wsn/debian/nesc-1.3.1.deb<http://cs.jhu.edu/%7Erazvanm/wsn/debian/nesc-1.3.1.deb> >> >> All the best! >> Razvan ME >> > _______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
