[Cocci] 0.1.7 Compilation problems

Ali-Erdem OZCAN ali-erdem.ozcan at st.com
Mon Apr 20 20:20:33 CEST 2009


Julia Lawall wrote:
> On Mon, 20 Apr 2009, Ali-Erdem OZCAN wrote:
>
>   
>> Nicolas Palix wrote:
>>     
>>> On Monday 20 April 2009 19:17:42 Ali-Erdem OZCAN wrote:
>>>   
>>>       
>>>> Nicolas Palix wrote:
>>>>     
>>>>         
>>>>> Hi,
>>>>>
>>>>> Which version of OCaml are you using?
>>>>> Is it at least 3.10.0 ?
>>>>>
>>>>>   
>>>>>       
>>>>>           
>>>> 'ocamlc -v' returns 3.10.1
>>>>     
>>>>         
>>> This version is known to work.
>>>
>>> Could you try a fresh compilation from the tarball with
>>>
>>> ./configure && make depend && make world
>>>
>>>   
>>>       
>> Unfortunately, I get many of these "missing terminating ' character" errors
>> during the 'make depend'.
>> And the version of my ocamldep is still  3.10.1.
>> Any ideas?
>>     
>
> Are you quite sure that they are errors and not warnings?
>
> 3.10.0 gives warnings and 3.10.2 does not complain at all.  I don't have 
> 3.10.1...
>
> julia
>   
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,

Erdem


More information about the Cocci mailing list