From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <4630E653.3090501@domain.hid> Date: Thu, 26 Apr 2007 19:50:11 +0200 From: Jan Kiszka MIME-Version: 1.0 References: <20070426173546.291520@domain.hid> In-Reply-To: <20070426173546.291520@domain.hid> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig1517A104C8E0E1B0BB647BB7" Sender: jan.kiszka@domain.hid Subject: Re: [Xenomai-help] Errors compiling kernel 2.6.20 with xenomai 2.3.1 List-Id: Help regarding installation and common use of Xenomai List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Karl Reichert Cc: Xenomai-help@domain.hid This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig1517A104C8E0E1B0BB647BB7 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: quoted-printable Karl Reichert wrote: > -------- Original-Nachricht -------- > Datum: Thu, 26 Apr 2007 18:38:46 +0200 > Von: Jan Kiszka > An: Karl Reichert > CC: Xenomai-help@domain.hid > Betreff: Re: [Xenomai-help] Errors compiling kernel 2.6.20 with xenomai= 2.3.1 >=20 >> 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 ubunt= u >> 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 menuconf= ig", >> 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. >=20 > But now I have a different problem. When compiling (building deb-packag= e), I get the following error: >=20 > =3D=3D=3D=3D=3D=3D making target install/linux-image-2.6.20 [new prereq= s: ]=3D=3D=3D=3D=3D=3D > 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"=20 > does not match current version: > "2.6.20"=20 > Please correct this. > make: *** [install/linux-image-2.6.20] Fehler 2 >=20 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 --------------enig1517A104C8E0E1B0BB647BB7 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGMOZUniDOoMHTA+kRAmBLAJ4w2p5oUc1Ep/wWFdlrXGrLJNSsrACeMHZU WWebKpC4XW0giy3F5kzDmbc= =0BiU -----END PGP SIGNATURE----- --------------enig1517A104C8E0E1B0BB647BB7--