I've got stuck in downgrade my kernel version to 2.6.22. The error message is :
SYSCALL arch/i386/kernel/vsyscall-int80.so gcc: error: elf_i386: No such file or directory make[1]: * [arch/i386/kernel/vsyscall-int80.so] Error 1 make: * [arch/i386/kernel] Error 2
I've tried to google for answers, like downgrade my gcc version, etc. But nothing happens. My OS is ubuntu 11.04 with kernel version 3.1.4 .
So what's wrong is it? Thanks for your answers.
Can you check the vdso makefile which should be in arch/x86/vdso/Makefile.
find the line
VDSO_LDFLAGSthere exists two lines one for x64 and another for x32 bit systems.
it should have
-m elf_x86_64and another one
-m elf_x86
replace them like
-m64and
-m32respectively.
Reference to bug fix Link1 Lockergnome and Link2 ubuntu.
I used this answer for this problem, and changed the -m elf_i386
part to -m32
in Makefile
stored in arch/i386/kernel
directory, and it solved the problem, for the future reference.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With