hi all, When i want to compile an application using the component CollectionC (for exemple: EasyCollection, TestNetwork, MultiHopOscilloscope), it works fine for an simple "make micaz". But when i want to compile it for Tossim ("make micaz sim"), i always receive the same error linked to "LinkEstimatorP.nc":
///////////////////////////////////////////////////////// In file included from /opt/tinyos-2.x/tos/lib/net/ctp/CtpP.nc:127, from /opt/tinyos-2.x/tos/lib/net/ctp/CollectionC.nc:69, from TestNetworkAppC.nc:21: In component `LinkEstimatorP': /opt/tinyos-2.x/tos/lib/net/4bitle/LinkEstimatorP.nc:70: syntax error before `(' make: *** [sim-exe] Error 1 ///////////////////////////////////////////////////////// I made all the update via the CVS and i'm working with the components in file /4bitle. At the line 70 in the component LinkEstimatorP is written: ////////////////// INFINITY = 0xff, ////////////////// I tried to understand why i have this problem, and nobody never spoke about it on the mailing list, but i'm not workimg with Tinyos for a long time and i could not find any reasons. I just discover that suppressing the line 70 from LinkEstimatorP makes the Tossim compilation working well, but the simple compilation "make micaz" does not work this time. I tried it because i need Tossim to try my own application using CollectionC. So i'm able to work in Tossim when i suppress the line 70 but i have to add it again if i want to compile it on motes. Did anyone already meet this problem? Regards, Jérémy _______________________________________________ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help