Kernel build error in Ubuntu

Asked

Viewed 82 times

0

I am trying to compile the 3.2.91 kernel on Ubuntu and when I run the make command this error occurs:

scripts/Makefile.build:305: recipe for target 'arch/x86/kvm/vmx.o' failed
make[2]: *** [arch/x86/kvm/vmx.o] Error 1
scripts/Makefile.build:441: recipe for target 'arch/x86/kvm' failed
make[1]: *** [arch/x86/kvm] Error 2
Makefile:946: recipe for target 'arch/x86' failed
make: *** [arch/x86] Error 2

I’ve already touched all kvm settings in menuconfig and can’t figure out what could be causing this error and how to fix it.

  • post your complete code, so it’s easier to understand the question

  • There’s no code, just the. config of the & #Xa; kernel configuration After configuring menuconfig, I run the following command on the terminal: root@beatriz-VirtualBox:/usr/src/linux# make And it gives this error, error start: Arch/x86/kvm/vmx. c: In Function ːvmx_vcpu_run': Arch/x86/kvm/vmx. c:6182:18: error: invalid Character ' ' in raw string delimiter "push %"R"dx; push %"R"bp;" Arch/x86/kvm/vmx. c:6182:3: error: Stray =R' in program "push %"R"dx; push %"R"bp;"

  • Try to remove virtualization in make menuconfig

  • Taking virtualization makes the kernel compile, but I can’t boot the kernel after, I think the withdrawal of virtualization is hurting this

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.