My Ubuntu is Edgy and I can't compile Kqemu kernel module (kqemu from qemu project page).
Got:
build-essential
linux-image-2.6.17-10-generic
linux-image-generic
linux-headers-2.6.17-10-generic
linux-headers-2.6.17-10
linux-headers-generic
linux-source-2.6.17
linux-source
Here's some code
Did it once (same way) in Dapper and successfully compiled. What's wrong? Why 'make' can't find this file?Code:tomek@teo:~$ cd kqemu-1.3.0pre9/ tomek@teo:~/kqemu-1.3.0pre9$ ls -an total 612 drwxr-xr-x 2 1000 1000 4096 2006-11-28 21:34 . drwxr-x--x 67 1000 1000 4096 2006-11-28 21:34 .. -rw-r--r-- 1 1000 1000 1369 2006-06-23 22:52 Changelog -rwxr-xr-x 1 1000 1000 7274 2006-06-23 22:52 configure -rwxr-xr-x 1 1000 1000 435 2006-06-23 22:52 install.sh -rw-r--r-- 1 1000 1000 7351 2006-06-23 22:52 kqemu-doc.html -rw-r--r-- 1 1000 1000 6022 2006-06-23 22:52 kqemu-doc.texi -rw-r--r-- 1 1000 1000 12380 2006-06-23 22:52 kqemu-freebsd.c -rw-r--r-- 1 1000 1000 4728 2006-06-23 22:52 kqemu.h -rw-r--r-- 1 1000 1000 1552 2006-06-23 22:52 kqemu.inf -rw-r--r-- 1 1000 1000 1586 2006-06-23 22:52 kqemu-kernel.h -rw-r--r-- 1 1000 1000 9447 2006-06-23 22:52 kqemu-linux.c -rw-r--r-- 1 1000 1000 98845 2006-06-23 22:52 kqemu-mod-i386.o -rw-r--r-- 1 1000 1000 99209 2006-06-23 22:52 kqemu-mod-i386-win32.o -rw-r--r-- 1 1000 1000 157954 2006-06-23 22:52 kqemu-mod-x86_64.o -rwxr-xr-x 1 1000 1000 123939 2006-06-23 22:52 kqemu.sys -rw-r--r-- 1 1000 1000 10563 2006-06-23 22:52 kqemu-win32.c -rw-r--r-- 1 1000 1000 704 2006-06-23 22:52 LICENSE -rw-r--r-- 1 1000 1000 1568 2006-06-23 22:52 Makefile -rw-r--r-- 1 1000 1000 184 2006-06-23 22:52 Makefile.freebsd -rw-r--r-- 1 1000 1000 992 2006-06-23 22:52 Makefile.winnt -rw-r--r-- 1 1000 1000 131 2006-06-23 22:52 README tomek@teo:~/kqemu-1.3.0pre9$ ./configure Source path /home/tomek/kqemu-1.3.0pre9 C compiler gcc Host C compiler gcc make make host CPU i386 kernel sources /lib/modules/2.6.17-10-generic/build kbuild type 2.6 tomek@teo:~/kqemu-1.3.0pre9$ make make -C /lib/modules/2.6.17-10-generic/build M=`pwd` modules make[1]: Entering directory `/usr/src/linux-headers-2.6.17-10-generic' CC [M] /home/tomek/kqemu-1.3.0pre9/kqemu-linux.o cp /home/tomek/kqemu-1.3.0pre9/kqemu-mod-i386.o /home/tomek/kqemu-1.3.0pre9/kqemu-mod.o LD [M] /home/tomek/kqemu-1.3.0pre9/kqemu.o Building modules, stage 2. MODPOST WARNING: could not find /home/tomek/kqemu-1.3.0pre9/.kqemu-mod.o.cmd for /home/tomek/kqemu-1.3.0pre9/kqemu-mod.o CC /home/tomek/kqemu-1.3.0pre9/kqemu.mod.o LD [M] /home/tomek/kqemu-1.3.0pre9/kqemu.ko make[1]: Leaving directory `/usr/src/linux-headers-2.6.17-10-generic'
BTW why there's no kqemu package in repos?![]()



Adv Reply




Bookmarks