All of lore.kernel.org
 help / color / mirror / Atom feed
* [Xenomai-help] Errors compiling kernel 2.6.20 with xenomai 2.3.1
@ 2007-04-26 16:29 Karl Reichert
  2007-04-26 16:38 ` Jan Kiszka
  0 siblings, 1 reply; 5+ messages in thread
From: Karl Reichert @ 2007-04-26 16:29 UTC (permalink / raw)
  To: Xenomai-help

Hello,

I'm trying to compile my kernel with xenomai 2.3.1 and I get lots of errors.
I'm using standard kernel (from kernel.org), version 2.6.20 and ubuntu 7.04 and gcc 5.97
I used the guide from http://www.captain.at/xenomai-2.1-installation.php and patching kernel sources works fine, but when I do a "make menuconfig", I get a lot of errors (see below).

Does anybody has an idea what's the problem here?
Maybe I'm using wrong kernel or gcc version? I saw that xenomai 2.3.1 supports kernel 2.6.20 so maybe gcc is in wrong version? Which one do I have to use?
Which system do you use out there running xenomai 2.3.1?

Thanks a lot in advance.
Karl
-- 
von Karl Reichert

"Feel free" - 10 GB Mailbox, 100 FreeSMS/Monat ...
Jetzt GMX TopMail testen: http://www.gmx.net/de/go/topmail


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

* Re: [Xenomai-help] Errors compiling kernel 2.6.20 with xenomai 2.3.1
  2007-04-26 16:29 [Xenomai-help] Errors compiling kernel 2.6.20 with xenomai 2.3.1 Karl Reichert
@ 2007-04-26 16:38 ` Jan Kiszka
  0 siblings, 0 replies; 5+ messages in thread
From: Jan Kiszka @ 2007-04-26 16:38 UTC (permalink / raw)
  To: Karl Reichert; +Cc: Xenomai-help

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

Karl Reichert wrote:
> Hello,
> 
> I'm trying to compile my kernel with xenomai 2.3.1 and I get lots of errors.
> I'm using standard kernel (from kernel.org), version 2.6.20 and ubuntu 7.04 and gcc 5.97

gcc-what? Please try "gcc --version". Should be something with 3.x or
4.x (+some Ubuntu/Debian sub-revision).

> I used the guide from http://www.captain.at/xenomai-2.1-installation.php and patching kernel sources works fine, but when I do a "make menuconfig", I get a lot of errors (see below).

[looking...] Where? Please try again. :)

> 
> Does anybody has an idea what's the problem here?
> Maybe I'm using wrong kernel or gcc version? I saw that xenomai 2.3.1 supports kernel 2.6.20 so maybe gcc is in wrong version? Which one do I have to use?

Any gcc that is fine with the kernel (4.1 is said to make troubles,
sometimes) should also work with Xenomai.

> Which system do you use out there running xenomai 2.3.1?

OpenSUSE and home-brewed, but Ubuntu must work as well.

Jan


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

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

* Re: [Xenomai-help] Errors compiling kernel 2.6.20 with xenomai 2.3.1
@ 2007-04-26 17:35 Karl Reichert
  2007-04-26 17:50 ` Jan Kiszka
  2007-04-26 19:35 ` Paul
  0 siblings, 2 replies; 5+ messages in thread
From: Karl Reichert @ 2007-04-26 17:35 UTC (permalink / raw)
  To: Jan Kiszka; +Cc: Xenomai-help

-------- Original-Nachricht --------
Datum: Thu, 26 Apr 2007 18:38:46 +0200
Von: Jan Kiszka <jan.kiszka@domain.hid>
An: Karl Reichert <Karl-Trampe@domain.hid>
CC: Xenomai-help@domain.hid
Betreff: Re: [Xenomai-help] Errors compiling kernel 2.6.20 with xenomai 2.3.1

> Karl Reichert wrote:
> > Hello,
> > 
> > I'm trying to compile my kernel with xenomai 2.3.1 and I get lots of
> errors.
> > I'm using standard kernel (from kernel.org), version 2.6.20 and ubuntu
> 7.04 and gcc 5.97
> 
> gcc-what? Please try "gcc --version". Should be something with 3.x or
> 4.x (+some Ubuntu/Debian sub-revision).
> 
It's gcc (GCC) 4.1.2 (Ubuntu 4.1.2-0ubuntu4). Sorry for the mistake.
> > I used the guide from http://www.captain.at/xenomai-2.1-installation.php
> and patching kernel sources works fine, but when I do a "make menuconfig",
> I get a lot of errors (see below).
> 
> [looking...] Where? Please try again. :)
> 
Link is working for me. But used now tutorial from http://www.rcode.net/blog/tlaurenzo/2007/03/
> > 
> > Does anybody has an idea what's the problem here?
> > Maybe I'm using wrong kernel or gcc version? I saw that xenomai 2.3.1
> supports kernel 2.6.20 so maybe gcc is in wrong version? Which one do I have
> to use?
> 
> Any gcc that is fine with the kernel (4.1 is said to make troubles,
> sometimes) should also work with Xenomai.
> 
> > Which system do you use out there running xenomai 2.3.1?
> 
> OpenSUSE and home-brewed, but Ubuntu must work as well.
> 
> Jan
> 
Solved the problem now. It didn't installed all dependencies.

