[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] Re: Kernel module compilation


  • To: "Ian Campbell" <Ian.Campbell@xxxxxxxxxxxxx>
  • From: "David Pilger" <pilger.david@xxxxxxxxx>
  • Date: Wed, 4 Apr 2007 21:07:36 +0300
  • Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
  • Delivery-date: Wed, 04 Apr 2007 11:07:10 -0700
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=YcOEHC96FQtvXSTJd7/ujFw0NMpRQr2BuMC6ogqhYo0KSUB6AxJJxSbYrKjgqXtfplMtQixU4p0baLGA4HYTrViXlhsfuiusFZzasdZ5kpmFF+LwSRD9soIf8qIVxfQEDZtIBd1eCdGOWZiwWcIQb92r/8EkTgsietuKCb3eb5o=
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

Thanks for your help,
It didn't work...

This is the error I got ->
----
Makefile:107: *** output directory
"../../../build-linux-2.6.18-xen_x86_32/" does not exist.  Stop.
----

And without the "O=...", using "M=..." instead of "SUBDIRS=..." gives
the same error as before.

Any ideas?
Thanks!

On 4/4/07, Ian Campbell <Ian.Campbell@xxxxxxxxxxxxx> wrote:
On Wed, 2007-04-04 at 19:11 +0300, David Pilger wrote:
> Sorry for the dumb question, but all these compilations are killing me :)
> I cd into my modue directory inside linux-2.6.18-xen
> and executed - "make -C path/to/kernel/src SUBDIRS=$PWD modules"
>
> The error I get is -
> ----
> /work/xen/linux-2.6.18-xen/scripts/Makefile.modpost:38:
> include/config/auto.conf: No such file or directory
> make[1]: *** No rule to make target `include/config/auto.conf'.  Stop.
> make: *** [modules] Error 2
> ----
>
> while autoconf.h can be found at the directory -> 
build-linux-2.6.18-xen_x86...
> under include/linux/autoconf.h
>
> Do you know how can I recompile just my single driver?

Not sure but try adding O=/path/to/build-linux-2.6.18-xen_x86 to your
existing command line.

It's more normal to use M=$PWD rather than SUBDIRS=$PWD but I don't know
if that is related and I think both work ok.

Ian.

>
> Thanks in advance,
> David.
>
> On 3/29/07, David Pilger <pilger.david@xxxxxxxxx> wrote:
> > Hello all,
> > How can I build just a single kernel module from the linux-xen sources.
> >  for instance, compile just the xen kernel modules directory...
> >
> > Thanks,
> > David.
> >
>
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-devel



_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.