From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on yquem.inria.fr X-Spam-Level: X-Spam-Status: No, score=0.3 required=5.0 tests=AWL autolearn=disabled version=3.1.3 X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from mail4-relais-sop.national.inria.fr (mail4-relais-sop.national.inria.fr [192.134.164.105]) by yquem.inria.fr (Postfix) with ESMTP id 74238BBC4 for ; Thu, 16 Apr 2009 18:50:46 +0200 (CEST) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApgDAFr+5kmK54gDgWdsb2JhbACWJgEBFiK6foN9Bg X-IronPort-AV: E=Sophos;i="4.40,198,1238968800"; d="scan'208";a="38595184" Received: from rouge.crans.org ([138.231.136.3]) by mail4-smtp-sop.national.inria.fr with ESMTP/TLS/ADH-AES256-SHA; 16 Apr 2009 18:50:46 +0200 Received: from localhost (localhost.crans.org [127.0.0.1]) by rouge.crans.org (Postfix) with ESMTP id 29BED8443; Thu, 16 Apr 2009 18:53:51 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at crans.org Received: from rouge.crans.org ([10.231.136.3]) by localhost (rouge.crans.org [10.231.136.3]) (amavisd-new, port 10024) with LMTP id KGvzrU6A09CI; Thu, 16 Apr 2009 18:53:51 +0200 (CEST) Received: from [88.185.141.188] (korell.glondu.net [88.185.141.188]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by rouge.crans.org (Postfix) with ESMTP id D66798380; Thu, 16 Apr 2009 18:53:50 +0200 (CEST) Message-ID: <49E761F3.9030004@glondu.net> Date: Thu, 16 Apr 2009 18:50:59 +0200 From: =?UTF-8?B?U3TDqXBoYW5lIEdsb25kdQ==?= User-Agent: Mozilla-Thunderbird 2.0.0.19 (X11/20090103) MIME-Version: 1.0 To: Joel Reymont Cc: caml-list Subject: Re: [Caml-list] cvs ocaml build failing References: <49E759C8.2020701@glondu.net> In-Reply-To: X-Enigmail-Version: 0.95.0 OpenPGP: id=FCE03DAA Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Spam: no; 0.00; cvs:01 ocaml:01 otherlibs:01 libunix:01 libunix:01 otherlibs:01 compilation:01 ocamlrun:01 ocamlc:01 -nostdlib:01 -linkall:01 ocaml:01 toplevel:01 toplevellib:01 toplevel:01 Joel Reymont a =C3=A9crit : >> That would be my fault (I guess). See PR#3047. I haven't tested the >> patch with the ocamlbuild-based build system, but I guess "initgroups.= o" >> and "setgroups.o" are missing from otherlibs/unix/libunix.clib... Coul= d >> you check that updating libunix.clib solves your build failure? >=20 > How do I check? Add initgroups.o and setgroups.o in otherlibs/unix/libunix.clib, then launch again the compilation. > BTW, there was another error with regular make process. >=20 > boot/ocamlrun boot/ocamlc -nostdlib -I boot -linkall -o ocaml.tmp > toplevel/toplevellib.cma toplevel/topstart.cmo > File "_none_", line 1, characters 0-1: > Error: Error while linking boot/stdlib.cma(Pervasives): > The external function `caml_log1p_float' is not available > make[1]: *** [ocaml] Error 2 It seems that -lm is missing in BYTECCLIBS and/or NATIVECCLIBS (see config/Makefile). However, the ./configure script should have done this for you. This might be worth a bugreport. Please pay attention and don't mix both build systems: either use make or ocamlbuild, but don't run make after having used ocamlbuild nor vice-versa. To be sure, start from a fresh CVS checkout. Cheers, --=20 St=C3=A9phane