[Cocci] 0.1.7 Compilation problems

Lionel Debroux lionel_debroux at yahoo.fr
Mon Apr 20 20:51:48 CEST 2009


Hi Erdem,

> > Indeed, the above problem seems to be related to cpp, not to
> > ocaml. I was using gcc 3.3.4, but when I switched to 4.3.2,
> > those messages became warnings, as yours.
> >
> > Now, I get an error message because of the absence of menhir. I
> > thought it was optional, but I'll install it before going further.
> >
> > Thanks for the support,
> I confirm that my problem was related to the version of gcc. The use
> of 3.3.4 was the source of those errors. Maybe, I is worth to add
> this information in the docs.
> 
> By the way, I didn't find how to install coccinelle without menhir
> (is there a configure option??). So I installed it with menhir.
That happened to me too earlier today, after I ran `make clean`.
I solved the problem by removing the coccinelle-0.1.7 folder and
re-creating it from the coccinelle 0.1.7 tarball.


Lionel.



More information about the Cocci mailing list