how ? because I'm using nesc 1.3.1-20091005, but when I try to upgrade it : "nesc is already the newest version."
2012/2/5 András Bíró <[email protected]> > Sorry, I mixed up the solution with an other mig bug (this one: > > http://sourceforge.net/tracker/?func=detail&aid=3066006&group_id=56288&atid=480036 > ). > I resolved this problem by updating nesc. > > Andris > > 2012/2/5 Corentin Henry <[email protected]>: > > Thanks, but how am I supposed to use the patch ?? > > > > > > 2012/2/5 András Bíró <[email protected]> > >> > >> Hi, > >> > >> This is a known bug in nesc 1.3.2 (and older) and gcc 4.6 (and newer): > >> > >> > http://sourceforge.net/tracker/?func=detail&aid=3153727&group_id=56288&atid=480036 > >> You can eighter update to nesc 1.3.3 or use the atached patch in the > >> bugreport (it's a perl script, so you don't have to recompile the > >> whole nesc). > >> > >> Andris > >> > >> On Sun, Feb 5, 2012 at 12:30 PM, Corentin Henry < > [email protected]> > >> wrote: > >> > Hi, > >> > > >> > I'm on ubuntu, trying to use the sdk (this one : > >> > /opt/tinyos-2.1.1/support/sdk/c/sf). In the README it is said : > >> > > >> > This directory contains a mini-SDK for C, for communicating with motes > >> > running TinyOS 2.0. To build this SDK, run > >> > ./bootstrap > >> > ./configure --prefix=<somewhere> > >> > make > >> > in the current directory and, if you wish, "make install" to install > the > >> > C-based serial forwarder in <somewhere>/bin. > >> > > >> > So I try : > >> > > >> > $ ./bootstrap > >> > configure.ac:5: installing `config-aux/install-sh' > >> > configure.ac:5: installing `config-aux/missing' > >> > Makefile.am: installing `config-aux/depcomp' > >> > > >> > $ ./configure > >> > checking for a BSD-compatible install... /usr/bin/install -c > >> > checking whether build environment is sane... yes > >> > checking for a thread-safe mkdir -p... /bin/mkdir -p > >> > checking for gawk... gawk > >> > checking whether make sets $(MAKE)... yes > >> > checking for gcc... gcc > >> > checking whether the C compiler works... yes > >> > checking for C compiler default output file name... a.out > >> > checking for suffix of executables... > >> > checking whether we are cross compiling... no > >> > checking for suffix of object files... o > >> > checking whether we are using the GNU C compiler... yes > >> > checking whether gcc accepts -g... yes > >> > checking for gcc option to accept ISO C89... none needed > >> > checking for style of include used by make... GNU > >> > checking dependency style of gcc... gcc3 > >> > checking for ranlib... ranlib > >> > configure: creating ./config.status > >> > config.status: creating Makefile > >> > config.status: creating autoconf.h > >> > config.status: executing depfiles commands > >> > > >> > $ make > >> > mig -o serialpacket.h -c-prefix=spacket c > >> > /opt/tinyos-2.1.1/tos/lib/serial/Serial.h serial_packet > >> > -D_POSIX_C_SOURCE > >> > two source files specified (PLATFORM_NULL and _POSIX_C_SOURCE) > >> > failed to parse message file /opt/tinyos-2.1.1/tos/lib/serial/Serial.h > >> > make: *** [serialpacket.h] Error 1 > >> > > >> > So I don't know how to build my SDK... > >> > > >> > Thank you in advance for your answers :) > >> > > >> > _______________________________________________ > >> > 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
