All of lore.kernel.org
 help / color / mirror / Atom feed
From: Vincent Hanquez <vincent.hanquez@eu.citrix.com>
To: Keir Fraser <keir.fraser@eu.citrix.com>
Cc: "xen-devel@lists.xensource.com" <xen-devel@lists.xensource.com>,
	Ian Jackson <Ian.Jackson@eu.citrix.com>
Subject: Re: ocaml build error
Date: Thu, 6 May 2010 22:36:55 +0100	[thread overview]
Message-ID: <4BE33677.1070907@eu.citrix.com> (raw)
In-Reply-To: <C808A921.136BB%keir.fraser@eu.citrix.com>

[-- Attachment #1: Type: text/plain, Size: 384 bytes --]

On 06/05/10 17:13, Keir Fraser wrote:
> If the build doesn't get fixed then the corrcet thing to do will be to
> disable build of the ocaml components by default.

It's stale build instructions that happens to still work for me since 
i've got some env set for all my old repos. the following patch fix it.

Signed-off-by: Vincent Hanquez <vincent.hanquez@eu.citrix.com>

-- 
Vincent

[-- Attachment #2: patch-fix-relative-path --]
[-- Type: text/plain, Size: 601 bytes --]

diff --git a/tools/ocaml/common.make b/tools/ocaml/common.make
index 3b14dfb..5f3579a 100644
--- a/tools/ocaml/common.make
+++ b/tools/ocaml/common.make
@@ -8,9 +8,7 @@ OCAMLYACC ?= ocamlyacc
 
 CFLAGS ?= -Wall -fPIC -O2
 
-XEN_ROOT ?= $(TOPLEVEL)/../xen-unstable.hg
-XEN_DIST_ROOT ?= $(XEN_ROOT)/dist/install
-CFLAGS += -I$(XEN_DIST_ROOT)/usr/include
+CFLAGS += -I$(TOPLEVEL)/../include -I$(TOPLEVEL)/../libxc
 
 OCAMLOPTFLAG_G := $(shell $(OCAMLOPT) -h 2>&1 | sed -n 's/^  *\(-g\) .*/\1/p')
 OCAMLOPTFLAGS = $(OCAMLOPTFLAG_G) -ccopt "$(LDFLAGS)" -dtypes $(OCAMLINCLUDE) -cc $(CC) -w F -warn-error F

[-- Attachment #3: Type: text/plain, Size: 138 bytes --]

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel

  reply	other threads:[~2010-05-06 21:36 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-05-06 15:38 ocaml build error Ian Jackson
2010-05-06 15:49 ` Ian Jackson
2010-05-06 16:03 ` Keir Fraser
2010-05-06 16:05   ` Ian Jackson
2010-05-06 16:13     ` Keir Fraser
2010-05-06 21:36       ` Vincent Hanquez [this message]
2010-05-07  0:56         ` Jeremy Fitzhardinge
2010-05-07  6:50           ` Vincent Hanquez
2010-05-07 17:11             ` Ian Jackson
2010-05-07 18:10               ` Keir Fraser
  -- strict thread matches above, loose matches on Subject: below --
2010-05-25  9:25 Christoph Egger
2010-05-25  9:54 ` Keir Fraser

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4BE33677.1070907@eu.citrix.com \
    --to=vincent.hanquez@eu.citrix.com \
    --cc=Ian.Jackson@eu.citrix.com \
    --cc=keir.fraser@eu.citrix.com \
    --cc=xen-devel@lists.xensource.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.