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: aintest3 at gmail.com (aintest3f aintest3l)
- Date: Fri, 26 Mar 2010 17:08:20 -0700
- In-reply-to: <b15d09071003260050n2922ebfl48d0b3e0ccc0d59b@mail.gmail.com>
- References: <55ade88c1003251617g24782cd2s6c787608d4b5bfc3@mail.gmail.com> <b15d09071003260050n2922ebfl48d0b3e0ccc0d59b@mail.gmail.com>
Thanks for the reply. make completed without error, however make install is giving errors like below: cp: cannot stat `lib/plugins/Pdg.o': No such file or directory cp: cannot stat `lib/plugins/Scope.o': No such file or directory cp: cannot stat `lib/plugins/Sparecode.o': No such file or directory cp: cannot stat `lib/plugins/Slicing.o': No such file or directory cp: cannot stat `src/kernel/boot.o': No such file or directory make[1]: *** [install-kernel-opt] Error 1 make[1]: Leaving directory `/root/frama-c-Beryllium-20090902-why-2.21' make: *** [install] Error 2 [root at localhost frama-c-Beryllium-20090902-why-2.21]# I'm compiling this on a linux CentOS 5.3 Thanks! On Fri, Mar 26, 2010 at 12:50 AM, Pascal Cuoq <pascal.cuoq at gmail.com> wrote: > > 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 > > _______________________________________________ > Frama-c-discuss mailing list > Frama-c-discuss at lists.gforge.inria.fr > http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/frama-c-discuss > -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.gforge.inria.fr/pipermail/frama-c-discuss/attachments/20100326/abd62ea0/attachment.htm>
- Follow-Ups:
- [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)
- [Frama-c-discuss] rama-c-Beryllium-20090902-why-2.21 make error File "ptests/ptests.ml", line 57, characters 6-15
- From: Julien.Signoles at cea.fr (Julien Signoles)
- [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
- From: pascal.cuoq at gmail.com (Pascal Cuoq)
- [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):