From: Ian Campbell Subject: Re: 4.4.0-rc3 tagged Date: Mon, 10 Feb 2014 09:55:41 +0000 Message-ID: <1392026141.5117.10.camel@kazak.uk.xensource.com> References: <21227.37769.599789.521146@mariner.uk.xensource.com> <52EC2C9C.9090202@terremark.com> <21231.33273.164782.738071@mariner.uk.xensource.com> <52F425AD.50209@terremark.com> <1391767501.2162.20.camel@kazak.uk.xensource.com> <52F5082E.6010207@terremark.com> <52F509F3.1000806@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta4.messagelabs.com ([85.158.143.247]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1WCnac-0000sM-EP for xen-devel@lists.xenproject.org; Mon, 10 Feb 2014 09:55:46 +0000 In-Reply-To: <52F509F3.1000806@citrix.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Andrew Cooper Cc: Stefano Stabellini , Ian Jackson , Rob Hoes , Don Slutz , xen-devel@lists.xenproject.org, Roger Pau Monne List-Id: xen-devel@lists.xenproject.org On Fri, 2014-02-07 at 16:29 +0000, Andrew Cooper wrote: > On 07/02/14 16:22, Don Slutz wrote: > > On 02/07/14 05:05, Ian Campbell wrote: > >> On Thu, 2014-02-06 at 19:15 -0500, Don Slutz wrote: > >>>>>> cc1: warnings being treated as errors > >>>>>> xenlight_stubs.c: In function 'Defbool_val': > >>>>>> xenlight_stubs.c:344: warning: implicit declaration of function > >>>>>> 'CAMLreturnT' > >>>>>> xenlight_stubs.c:344: error: expected expression before > >>>>>> 'libxl_defbool' > >>>>>> xenlight_stubs.c: In function 'String_option_val': > >>>>>> xenlight_stubs.c:379: error: expected expression before 'char' > >>>>>> xenlight_stubs.c: In function 'aohow_val': > >>>>>> xenlight_stubs.c:440: error: expected expression before > >>>>>> 'libxl_asyncop_how' > >>> Any idea on what to do about ocaml issue? > >> My guess is that your ocaml is too old and doesn't supply CAMLreturnT. > >> What version do you have? > >> > >> Ian. > >> > > dcs-xen-53:~>ocaml -version > > The Objective Caml toplevel, version 3.09.3 > > > > -Don Slutz > > > > Which, according to google, was introduced in 3.09.4 > > I think the ./configure script needs a min version check. Yes, I think so too. Rob, could you advise on a suitable minimum and perhaps patch tools/configure.ac and/or m4/ocaml.m4 as necessary. Also CCing Roger who added the ocaml autoconf stuff. > Applying the top macro from > http://docs.camlcity.org/docs/godisrc/oasis-ocaml-fd-1.1.1.tar.gz/ocaml-fd-1.1.1/lib/fd_stubs.c > as a compatibility hack might also be a good idea. Not a bad idea. Ian.