Closed bradjc closed 10 years ago
Aha! It seems that the errors are due to emacs version 24.3.2. I downloaded emacs 24.2.1 and it builds without errors. I'm not sure what changed; it could be a change in the lisp parsing or a bug in emacs. Also, I'm not sure if it works with 24.3.2 on Ubuntu.
I just confirmed that nesC will not compile with emacs 24.3.* on Ubuntu.
I just got bit by this again setting up a new machine. Can someone with more knowledge of what's happening here ( @dgay42 ?) look into this? I imagine it will only continue to be a problem and it's not good if no modern system can build nesc...
Is there a trick to getting nesC to compile with Cygwin? When I try I first get errors in the create AST files step:
This then causes bad files to be generated. For instance
AST_types.h
contains:I haven't been able to find what is different between these steps on Linux and Cygwin. Compiling nescc from source is relevant because it seems the way msp430-gcc handles flags changed, but so did the way nescc uses environment variables, and I can't build apps from tinyos-main using the nescc 1.3.1 rpm. I tried on two different Windows installs with Cygwin and got the same errors.