From mboxrd@z Thu Jan 1 00:00:00 1970 From: Cam Macdonell Subject: Re: [PATCH] [RESEND] Move libkvm (v2) Date: Wed, 31 Oct 2007 11:10:05 -0600 Message-ID: <4728B6ED.8080502@cs.ualberta.ca> References: <45227892356863ce29e9.1193719433@basalt> <4728A8C0.6030807@cs.ualberta.ca> <1193849820.31610.17.camel@basalt> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org, avi-atKUWr5tajBWk0Htik3J/w@public.gmane.org To: Hollis Blanchard Return-path: In-Reply-To: <1193849820.31610.17.camel@basalt> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: kvm-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org Errors-To: kvm-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org List-Id: kvm.vger.kernel.org Hollis Blanchard wrote: > I think the KERNELDIR change is a red herring: you probably ran > configure with different arguments. Hi Hollis, The only one I run with is --prefix. It seems Avi latest patches fix the problem (although I'm not sure how): With Avi's latest changes, this now the compile line for libkvm.o. gcc -MMD -MF ./.libkvm.d -g -fomit-frame-pointer -Wall -fno-stack-protector -I /compsci/brule7/cshome/cam/research/KVM/kvm-userspace/kernel/include -c -o libkvm.o libkvm.c Thanks for your reply, Cam > I notice that the kvm-49 build line below is missing -m64. Try this: > > diff --git a/libkvm/config-x86_64.mak b/libkvm/config-x86_64.mak > --- a/libkvm/config-x86_64.mak > +++ b/libkvm/config-x86_64.mak > @@ -1,2 +1,5 @@ > > LIBDIR := /lib64 > + > +CFLAGS += -m64 > +CFLAGS += -D__x86_64__ > > ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/