From: Ian Campbell Subject: Re: [PATCH v4 23/27] libxl: ocaml: add VM lifecycle operations Date: Tue, 12 Nov 2013 14:16:05 +0000 Message-ID: <1384265765.10204.6.camel@kazak.uk.xensource.com> References: <1383760205-20397-1-git-send-email-rob.hoes@citrix.com> <1383760205-20397-24-git-send-email-rob.hoes@citrix.com> <1384181451.19117.41.camel@kazak.uk.xensource.com> <360717C0B01E6345BCBE64B758E22C2D16EBF1@AMSPEX01CL03.citrite.net> <1384185504.19117.65.camel@kazak.uk.xensource.com> <360717C0B01E6345BCBE64B758E22C2D16F7D3@AMSPEX01CL03.citrite.net> <1384264498.1883.61.camel@kazak.uk.xensource.com> <360717C0B01E6345BCBE64B758E22C2D16F960@AMSPEX01CL03.citrite.net> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <360717C0B01E6345BCBE64B758E22C2D16F960@AMSPEX01CL03.citrite.net> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Rob Hoes Cc: Ian Jackson , Dave Scott , "xen-devel@lists.xen.org" List-Id: xen-devel@lists.xenproject.org On Tue, 2013-11-12 at 14:09 +0000, Rob Hoes wrote: > > On Tue, 2013-11-12 at 12:27 +0000, Rob Hoes wrote: > > > As far as I can see, the code is in Wheezy's > > > ocaml-nox_3.12.1-4_amd64.deb, in the file > > > /usr/lib/ocaml/caml/memory.h. Have you got that package? > > > > Ah, I was only grepping under /usr/include/ocaml of course! > > > > I suppose some magic in the ocamlc compiler adds this path to the search > > path? > > Well, we do the following, which is supposed to include all those macros: > #include > > So is it working for you now? Uh, yes, I see it now. I've no idea how I missed it yesterday. Oh. /usr/include/ocaml is a symlink to /usr/lib/ocaml/caml and for some reason "grep CAMLreturnT /usr/include" doesn't recurse into it, whereas "grep CAMLreturnT /usr/include/caml" does! How odd! Sorry for the noise. Ian.