From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ryan Harper Subject: Re: [ANNOUNCE] kvm-55 release Date: Tue, 4 Dec 2007 14:51:25 -0600 Message-ID: <20071204205124.GJ10803@us.ibm.com> References: <47555ADD.1000304@qumranet.com> <4755A55A.4010803@cs.ualberta.ca> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="qFgkTsE6LiHkLPZw" Cc: kvm-devel , Avi Kivity To: Cam Macdonell Return-path: Content-Disposition: inline In-Reply-To: <4755A55A.4010803-edFDblaTWIyXbbII50Afww@public.gmane.org> 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 --qFgkTsE6LiHkLPZw Content-Type: text/plain; charset=us-ascii Content-Disposition: inline * Cam Macdonell [2007-12-04 13:08]: > > Hi Avi, > > I'm having a problem with "unifdef" target in the > kvm-userspace/kernel/Makefile: > > cam@madhatter:~/src/KVM/kvm-userspace$ make -C kernel sync > LINUX=~/src/KVM/kvm > make: Entering directory `/home/cam/src/KVM/kvm-userspace/kernel' > rsync --exclude='*.mod.c' "/home/cam/src/KVM/kvm"/drivers/kvm/*.[ch] . > rsync "/home/cam/src/KVM/kvm"/include/linux/kvm.h \ > "/home/cam/src/KVM/kvm"/include/linux/kvm_para.h \ > include/linux > rsync "/home/cam/src/KVM/kvm"/include/asm-x86/kvm_para.h include/asm > rsync "/home/cam/src/KVM/kvm"/include/asm-x86/kvm.h include/asm > mv include/linux/kvm.h include/linux/kvm.h.orig && unifdef > -DCONFIG_X86 include/linux/kvm.h.orig > include/linux/kvm.h; (( $? <= > 1 )) && rm include/linux/kvm.h.orig > /bin/sh: unifdef: not found > /bin/sh: cannot open =: No such file > /bin/sh: 127: not found > make: *** [sync] Error 127 > make: Leaving directory `/home/cam/src/KVM/kvm-userspace/kernel' I needed to install the unifdef binary (apt-get install unifdef) and then apply the attached patch to get make LINUX= sync working again. -- Ryan Harper Software Engineer; Linux Technology Center IBM Corp., Austin, Tx (512) 838-9253 T/L: 678-9253 ryanh-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org --qFgkTsE6LiHkLPZw Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="fix_make_sync.patch" diff --git a/kernel/Makefile b/kernel/Makefile index 22326b2..782685e 100644 --- a/kernel/Makefile +++ b/kernel/Makefile @@ -18,7 +18,7 @@ hack = mv $1 $1.orig && \ | sed 's/\blapic\b/l_apic/g' > $1 && rm $1.orig unifdef = mv $1 $1.orig && \ - unifdef -DCONFIG_X86 $1.orig > $1; (( $$? <= 1 )) && rm $1.orig + unifdef -DCONFIG_X86 $1.orig > $1; [ $$? -le 1 ] && rm $1.orig all:: $(MAKE) -C $(KERNELDIR) M=`pwd` "$$@" --qFgkTsE6LiHkLPZw Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ------------------------------------------------------------------------- SF.Net email is sponsored by: The Future of Linux Business White Paper from Novell. From the desktop to the data center, Linux is going mainstream. Let it simplify your IT future. http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4 --qFgkTsE6LiHkLPZw Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ kvm-devel mailing list kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org https://lists.sourceforge.net/lists/listinfo/kvm-devel --qFgkTsE6LiHkLPZw--