Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
I was compiling for about 20 minutes and then stoped and I got this error:
make: se sale del directorio `/root/kernel_compiling/linux-188.8.131.52'
/usr/bin/make -j2 ARCH=i386 \
make: se ingresa al directorio `/root/kernel_compiling/linux-184.108.40.206/Documentation/lguest'
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 existe el fichero o el directorio
lguest.c: In function ‘create_thread’:
lguest.c:1027: warning: implicit declaration of function ‘eventfd’
make: *** [lguest] Error 1
make: se sale del directorio `/root/kernel_compiling/linux-220.127.116.11/Documentation/lguest'
make: *** [debian/stamp/build/kernel] Error 2
*se ingresa al directorio = Inserting in the directory
*No existe el fichero o el directorio = Doesnot exist a file or directory
*se sale del directorio = Leaving the directory
Google this error message:
> lguest.c:21:25: error: sys/eventfd.h: No such file or directory
and the first link  has a solution:
"Below “Virtualization” unselect “Linux hypervisor example code” or if
you need lguest you can also fix the compilation error by removing
“#include <sys /eventfd.h>” (line 21) from lguest.c."
But where to unselect?
Below the Virtualization? Where is it?
I just dont understund.
Distribution: pclos2016, Slack14.1 Deb Jessie, + 50+ other Linux OS, for test only.
I guess, you can edit "Virtualization" in the file .config
( or just redo your configuring. )
Finding "Virtualization" in .config :
grep -in Virtualization .config
( the option n gets the line number ).
Example from my /boot/config :
grep -in Virtualization config :
4093:# CONFIG_VIRTUALIZATION is not set
.... the line mumber is 4093 .
So when you find your "Virtualization" line, probably change to :
# CONFIG_VIRTUALIZATION is not set