But now I have a different problem. When compiling (building deb-package), I get the following error:

====== making target install/linux-image-2.6.20 [new prereqs: ]======
This is kernel package version 10.065ubuntu5.
echo "The UTS Release version in include/linux/utsrelease.h"; echo "     \"2.6.20-adeos-xenomai2.3.0\" "; echo "does not match current version:"; echo "     \"2.6.20\" "; echo "Please correct this."; exit 2
The UTS Release version in include/linux/utsrelease.h
     "2.6.20-adeos-xenomai2.3.0" 
does not match current version:
     "2.6.20" 
Please correct this.
make: *** [install/linux-image-2.6.20] Fehler 2


Thanks a lot for the fast reply!

Karl

-- 
von Karl Reichert

"Feel free" - 10 GB Mailbox, 100 FreeSMS/Monat ...
Jetzt GMX TopMail testen: http://www.gmx.net/de/go/topmail


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

* Re: [Xenomai-help] Errors compiling kernel 2.6.20 with xenomai 2.3.1
  2007-04-26 17:35 Karl Reichert
@ 2007-04-26 17:50 ` Jan Kiszka
  2007-04-26 19:35 ` Paul
  1 sibling, 0 replies; 5+ messages in thread
From: Jan Kiszka @ 2007-04-26 17:50 UTC (permalink / raw)
  To: Karl Reichert; +Cc: Xenomai-help

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

Karl Reichert wrote:
> -------- Original-Nachricht --------
> Datum: Thu, 26 Apr 2007 18:38:46 +0200
> Von: Jan Kiszka <jan.kiszka@domain.hid>
> An: Karl Reichert <Karl-Trampe@domain.hid>
> CC: Xenomai-help@domain.hid
> Betreff: Re: [Xenomai-help] Errors compiling kernel 2.6.20 with xenomai 2.3.1
> 
>> Karl Reichert wrote:
>>> Hello,
>>>
>>> I'm trying to compile my kernel with xenomai 2.3.1 and I get lots of
>> errors.
>>> I'm using standard kernel (from kernel.org), version 2.6.20 and ubuntu
>> 7.04 and gcc 5.97
>>
>> gcc-what? Please try "gcc --version". Should be something with 3.x or
>> 4.x (+some Ubuntu/Debian sub-revision).
>>
> It's gcc (GCC) 4.1.2 (Ubuntu 4.1.2-0ubuntu4). Sorry for the mistake.
>>> I used the guide from http://www.captain.at/xenomai-2.1-installation.php
>> and patching kernel sources works fine, but when I do a "make menuconfig",
>> I get a lot of errors (see below).
>>
>> [looking...] Where? Please try again. :)
>>
> Link is working for me. But used now tutorial from http://www.rcode.net/blog/tlaurenzo/2007/03/
>>> Does anybody has an idea what's the problem here?
>>> Maybe I'm using wrong kernel or gcc version? I saw that xenomai 2.3.1
>> supports kernel 2.6.20 so maybe gcc is in wrong version? Which one do I have
>> to use?
>>
>> Any gcc that is fine with the kernel (4.1 is said to make troubles,
>> sometimes) should also work with Xenomai.
>>
>>> Which system do you use out there running xenomai 2.3.1?
>> OpenSUSE and home-brewed, but Ubuntu must work as well.
>>
>> Jan
>>
> Solved the problem now. It didn't installed all dependencies.
> 
> But now I have a different problem. When compiling (building deb-package), I get the following error:
> 
> ====== making target install/linux-image-2.6.20 [new prereqs: ]======
> This is kernel package version 10.065ubuntu5.
> echo "The UTS Release version in include/linux/utsrelease.h"; echo "     \"2.6.20-adeos-xenomai2.3.0\" "; echo "does not match current version:"; echo "     \"2.6.20\" "; echo "Please correct this."; exit 2
> The UTS Release version in include/linux/utsrelease.h
>      "2.6.20-adeos-xenomai2.3.0" 
> does not match current version:
>      "2.6.20" 
> Please correct this.
> make: *** [install/linux-image-2.6.20] Fehler 2
> 

