caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* Unison build problem
@ 2005-02-07 17:44 Christian Szegedy
  2005-02-07 18:36 ` [Caml-list] " Bardur Arantsson
       [not found] ` <388f6fcd05020710473f8b19a1@mail.gmail.com>
  0 siblings, 2 replies; 5+ messages in thread
From: Christian Szegedy @ 2005-02-07 17:44 UTC (permalink / raw)
  To: caml-list

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?


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [Caml-list] Unison build problem
  2005-02-07 17:44 Unison build problem Christian Szegedy
@ 2005-02-07 18:36 ` Bardur Arantsson
  2005-02-07 21:08   ` Christian Szegedy
       [not found] ` <388f6fcd05020710473f8b19a1@mail.gmail.com>
  1 sibling, 1 reply; 5+ messages in thread
From: Bardur Arantsson @ 2005-02-07 18:36 UTC (permalink / raw)
  To: caml-list

On Mon, Feb 07, 2005 at 06:44:07PM +0100, Christian Szegedy 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?

Are you using the ebuild? If you're not, please do. If you are, it should
automatically patch unison.

In any case: When using Gentoo it is always a good idea to search their
bugzilla before asking others about build problems... A simple search for
"unison" would have sufficed in this case.

-- 
Bardur Arantsson
<bardur@imada.sdu.dk>
<bardur@scientician.net>

- Slow down, sir! You're going to give yourself skin failure!
                                          Dr. Nick | The Simpsons


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Fwd: [Caml-list] Unison build problem
       [not found] ` <388f6fcd05020710473f8b19a1@mail.gmail.com>
@ 2005-02-07 18:51   ` Sachin Shah
  0 siblings, 0 replies; 5+ messages in thread
From: Sachin Shah @ 2005-02-07 18:51 UTC (permalink / raw)
  To: caml-list

(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
>


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [Caml-list] Unison build problem
  2005-02-07 18:36 ` [Caml-list] " Bardur Arantsson
@ 2005-02-07 21:08   ` Christian Szegedy
  2005-02-08 18:58     ` N. Owen Gunden
  0 siblings, 1 reply; 5+ messages in thread
From: Christian Szegedy @ 2005-02-07 21:08 UTC (permalink / raw)
  To: caml-list

Bardur Arantsson wrote:

>On Mon, Feb 07, 2005 at 06:44:07PM +0100, Christian Szegedy wrote:
>
>In any case: When using Gentoo it is always a good idea to search their
>bugzilla before asking others about build problems... A simple search for
>"unison" would have sufficed in this case.
>  
>
You are right, I too quick on posting.  However, I did not use
emerge as I have my own version OCaml. I simply tried to
compile unision manually, and I failed to compile the GKT
GUI, but I do not want to annoy the list anymore.


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [Caml-list] Unison build problem
  2005-02-07 21:08   ` Christian Szegedy
@ 2005-02-08 18:58     ` N. Owen Gunden
  0 siblings, 0 replies; 5+ messages in thread
From: N. Owen Gunden @ 2005-02-08 18:58 UTC (permalink / raw)
  To: Christian Szegedy; +Cc: caml-list

On Mon, Feb 07, 2005 at 10:08:15PM +0100, Christian Szegedy wrote:
> You are right, I too quick on posting.  However, I did not use
> emerge as I have my own version OCaml. I simply tried to
> compile unision manually, and I failed to compile the GKT
> GUI, but I do not want to annoy the list anymore.

I run gentoo and use O'Caml and unison regularly.  I have found that
installing O'Caml and unison through GODI works better than using the
ebuilds OR doing it yourself.

Cheers,
Owen


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2005-02-08 18:58 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-02-07 17:44 Unison build problem 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   ` Fwd: " Sachin Shah

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).