All of lore.kernel.org
 help / color / mirror / Atom feed
* [Xenomai-help] error while compiling the kernel
@ 2010-06-09 16:18 ramon costa
  2010-06-09 16:38 ` Gilles Chanteperdrix
  2010-06-09 16:42 ` Stefan Kisdaroczi
  0 siblings, 2 replies; 4+ messages in thread
From: ramon costa @ 2010-06-09 16:18 UTC (permalink / raw)
  To: Xenomai help

[-- Attachment #1: Type: text/plain, Size: 1178 bytes --]

Hi,

During the compilation  (CONCURRENCY_LEVEL=2 fakeroot make-kpkg --initrd
--append-to-version -xenomai-2.5.3 --revision 1.0 binary-arch)
the following error is obtained :

  H16TOFW firmware/matrox/g400_warp.fw
make[2]: Leaving directory `/home/costa/linux-2.6.32.11'
/usr/bin/make -j2 EXTRAVERSION=.11-xenomai-2.5.3  ARCH=i386 \
                 -C Documentation/lguest
make[2]: Entering directory
`/home/costa/linux-2.6.32.11/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:1027: warning: implicit declaration of function ‘eventfd’
make[2]: *** [lguest] Error 1
make[2]: Leaving directory
`/home/costa/linux-2.6.32.11/Documentation/lguest'
make[1]: *** [debian/stamp/build/kernel] Error 2
make[1]: Leaving directory `/home/costa/linux-2.6.32.11'
make: *** [debian/stamp/do-build-arch] Error 2
debian:/home/costa/linux-2.6.32.11# make menuconfig
scripts/kconfig/mconf arch/x86/Kconfig


any suggestion ?

Ramon

[-- Attachment #2: Type: text/html, Size: 1253 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Xenomai-help] error while compiling the kernel
  2010-06-09 16:18 [Xenomai-help] error while compiling the kernel ramon costa
@ 2010-06-09 16:38 ` Gilles Chanteperdrix
  2010-06-09 16:42 ` Stefan Kisdaroczi
  1 sibling, 0 replies; 4+ messages in thread
From: Gilles Chanteperdrix @ 2010-06-09 16:38 UTC (permalink / raw)
  To: ramon costa; +Cc: Xenomai help

ramon costa wrote:
> Hi,
> 
> During the compilation  (CONCURRENCY_LEVEL=2 fakeroot make-kpkg --initrd
> --append-to-version -xenomai-2.5.3 --revision 1.0 binary-arch)
> the following error is obtained :
> 
>   H16TOFW firmware/matrox/g400_warp.fw
> make[2]: Leaving directory `/home/costa/linux-2.6.32.11'
> /usr/bin/make -j2 EXTRAVERSION=.11-xenomai-2.5.3  ARCH=i386 \
>                  -C Documentation/lguest
> make[2]: Entering directory
> `/home/costa/linux-2.6.32.11/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:1027: warning: implicit declaration of function ‘eventfd’
> make[2]: *** [lguest] Error 1
> make[2]: Leaving directory
> `/home/costa/linux-2.6.32.11/Documentation/lguest'
> make[1]: *** [debian/stamp/build/kernel] Error 2
> make[1]: Leaving directory `/home/costa/linux-2.6.32.11'
> make: *** [debian/stamp/do-build-arch] Error 2
> debian:/home/costa/linux-2.6.32.11# make menuconfig
> scripts/kconfig/mconf arch/x86/Kconfig

Do you have the same problem when compiling the same kernel without
Xenomai enabled? If yes, then you are not asking your question in the
right place. We know a thing or two about compiling a kernel with
Xenomai, but we do not know everything about compiling a Linux kernel.

-- 
					    Gilles.



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Xenomai-help] error while compiling the kernel
  2010-06-09 16:18 [Xenomai-help] error while compiling the kernel ramon costa
  2010-06-09 16:38 ` Gilles Chanteperdrix
@ 2010-06-09 16:42 ` Stefan Kisdaroczi
  2010-06-09 17:14   ` Stefan Kisdaroczi
  1 sibling, 1 reply; 4+ messages in thread
From: Stefan Kisdaroczi @ 2010-06-09 16:42 UTC (permalink / raw)
  To: ramon costa, xenomai-help

[-- Attachment #1: Type: text/plain, Size: 1568 bytes --]

Am 09.06.2010 18:18, schrieb ramon costa:
> Hi,
> 
> During the compilation  (CONCURRENCY_LEVEL=2 fakeroot make-kpkg --initrd
> --append-to-version -xenomai-2.5.3 --revision 1.0 binary-arch)
> the following error is obtained :
> 
>   H16TOFW firmware/matrox/g400_warp.fw
> make[2]: Leaving directory `/home/costa/linux-2.6.32.11'
> /usr/bin/make -j2 EXTRAVERSION=.11-xenomai-2.5.3  ARCH=i386 \
>                  -C Documentation/lguest
> make[2]: Entering directory
> `/home/costa/linux-2.6.32.11/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:1027: warning: implicit declaration of function ‘eventfd’
> make[2]: *** [lguest] Error 1
> make[2]: Leaving directory
> `/home/costa/linux-2.6.32.11/Documentation/lguest'
> make[1]: *** [debian/stamp/build/kernel] Error 2
> make[1]: Leaving directory `/home/costa/linux-2.6.32.11'
> make: *** [debian/stamp/do-build-arch] Error 2
> debian:/home/costa/linux-2.6.32.11# make menuconfig
> scripts/kconfig/mconf arch/x86/Kconfig
> 
> 
> any suggestion ?

Disable "Linux hypervisor example code" in the "Virtualization" section of the kernel configuration.

Stefan

> 
> Ramon
> 
> 
> 
> _______________________________________________
> Xenomai-help mailing list
> Xenomai-help@domain.hid
> https://mail.gna.org/listinfo/xenomai-help



[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 251 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Xenomai-help] error while compiling the kernel
  2010-06-09 16:42 ` Stefan Kisdaroczi
@ 2010-06-09 17:14   ` Stefan Kisdaroczi
  0 siblings, 0 replies; 4+ messages in thread
From: Stefan Kisdaroczi @ 2010-06-09 17:14 UTC (permalink / raw)
  To: xenomai

[-- Attachment #1: Type: text/plain, Size: 1631 bytes --]

Am 09.06.2010 18:42, schrieb Stefan Kisdaroczi:
> Am 09.06.2010 18:18, schrieb ramon costa:
>> Hi,
>>
>> During the compilation  (CONCURRENCY_LEVEL=2 fakeroot make-kpkg --initrd
>> --append-to-version -xenomai-2.5.3 --revision 1.0 binary-arch)
>> the following error is obtained :
>>
>>   H16TOFW firmware/matrox/g400_warp.fw
>> make[2]: Leaving directory `/home/costa/linux-2.6.32.11'
>> /usr/bin/make -j2 EXTRAVERSION=.11-xenomai-2.5.3  ARCH=i386 \
>>                  -C Documentation/lguest
>> make[2]: Entering directory
>> `/home/costa/linux-2.6.32.11/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:1027: warning: implicit declaration of function ‘eventfd’
>> make[2]: *** [lguest] Error 1
>> make[2]: Leaving directory
>> `/home/costa/linux-2.6.32.11/Documentation/lguest'
>> make[1]: *** [debian/stamp/build/kernel] Error 2
>> make[1]: Leaving directory `/home/costa/linux-2.6.32.11'
>> make: *** [debian/stamp/do-build-arch] Error 2
>> debian:/home/costa/linux-2.6.32.11# make menuconfig
>> scripts/kconfig/mconf arch/x86/Kconfig
>>
>>
>> any suggestion ?
> 
> Disable "Linux hypervisor example code" in the "Virtualization" section of the kernel configuration.

additional note:
The problem is the combination of a "old" glibc in debian lenny and a "new" kernel.
Has nothing to do with xenomai or the ipipe patch.

Stefan


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 251 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2010-06-09 17:14 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-06-09 16:18 [Xenomai-help] error while compiling the kernel ramon costa
2010-06-09 16:38 ` Gilles Chanteperdrix
2010-06-09 16:42 ` Stefan Kisdaroczi
2010-06-09 17:14   ` Stefan Kisdaroczi

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.