All of lore.kernel.org
 help / color / mirror / Atom feed
From: Avi Kivity <avi@qumranet.com>
To: James Pike <jpike@blaggart.com>
Cc: kvm-devel@lists.sourceforge.net
Subject: Re: Fwd: kernel module won't compile when using seperate build dir
Date: Sun, 11 May 2008 17:40:19 +0300	[thread overview]
Message-ID: <48270553.5080107@qumranet.com> (raw)
In-Reply-To: <821015720805070449u4490fc03p8da74be3f6fbbee@mail.gmail.com>

James Pike wrote:
> Sorry that doesn't work.
>
> This does.
>

> --- kvm/configure    2008-05-02 19:20:13.000000000 +0800
> +++ kvm.new/configure    2008-05-07 19:34:28.000000000 +0800
> @@ -2,6 +2,7 @@
>  
>  prefix=/usr/local
>  kerneldir=/lib/modules/$(uname -r)/build
> +kernelsrcdir=/lib/modules/$(uname -r)/source
>  cc=gcc
>  ld=ld
>  objcopy=objcopy

I don't think there is a guarantee that /source will be present, only 
/build.


-- 
error compiling committee.c: too many arguments to function


-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone

  reply	other threads:[~2008-05-11 14:40 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-05-07 10:40 kernel module won't compile when using seperate build dir James Pike
2008-05-07 11:25 ` Fwd: " James Pike
2008-05-07 11:49   ` James Pike
2008-05-11 14:40     ` Avi Kivity [this message]
2008-05-07 16:43 ` David Mair

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=48270553.5080107@qumranet.com \
    --to=avi@qumranet.com \
    --cc=jpike@blaggart.com \
    --cc=kvm-devel@lists.sourceforge.net \
    /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.