[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Problems compiling kernel 2.6.31



On 29.10.09 1311 (+0530), surreal wrote:
> I am getting some problems while compiling kernel 2.6.31 using Debian Lenny
> make-kpkg
> 
> The messages are -
> 
> make[3]: Entering directory `/root/linux-2.6.31'
>   CHK     include/linux/version.h
>   CHK     include/linux/utsrelease.h
>   SYMLINK include/asm -> include/asm-x86
>   CALL    scripts/checksyscalls.sh
>   Building modules, stage 2.
>   MODPOST 1713 modules
> make[3]: Leaving directory `/root/linux-2.6.31'
> /usr/bin/make    ARCH=i386 \
>                  -C Documentation/lguest
> make[3]: Entering directory `/root/linux-2.6.31/Documentation/lguest'
> cc -m32 -Wall -Wmissing-declarations -Wmissing-prototypes -O3
> -I../../include -I../../arch/x86/include -U_FORTIFY_SOURCE    lguest.c   -o
> lguest

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."


[1]: http://cakebox.homeunix.net/wordpress/?p=100

-- 
Best regards,
Vasily Ivanov                                  mailto:<caesar@academ.org>


Reply to: