Hi, Blink is compiled and installed without error. Actually I am in an effort to modify CTP(collection tree protocol), and I copy it from the original ctp folder(/tos/lib/net/ctp) to apps/ and modify, after which I get these errors complaining "interface not found". If I copy my modified code back to the original ctp folder, errors disappear. If I want to keep my code in some other folder rather than the original ctp folder, how can I tell the compiler where to find all the nessasary interfaces (at once, not include them one by one)? Thanks.
-Xiaohui 2009/5/11 Javier M Mora Merchan <[email protected]> > Xiaohui Liu wrote: > > > I got a lot of debug errors, saying some interfaces (or components) can > > not be found, which are actually under some TinyOS folders. After I > > manually add in Makefile "PFLAG += -IMYDIR", now interfaces under > > "MYDIR" can be located. Unfortunately, the compiler appears to only > > searches the specified directory, without diving into the sub > > directories. As a result, even I include the whole TinyOS dir by "PFLAG > > += -I${TOSROOT}", interfaces are still missing. If I am not intended to > > add directory for each interface, is there a way to tell the compiler to > > search the specified directory as well as its sub directories since I > > get tens of such missing interfaces? I really appreciate your help. > > nesc compiler is based on gcc. AFAIK is not possible include directories > recursively. > > It seems you instalation is broken. If you can't compile blink example > you'd reinstall. > > javier m mora > _______________________________________________ > Tinyos-help mailing list > [email protected] > https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help >
_______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
