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
motesrunning 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
theC-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

Reply via email to