This is result of ncc --version:

ncc: 1.2.4
nescc: 1.3.1
gcc: gcc (Ubuntu 4.4.3-4ubuntu5) 4.4.3

Cheers

---------- Forwarded message ----------
From: Nghia Tran <[email protected]>
Date: Sat, Oct 2, 2010 at 3:38 PM
Subject: Error when compiling C-based Serialforwarder
To: [email protected]


Hi everyone,

After going to /opt/tinyos-2.1.1/support/sdk/sf I run these commands:

./bootstrap
./configure
make

However after the 'make' command, I get this error:

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


Does anybody know how to fix this problem ?
Thank you.
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to