From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: Re: Fwd: kernel module won't compile when using seperate build dir Date: Sun, 11 May 2008 17:40:19 +0300 Message-ID: <48270553.5080107@qumranet.com> References: <821015720805070340y1184644cwa256ad2c92051fe1@mail.gmail.com> <821015720805070425k1256b1deq6db188de951fd4d8@mail.gmail.com> <821015720805070449u4490fc03p8da74be3f6fbbee@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: kvm-devel@lists.sourceforge.net To: James Pike Return-path: In-Reply-To: <821015720805070449u4490fc03p8da74be3f6fbbee@mail.gmail.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: kvm-devel-bounces@lists.sourceforge.net Errors-To: kvm-devel-bounces@lists.sourceforge.net List-Id: kvm.vger.kernel.org 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