caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Sachin Shah <zakaluka@gmail.com>
To: caml-list@yquem.inria.fr
Subject: Fwd: [Caml-list] Unison build problem
Date: Mon, 7 Feb 2005 10:51:06 -0800	[thread overview]
Message-ID: <388f6fcd0502071051527b6a7c@mail.gmail.com> (raw)
In-Reply-To: <388f6fcd05020710473f8b19a1@mail.gmail.com>

(Sorry, I replied to Christian only, initially)

Hi,

Here (http://lists.freebsd.org/pipermail/freebsd-ports/2004-July/014575.html)
is a patch that was released for unison 2.9.20 (the current stable is
only 2.9.1-r1 on gentoo).

The reason there is a problem is that these two are external
functions, and so their names have been prefixed with 'caml_', making
them caml_format_int and caml_format_float.  To fix, simply download
the sources using emerge (don't compile), effect the changes manually
since the patch is for freeBSD and may not work on Gentoo, and
continue the compilation.  It should work then.

Regards,

Sachin.

On Mon, 07 Feb 2005 18:44:07 +0100, Christian Szegedy
<szegedy@t-online.de> wrote:
> I try to build the stable unison with OCaml 3.08.2 on my Gentoo box and
> I have the following problem:
>
> ubase/uprintf.o(.text+0x29a): In function `camlUprintf__fun_144':
> : undefined reference to `format_int'
> ubase/uprintf.o(.text+0x2fa): In function `camlUprintf__fun_147':
> : undefined reference to `format_float'
> collect2: ld returned 1 exit status
>
> Does anyone know what could be the problem?
>
> _______________________________________________
> Caml-list mailing list. Subscription management:
> http://yquem.inria.fr/cgi-bin/mailman/listinfo/caml-list
> Archives: http://caml.inria.fr
> Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
> Bug reports: http://caml.inria.fr/bin/caml-bugs
>


      parent reply	other threads:[~2005-02-07 18:51 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-02-07 17:44 Christian Szegedy
2005-02-07 18:36 ` [Caml-list] " Bardur Arantsson
2005-02-07 21:08   ` Christian Szegedy
2005-02-08 18:58     ` N. Owen Gunden
     [not found] ` <388f6fcd05020710473f8b19a1@mail.gmail.com>
2005-02-07 18:51   ` Sachin Shah [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=388f6fcd0502071051527b6a7c@mail.gmail.com \
    --to=zakaluka@gmail.com \
    --cc=caml-list@yquem.inria.fr \
    /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).