Compilation error on Kubuntu Hardy (sorted)

Live forum: http://rt2x00.serialmonkey.com/viewtopic.php?t=4882

phal1

10-07-2008 17:02:04

Hi,

I used the rt61 drivers some time ago. Now i need to install it again, since kubuntu came with no drivers for my wifi card. Anyway when i do 'sudo make' in the Modules directory, i get the following

[code1a0j597p]make[1]: Entering directory `/usr/src/linux-headers-2.6.24-19-generic'
CHK include/linux/version.h
CHK include/linux/utsrelease.h
CALL scripts/checksyscalls.sh
make[2]: *** No rule to make target `arch/x86/kvm/../../../virt/kvm/kvm_main.o', needed by `arch/x86/kvm/kvm.o'. Stop.
make[1]: *** [arch/x86/kvm] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.24-19-generic'
rt61.ko failed to build!
make: *** [module] Error 1
[/code1a0j597p]

I have build-essential, kernel sources etc. Is there anything other i need to install?

Thanks in advance...

Edit I also made a symlink using this command

ln -s /usr/src/linux-headers-2.6.24-19-generic/ /lib/modules/2.6.24-19-generic/

Still the same error.

Edit2 I sorted it out by doing a clean install.