[Cocci] 0.1.7 Compilation problems
ali-erdem.ozcan at st.com
Mon Apr 20 19:17:42 CEST 2009
Nicolas Palix wrote:
> Which version of OCaml are you using?
> Is it at least 3.10.0 ?
'ocamlc -v' returns 3.10.1
> On Monday 20 April 2009 18:13:47 Ali-Erdem OZCAN wrote:
>> I have some compilation problems with 0.1.7 that I couldn't manage to
>> 1. To start with, I found that coccinelle needs GNU make 3.81, but the
>> error message is not clear when another version of make is found.
>> 2. When the compilation starts with the correct version of make, it
>> stops with the following error:
>> > make -C ocamlsexp OCAMLCFLAGS=""
>> > ocamlc -thread -c parser.ml
>> > File "parser.ml", line 1, characters 0-1:
>> > Could not find the .cmi file for interface parser.mli.
>> If I compile the parser.mli manually 'camlc -thread -c parser.mli'
>> the compilation gets a bit further.
>> 3. Then it stops with
>> > ocamlc -g -dtypes -thread -pp cpp -c pre_sexp.ml
>> > pre_sexp.ml:83:14: missing terminating ' character
>> > pre_sexp.ml:84:35: missing terminating ' character
>> > pre_sexp.ml:86:30: missing terminating ' character
>> > pre_sexp.ml:123:16: missing terminating ' character
>> > pre_sexp.ml:124:37: missing terminating ' character
>> > pre_sexp.ml:126:34: missing terminating ' character
>> > pre_sexp.ml:223:52: missing terminating ' character
>> > Preprocessor error
>> Are those errors related with my configuration or anyone else encounters
>> them? Some help would be appreciated to get the version 0.1.7 compiled.
>> Thanks in advance,
>> Cocci mailing list
>> Cocci at diku.dk
>> (Web access from inside DIKUs LAN only)
More information about the Cocci