Rules for building debian packages are in trunk only, not yet in 2.3.x.
For now just build a plain kernel from the vanilla sources (of course
Xenomai-prepared) and run make modules_install and make install.

Jan


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

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

* Re: [Xenomai-help] Errors compiling kernel 2.6.20 with xenomai 2.3.1
  2007-04-26 17:35 Karl Reichert
  2007-04-26 17:50 ` Jan Kiszka
@ 2007-04-26 19:35 ` Paul
  1 sibling, 0 replies; 5+ messages in thread
From: Paul @ 2007-04-26 19:35 UTC (permalink / raw)
  To: xenomai; +Cc: Jan Kiszka

On Thursday 26 April 2007 18:35, Karl Reichert wrote:
> -------- Original-Nachricht --------
> Datum: Thu, 26 Apr 2007 18:38:46 +0200
> Von: Jan Kiszka <jan.kiszka@domain.hid>
> An: Karl Reichert <Karl-Trampe@domain.hid>
> CC: Xenomai-help@domain.hid
> Betreff: Re: [Xenomai-help] Errors compiling kernel 2.6.20 with xenomai
> 2.3.1
>
> > Karl Reichert wrote:
> > > Hello,
> > >
> > > I'm trying to compile my kernel with xenomai 2.3.1 and I get lots of
> >
> > errors.
> >
> > > I'm using standard kernel (from kernel.org), version 2.6.20 and ubuntu
> >
> > 7.04 and gcc 5.97
> >
> > gcc-what? Please try "gcc --version". Should be something with 3.x or
> > 4.x (+some Ubuntu/Debian sub-revision).
>
> It's gcc (GCC) 4.1.2 (Ubuntu 4.1.2-0ubuntu4). Sorry for the mistake.
>
> > > I used the guide from
> > > http://www.captain.at/xenomai-2.1-installation.php
> >
> > and patching kernel sources works fine, but when I do a "make
> > menuconfig", I get a lot of errors (see below).
> >
> > [looking...] Where? Please try again. :)
>
> Link is working for me. But used now tutorial from
> http://www.rcode.net/blog/tlaurenzo/2007/03/
>
> > > Does anybody has an idea what's the problem here?
> > > Maybe I'm using wrong kernel or gcc version? I saw that xenomai 2.3.1
> >
> > supports kernel 2.6.20 so maybe gcc is in wrong version? Which one do I
> > have to use?
> >
> > Any gcc that is fine with the kernel (4.1 is said to make troubles,
> > sometimes) should also work with Xenomai.
> >
> > > Which system do you use out there running xenomai 2.3.1?
> >
> > OpenSUSE and home-brewed, but Ubuntu must work as well.
> >
> > Jan
>
> Solved the problem now. It didn't installed all dependencies.
>
> But now I have a different problem. When compiling (building deb-package),
> I get the following error:
>
> ====== making target install/linux-image-2.6.20 [new prereqs: ]======
> This is kernel package version 10.065ubuntu5.
> echo "The UTS Release version in include/linux/utsrelease.h"; echo "    
> \"2.6.20-adeos-xenomai2.3.0\" "; echo "does not match current version:";
> echo "     \"2.6.20\" "; echo "Please correct this."; exit 2 The UTS
> Release version in include/linux/utsrelease.h
>      "2.6.20-adeos-xenomai2.3.0"
> does not match current version:
>      "2.6.20"
> Please correct this.
> make: *** [install/linux-image-2.6.20] Fehler 2

Looks like you are running make-kpkg on a tree that has previously been used 
to build another package. Either start afresh with a virgin source (as Jan 
has already mentions) or try `debian/rules clean`.

One tip - Don't use "xeno" in your versioning. When it comes to installing, 
the Debian scripts filter on "xeno" and treat them as Xen VM kernels and 
won't add them to grub's menu.

Take a look at my notes: 
http://www.xenomai.org/index.php/Building_Debian_packages on building debs.

> Thanks a lot for the fast reply!
>
> Karl


Regards, Paul.


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

end of thread, other threads:[~2007-04-26 19:35 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-04-26 16:29 [Xenomai-help] Errors compiling kernel 2.6.20 with xenomai 2.3.1 Karl Reichert
2007-04-26 16:38 ` Jan Kiszka
  -- strict thread matches above, loose matches on Subject: below --
2007-04-26 17:35 Karl Reichert
2007-04-26 17:50 ` Jan Kiszka
2007-04-26 19:35 ` Paul

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.