From: Laurent V. <Lau...@bu...> - 2008-01-15 16:03:33
|
Le mardi 15 janvier 2008 =C3=A0 15:49 +0000, Christoph Hellwig a =C3=A9crit= : > On Mon, Jan 07, 2008 at 03:25:50PM +0100, Laurent Vivier wrote: > > > Perhaps a ./configure is needed. > > >=20 > > > What's your HEAD? I have a5b3d2c9b4d4ca3e02f294d14c7df016e070bda7,=20 > > > which compiles fine. > >=20 > > OK, I found where is the problem: my KERNELDIR is not the good one. > >=20 > > Thank you for the answers. >=20 > Looks like you were hitting the same problem that I did. So what's the > correct KERNELDIR? Care to post your ./configure line? It was where I put my KVM kernel sources, for instance: KERNELDIR=3D/home/vivierl/Projects/KVM/kvm generated by: ./configure --kerneldir=3D/home/vivierl/Projects/KVM/kvm \ --with-patched-kernel ls /home/vivierl/Projects/KVM/kvm arch Documentation ipc Makefile REPORTING-BUGS System.map block drivers Kbuild mm samples usr COPYING fs kernel Module.symvers scripts virt CREDITS include lib net security vmlinux crypto init MAINTAINERS README sound vmlinux.o =09 > I have to add that having compile of userspace code depend on a kernel > dir is completely broken. Any chance the kvm maintainers can fix > userspace code to compile standalone and not depend on a kernel? Best > would be to have userspace and the standalone kernel module in entirely > different repositories. Regards, Laurent --=20 ----------------- Lau...@bu... ------------------ "La perfection est atteinte non quand il ne reste rien =C3=A0 ajouter mais quand il ne reste rien =C3=A0 enlever." Saint Exup=C3=A9ry |