From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Alessandro Sardo" Subject: KVM-21 on RHEL4: cannot build kernel module Date: Sun, 29 Apr 2007 15:41:07 +0200 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org Return-path: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: kvm-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org Errors-To: kvm-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org List-Id: kvm.vger.kernel.org Hello list, I am trying to compile KVM-21 on RHEL4 U4 (kernel version is 2.6.9-42.0.10.EL SMP). While I do not have any problem compiling the 'user' and 'qemu' targets, I cannot seem to be able to build the kernel module. I would like to point out that: 1) kernel-devel packages are installed 2) the same problem happens with KVM-13/15/16/17/18/19/20 2) the same problem happens with the 2.6.9-42.0.10.EL non-SMP kernel Here is the output I get. [kvm-21]root@...# ./configure --prefix=/usr/local/kvm which: no texi2html in (/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/root/bin) Install prefix /usr/local/kvm BIOS directory /usr/local/kvm/share/qemu binary directory /usr/local/kvm/bin Manual directory /usr/local/kvm/share/man ELF interp prefix /usr/gnemul/qemu-%M Source path /usr/src/kvm-21/qemu C compiler gcc Host C compiler gcc make make install install host CPU x86_64 host big endian no target list x86_64-softmmu gprof enabled no profiler no static build no SDL support yes SDL static link yes mingw32 support no Adlib support no CoreAudio support no ALSA support yes DSound support no FMOD support no kqemu support no kvm support yes Documentation no [kvm-21]root@...# make -C kernel make -C kernel make[1]: Entering directory `/usr/src/kvm-21/kernel' make -C /lib/modules/2.6.9-42.0.10.ELsmp/build M=`pwd` "$@" make[2]: Entering directory `/usr/src/kernels/2.6.9-42.0.10.EL-smp-x86_64' /usr/src/kvm-21/kernel/Makefile:1: ../config.mak: No such file or directory make[3]: *** No rule to make target `../config.mak'. Stop. make[2]: *** [_module_/usr/src/kvm-21/kernel] Error 2 make[2]: Leaving directory `/usr/src/kernels/2.6.9-42.0.10.EL-smp-x86_64' make[1]: *** [all] Error 2 make[1]: Leaving directory `/usr/src/kvm-21/kernel' make: *** [kernel] Error 2 --------------------------------------------------------- I also tried older versions and found out that KVM-10/11/12/14 behave in a different (and weird) way: they do not show any error, but they don't compile anything at all either. [kvm-14]root@...# ./configure --prefix=/usr/local/kvm which: no texi2html in (/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/root/bin) Install prefix /usr/local/kvm BIOS directory /usr/local/kvm/share/qemu binary directory /usr/local/kvm/bin Manual directory /usr/local/kvm/share/man ELF interp prefix /usr/gnemul/qemu-%M Source path /usr/src/kvm-14/qemu C compiler gcc Host C compiler gcc make make install install host CPU x86_64 host big endian no target list x86_64-softmmu gprof enabled no profiler no static build no SDL support yes SDL static link yes mingw32 support no Adlib support no CoreAudio support no ALSA support yes DSound support no FMOD support no kqemu support no kvm support yes Documentation no [kvm-14]root@...# make -C kernel make: Entering directory `/usr/src/kvm-14/kernel' make -C /lib/modules/2.6.9-42.0.10.ELsmp/build M=`pwd` "$@" make[1]: Entering directory `/usr/src/kernels/2.6.9-42.0.10.EL-smp-x86_64' Building modules, stage 2. MODPOST make[1]: Leaving directory `/usr/src/kernels/2.6.9-42.0.10.EL-smp-x86_64' make: Leaving directory `/usr/src/kvm-14/kernel' --------------------------------------------------------- Any idea what the problem is? Thanks for the help! AleS ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/