[ncl-install] flex error: bad character: %
Jan Ploski
Jan.Ploski at offis.de
Sun Jan 6 04:55:24 MST 2008
Hello,
After getting around the ncargpath problem (thanks, Mary) I'm still
having trouble compiling NCL. This time I'm getting errors from flex:
flex ncl.l
ncl.l:262: bad character: %
ncl.l:262: unknown error processing section 1
ncl.l:262: unknown error processing section 1
ncl.l:262: bad character: 4
ncl.l:262: bad character: 0
ncl.l:262: bad character: 0
ncl.l:262: bad character: 0
ncl.l:263: bad character: %
ncl.l:263: unknown error processing section 1
ncl.l:263: bad character: 4
ncl.l:263: bad character: 0
ncl.l:263: bad character: 0
ncl.l:263: bad character: 0
make[4]: *** [lex.yy.c] Error 1
make[4]: Leaving directory
`/direct/home/VO_SW_DIR/wisent/src/ncl_ncarg-5.0.0/ni/src/ncl'
I'm using a self-compiled flex-2.5.34. The ncl.l file has the following
content around line 262 (the line which begins with %a):
_NclResetScanner();
SetLine(line_numbers[loading]);
return(NhlFATAL);
}
}
%}
%a 4000
%o 4000
let [_a-zA-Z]
alnum [_a-zA-Z0-9]
white [\t ]
digit [0-9]
I don't know if it is relevant, but I'm also getting messages like
make[4]: Warning: File `Makefile' has modification time 2.4e+03 s in the
future
which I am unable to fix by 'touch'ing files (output of stat on these
files looks ok).
Best regards,
Jan Ploski
More information about the ncl-install
mailing list