All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ryan Harper <ryanh-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
To: Cam Macdonell <cam-edFDblaTWIyXbbII50Afww@public.gmane.org>
Cc: kvm-devel
	<kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org>,
	Avi Kivity <avi-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
Subject: Re: [ANNOUNCE] kvm-55 release
Date: Tue, 4 Dec 2007 14:51:25 -0600	[thread overview]
Message-ID: <20071204205124.GJ10803@us.ibm.com> (raw)
In-Reply-To: <4755A55A.4010803-edFDblaTWIyXbbII50Afww@public.gmane.org>

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

* Cam Macdonell <cam-edFDblaTWIyXbbII50Afww@public.gmane.org> [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

[-- Attachment #2: fix_make_sync.patch --]
[-- Type: text/plain, Size: 436 bytes --]

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` "$$@"

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

-------------------------------------------------------------------------
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

[-- Attachment #4: Type: text/plain, Size: 186 bytes --]

_______________________________________________
kvm-devel mailing list
kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
https://lists.sourceforge.net/lists/listinfo/kvm-devel

  parent reply	other threads:[~2007-12-04 20:51 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-12-04 13:49 [ANNOUNCE] kvm-55 release Avi Kivity
     [not found] ` <47555ADD.1000304-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
2007-12-04 19:07   ` Cam Macdonell
     [not found]     ` <4755A55A.4010803-edFDblaTWIyXbbII50Afww@public.gmane.org>
2007-12-04 20:51       ` Ryan Harper [this message]
     [not found]         ` <20071204205124.GJ10803-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
2007-12-04 23:03           ` Cam Macdonell
2007-12-05 10:22           ` Avi Kivity
2007-12-05 11:58   ` Haydn Solomon
     [not found]     ` <b75785ba0712050358i71ad3e35vbc9365a100c6d472-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2007-12-05 12:36       ` Izik Eidus

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=20071204205124.GJ10803@us.ibm.com \
    --to=ryanh-r/jw6+rmf7hqt0dzr+alfa@public.gmane.org \
    --cc=avi-atKUWr5tajBWk0Htik3J/w@public.gmane.org \
    --cc=cam-edFDblaTWIyXbbII50Afww@public.gmane.org \
    --cc=kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org \
    /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.