*Hi,everyone,I am a chinese student.
When I compiling the tinyOS sf SDK, I come across a  problem.
My System is ubuntu 11.10.The nesc version is 1.3.3.

when I typed in sudo ./bootstrap
the result is as below:**
configure.ac:5: installing `config-aux/install-sh'
configure.ac:5: installing `config-aux/missing'
Makefile.am: installing `config-aux/depcomp'*
*then I typed in sudo ./configure*
*the result is as below:*
*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... no
checking for mawk... mawk
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: autoconf.h is unchanged
config.status: executing depfiles commands*

*All the above seems right,I suppose.When I checked them with the problem
posted before.
then I typed in make,it showed that:*
*mig -o serialpacket.h -c-prefix=spacket c
/opt/tinyos-2.1.1/tos/lib/serial/Serial.h serial_packet -D_POSIX_C_SOURCE
warning: Cannot determine AM type for serial_packet
         (Looking for definition of AM_SERIAL_PACKET)
failed to create serialpacket.h
make: *** [serialpacket.h] error 1*

*I have checked many posts before to find a solution.However,I did not find
one until now.
I hope that some one can help me solve this problem.
Thanks a lot.
*
*Gu Ning*




-- 
Gu Ning
Graduate School at Shenzhen, Tsinghua University
Room H205, Building H
Tsinghua Campus, The University Town, Shenzhen, P.R.China  518055
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to