public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
From: "Alessandro Sardo" <sandro.sardo-8RLafaVCWuNeoWH0uzbU5w@public.gmane.org>
To: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
Subject: KVM-21 on RHEL4: cannot build kernel module
Date: Sun, 29 Apr 2007 15:41:07 +0200	[thread overview]
Message-ID: <web-1190004@pegaso.polito.it> (raw)

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/

             reply	other threads:[~2007-04-29 13:41 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-04-29 13:41 Alessandro Sardo [this message]
     [not found] ` <web-1190004-6YcMZAkROE/Yr5vRfC5HMw@public.gmane.org>
2007-04-29 15:19   ` KVM-21 on RHEL4: cannot build kernel module Avi Kivity
     [not found]     ` <4634B773.7030800-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
2007-04-29 15:22       ` David Brown

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=web-1190004@pegaso.polito.it \
    --to=sandro.sardo-8rlafavcwuneowh0uzbu5w@public.gmane.org \
    --cc=kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox