Version française
Home     About     Download     Resources     Contact us    
Browse thread
Unison build problem
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Sachin Shah <zakaluka@g...>
Subject: Fwd: [Caml-list] Unison build problem
(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
>