From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Delivered-To: caml-list@yquem.inria.fr Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by yquem.inria.fr (Postfix) with ESMTP id C5C6DBC88 for ; Mon, 7 Feb 2005 19:51:10 +0100 (CET) Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.204]) by concorde.inria.fr (8.13.0/8.13.0) with ESMTP id j17Ip9sW031583 for ; Mon, 7 Feb 2005 19:51:10 +0100 Received: by wproxy.gmail.com with SMTP id 69so830597wri for ; Mon, 07 Feb 2005 10:51:06 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=HDep8lZTadzk81O2Ek+lPb0fvcKAGnYVSB+n00NDQUkz6zTbXhpRoik296XCAkCn0hD5OarSf/Hpe5W74duYnVHQoxYjC/4hiRIcMsO6bAU5mEcd2JRe+3dbpRyXlE9SitzUdiJLTGrdYTE5GhUkA9X+djnCPq2wyRJCcAeSehQ= Received: by 10.54.43.11 with SMTP id q11mr173845wrq; Mon, 07 Feb 2005 10:51:06 -0800 (PST) Received: by 10.54.28.71 with HTTP; Mon, 7 Feb 2005 10:51:06 -0800 (PST) Message-ID: <388f6fcd0502071051527b6a7c@mail.gmail.com> Date: Mon, 7 Feb 2005 10:51:06 -0800 From: Sachin Shah Reply-To: Sachin Shah To: caml-list@yquem.inria.fr Subject: Fwd: [Caml-list] Unison build problem In-Reply-To: <388f6fcd05020710473f8b19a1@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit References: <4207A8E7.4090103@t-online.de> <388f6fcd05020710473f8b19a1@mail.gmail.com> X-Miltered: at concorde with ID 4207B89E.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Spam: no; 0.00; caml-list:01 gentoo:01 gentoo:01 compilation:01 wrote:01 ocaml:01 int':01 caml-list:01 beginner's:01 ocaml:01 beginners:01 bug:01 compile:01 functions:01 bin:01 X-Spam-Checker-Version: SpamAssassin 3.0.2 (2004-11-16) on yquem.inria.fr X-Spam-Status: No, score=0.0 required=5.0 tests=RCVD_BY_IP autolearn=disabled version=3.0.2 X-Spam-Level: (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 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 >