From: Keir Fraser Subject: Re: Help with 3.4.x compilation problem Date: Thu, 29 Apr 2010 05:26:26 -0700 Message-ID: References: <4BD8DCC1.9050409@oracle.com> Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <4BD8DCC1.9050409@oracle.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Mick Jordan , "xen-devel@lists.xensource.com" Cc: "Derek.Murray@cl.cam.ac.uk" List-Id: xen-devel@lists.xenproject.org On 28/04/2010 18:11, "Mick Jordan" wrote: > > I've searched the source tree and indeed cannot find any directory named > foreign. However, I can find some directories containing the pattern > foreign, e.g., tools/include/xen-foreign, so I am guessing that some > symbolic link hackery is done in a normal build that sets this up. I say > "normal" because, for various reasons, I do not build my mini-os variant > inside the Xen tree but rather refer to it via an environment variable. > This worked fine in 3.1.4. You need -I/import/xen/xen-3.4.2/tools/include in your CFLAGS, and at some point previously you need to have done 'make' inside that directory, in order to have set up the necessary symlinks. -- Keir