Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Problems compiling kernel 2.6.31

195 views
Skip to first unread message

surreal

unread,
Oct 29, 2009, 4:00:02 AM10/29/09
to
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
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[3]: *** [lguest] Error 1
make[3]: Leaving directory `/root/linux-2.6.31/Documentation/lguest'
make[2]: *** [debian/stamp/build/kernel] Error 2
make[2]: Leaving directory `/root/linux-2.6.31'
make[1]: *** [debian/stamp/do-build-arch] Error 2
make[1]: Leaving directory `/root/linux-2.6.31'
dpkg-buildpackage: failure: debian/rules build gave error exit status 2
make: *** [debian/stamp/build/buildpackage] Error 2
root@indiaforce:~/linux-2.6.31# make install
sh /root/linux-2.6.31/arch/x86/boot/install.sh 2.6.31 arch/x86/boot/bzImage \
        System.map "/boot"


Please help.
--
Harshad Joshi

Vasily Ivanov

unread,
Oct 29, 2009, 4:40:04 AM10/29/09
to
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:<cae...@academ.org>


--
To UNSUBSCRIBE, email to debian-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org

0 new messages