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.
Notices
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.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I was compiling for about 20 minutes and then stoped and I got this error:
Code:
make[1]: se sale del directorio `/root/kernel_compiling/linux-2.6.32.5'
/usr/bin/make -j2 ARCH=i386 \
-C Documentation/lguest
make[1]: se ingresa al directorio `/root/kernel_compiling/linux-2.6.32.5/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[1]: *** [lguest] Error 1
make[1]: se sale del directorio `/root/kernel_compiling/linux-2.6.32.5/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 [1] 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: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511
Rep:
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
.....
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.