I am trying to compile TinyOS 1.1.0 on Fedora Core 4, and ran into a problem that many others have had relating to offsetof().
When I try to compile, I get 4 error messages of the sort
/opt/tinyos-1.x/tos/types/AM.h:157: parse error before `struct'As I understand the problem, the offsetof() macro has been changed since Linux kernel 2.6.9. Instead of using a generic method, it is now replaced by a compiler specific function __builtin_offsetof() which is not recognitized by nesc.
I have found the patch located in the message
http://mail.millennium.berkeley.edu/pipermail/tinyos-help/2005-September/012275.html
But do not know how or where to install the patch. If someone could give further instructions for installing this patch, replacing my old version of gcc, or any other way to solve this problem, I would be ever so appreciative.
Thank you,
Jason Hemann
Jason Hemann
One Trinity Place # 663
San Antonio, Texas 78212
713 702 7524
How low will we go? Check out Yahoo! Messengers low PC-to-Phone call rates.
_______________________________________________ Tinyos-help mailing list [email protected] https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
