Error al compilar Kernel 2.6.31.5: lguest / eventfd
Nos puede pasar al finalizar de compilar el kernel version 2.6.31.x nos salga el siguiente error:
cc -m32 -Wall -Wmissing-declarations -Wmissing-prototypes -O3 -I../../include -I../../arch/x86/include -U_FORTIFY_SOURCE lguest.c -o lguest
lguest.c:21:25: error: sys/eventfd.h: No such file or directory
lguest.c: In function ‘create_thread’:
lguest.c:1021: warning: implicit declaration of function ‘eventfd’
make: *** [lguest] Error 1
Solución:
Editamos el archivo Documentation/lguest/Makefile, y cambiamos el valor siguiente:
all: [...]