Frama-C-discuss mailing list archives
This page gathers the archives of the old Frama-C-discuss archives, that was hosted by Inria's gforge before its demise at the end of 2020. To search for mails newer than September 2020, please visit the page of the new mailing list on Renater.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Frama-c-discuss] rama-c-Beryllium-20090902-why-2.21 make error File "ptests/ptests.ml", line 57, characters 6-15
- Subject: [Frama-c-discuss] rama-c-Beryllium-20090902-why-2.21 make error File "ptests/ptests.ml", line 57, characters 6-15
- From: pascal.cuoq at gmail.com (Pascal Cuoq)
- Date: Fri, 26 Mar 2010 08:50:01 +0100
- In-reply-to: <55ade88c1003251617g24782cd2s6c787608d4b5bfc3@mail.gmail.com>
- References: <55ade88c1003251617g24782cd2s6c787608d4b5bfc3@mail.gmail.com>
> I'm getting error below when running make; this is on CentOS5.3. How can I > resolve this error? thanks. > > [...] > Ocamlc?????? lib/plugins/Ltl_to_acsl.cmi > Packing????? lib/plugins/Ltl_to_acsl.cmo > Linking????? bin/toplevel.byte > make[1]: Entering directory `/root/frama-c-Beryllium-20090902-why-2.21' > Generating?? .depend > make[1]: Leaving directory `/root/frama-c-Beryllium-20090902-why-2.21' > make[1]: Entering directory `/root/frama-c-Beryllium-20090902-why-2.21' > Copying to?? bytecode kernel API > make[1]: Leaving directory `/root/frama-c-Beryllium-20090902-why-2.21' > Linking????? bin/ptests.byte > File "ptests/ptests.ml", line 57, characters 6-15: > Error: This expression has type > ???????? ?temp_dir:string -> string -> string -> string > ?????? but an expression was expected of type string -> string -> string > make: *** [bin/ptests.byte] Error 2 > [root at localhost frama-c-Beryllium-20090902-why-2.21]# You are compiling using the latest OCaml version, which was released after the last Frama-C distribution. Each new OCaml version introduces small changes that may break the compilation of existing programs. In this case, the fix is to change the function temp_file into: let temp_file = if Sys.os_type = "Win32" then fun a b -> let r = temp_file a b in cygpath r else fun a b -> temp_file a b Pascal
- Follow-Ups:
- [Frama-c-discuss] rama-c-Beryllium-20090902-why-2.21 make error File "ptests/ptests.ml", line 57, characters 6-15
- From: aintest3 at gmail.com (aintest3f aintest3l)
- [Frama-c-discuss] rama-c-Beryllium-20090902-why-2.21 make error File "ptests/ptests.ml", line 57, characters 6-15
- References:
- [Frama-c-discuss] rama-c-Beryllium-20090902-why-2.21 make error File "ptests/ptests.ml", line 57, characters 6-15
- From: aintest3 at gmail.com (aintest3f aintest3l)
- [Frama-c-discuss] rama-c-Beryllium-20090902-why-2.21 make error File "ptests/ptests.ml", line 57, characters 6-15
- Prev by Date: [Frama-c-discuss] rama-c-Beryllium-20090902-why-2.21 make error File "ptests/ptests.ml", line 57, characters 6-15
- Next by Date: [Frama-c-discuss] rama-c-Beryllium-20090902-why-2.21 make error File "ptests/ptests.ml", line 57, characters 6-15
- Previous by thread: [Frama-c-discuss] rama-c-Beryllium-20090902-why-2.21 make error File "ptests/ptests.ml", line 57, characters 6-15
- Next by thread: [Frama-c-discuss] rama-c-Beryllium-20090902-why-2.21 make error File "ptests/ptests.ml", line 57, characters 6-15
- Index(es):