caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Leonardo Laguna Ruiz <modlfo@gmail.com>
To: "Richard W.M. Jones" <rich@annexia.org>
Cc: caml-list@inria.fr
Subject: Re: [Caml-list] Error when compiling 4.02.2 in centos
Date: Mon, 29 Jun 2015 08:30:38 +0200	[thread overview]
Message-ID: <5590E60E.2010004@gmail.com> (raw)
In-Reply-To: <20150626202649.GD31462@annexia.org>

I kept digging and found that if I install the BDF library I don't get 
that error. Maybe having this library installed changes the build process.

Leonardo

On 2015-06-26 22:26, Richard W.M. Jones wrote:
> On Tue, Jun 23, 2015 at 02:30:56PM +0200, Leonardo Laguna Ruiz wrote:
>> Hi,
>>
>> I'm trying to compile ocaml 4.02.2 in a computer with centos 6.6 using opam
>> but I get the following error message:
>>
>>
>> ../boot/ocamlrun ../boot/ocamlc -nostdlib -I ../boot -c -strict-sequence -w
>> +27+32..39 -warn-error A -safe-string -I ../utils -I ../parsing -I ../typing
>> -I ../bytecomp -I ../asmcomp -I ../driver -I ../toplevel objinfo.ml
>> ../boot/ocamlrun ../boot/ocamlc -nostdlib -I ../boot -o objinfo
>> ../compilerlibs/ocamlcommon.cma ../compilerlibs/ocamlbytecomp.cma
>> ../asmcomp/printclambda.cmo objinfo.cmo
>> ../boot/ocamlrun ../boot/ocamlc -nostdlib -I ../boot -c -strict-sequence -w
>> +27+32..39 -warn-error A -safe-string -I ../utils -I ../parsing -I ../typing
>> -I ../bytecomp -I ../asmcomp -I ../driver -I ../toplevel
>> ../utils/warnings.ml
>> File "../utils/warnings.ml", line 219, characters 6-7:
>> Warning 27: unused variable c.
>> File "../utils/warnings.ml", line 363, characters 20-25:
>> Warning 27: unused variable slist.
>> File "../utils/warnings.ml", line 1:
>> *Error: Some fatal warnings were triggered (2 occurrences)*
> Somehow you're using -warn-error A.  Maybe opam added that?
>
> In any case I believe that the OCaml developers warn against turning
> every warning into an error, although I cannot find where I read that.
>
> Rich.
>


      reply	other threads:[~2015-06-29  6:30 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-06-23 12:30 Leonardo Laguna Ruiz
2015-06-26 20:26 ` Richard W.M. Jones
2015-06-29  6:30   ` Leonardo Laguna Ruiz [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5590E60E.2010004@gmail.com \
    --to=modlfo@gmail.com \
    --cc=caml-list@inria.fr \
    --cc=rich@annexia.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).