From mboxrd@z Thu Jan 1 00:00:00 1970 From: Vincent Hanquez Subject: Re: ocaml build error Date: Thu, 6 May 2010 22:36:55 +0100 Message-ID: <4BE33677.1070907@eu.citrix.com> References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------010106030909030203070706" Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Keir Fraser Cc: "xen-devel@lists.xensource.com" , Ian Jackson List-Id: xen-devel@lists.xenproject.org --------------010106030909030203070706 Content-Type: text/plain; charset="ISO-8859-1"; format=flowed Content-Transfer-Encoding: 7bit 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 --------------010106030909030203070706 Content-Type: text/plain; name="patch-fix-relative-path" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="patch-fix-relative-path" 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 --------------010106030909030203070706 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --------------010106030909030203070706--