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

Re: [Xen-users] Kernel Headers for Xen Kernel

> Some background: I´m trying to compile a few special modules (ibmsmb, 
> for the IBM Director Agent, and zaphfc, for HFC-based ISDN cards, in 
> case anyone is interested) and their Makefiles assume the presence of 
> kernel source header files in case they are build against a 2.6
> kernel.  That is, some meaningful code in /lib/modules/`uname 
> -r`/build/include/linux...
/lib/modules/`uname -r`/build is often just a symlink to wherever you
built the kernel from and this is good enough for most uses, but if the
machine you're compiling on isn't the machine you're going to be running
the kernel from, or if you want to get rid of your kernel sources, you
really do need the kernel_headers package.

> Trying to build a kernel package using
> make-kpkg --added patches=xen --config=menuconfig --arch=xen 
> --subarch=xen --revision=xenserver.0.1 kernel-image
> works just fine
That's a surprise. Shouldn't it be --added-patches instead of --added
patches? I assume this is a typo in copying out the command to the mail,
but if not, it looks like you have other things to worry about :->

Note that make-kpkg has other problems with Xen:

Sorry I couldn't be of more help,

There may come a time                           The open palm of desire,
When I will lose you,  ]http://surreal.istic.org/[  The rose of Jericho,
Lose you as I lose my sight,                     Soil as soft as Summer,
Days falling backward into velvet night;     The strength to let you go.

Attachment: pgpgNXOlRmgOw.pgp
Description: PGP signature

Xen-users mailing list



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