Message-ID: <9d579821fa3d79a8cd12a335785be8cf.squirrel@xenomai.org> In-Reply-To: <15627875.xOGqqJnifV@soho> References: <6773858.JgE1vlCdur@soho> <2621675.LcrfARJh6l@soho> <15627875.xOGqqJnifV@soho> Date: Wed, 21 Jan 2015 16:36:33 +0100 From: "Gilles Chanteperdrix" MIME-Version: 1.0 Content-Type: text/plain;charset=utf-8 Content-Transfer-Encoding: 8bit Subject: Re: [Xenomai] Compiling xenomai-3 List-Id: Discussions about the Xenomai project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Leopold Palomo-Avellaneda Cc: "xenomai@xenomai.org" Leopold Palomo-Avellaneda wrote: > El Dimecres, 21 de gener de 2015, a les 14:35:58, Gilles Chanteperdrix va > escriure: >> Leopold Palomo-Avellaneda wrote: >> > El Dimecres, 21 de gener de 2015, a les 14:28:02, Gilles Chanteperdrix >> va >> > >> > escriure: >> >> Leopold Palomo-Avellaneda wrote: >> >> > Hi, >> >> > >> >> > I'm trying to compile xenomai-3.x series using next branch from >> git. >> >> > >> >> > I'm trying to use the "debian" method to build the kernel, using >> the >> >> > make-kpkg >> >> > and the instructions proposed in the web page. However, I got with >> an >> >> > strange >> >> > problem not found in 2.x. >> >> > >> >> > make[2]: Entering directory '/srv/packages/xenomai/linux-3.16' >> >> > scripts/kconfig/conf --oldconfig Kconfig >> >> > init/Kconfig:1926: can't open file "arch/x86_64/xenomai/Kconfig" >> >> >> >> the ARCH variable is probably defined in the environment to x86_64, >> but >> >> for compiling the kernel, ARCH should be x86 (there as not been an >> >> arch/x86_64 >> >> directory since sometime early in the 2.6 branch). >> > >> > But I didn't have this problem compiling 2.6.4. Any idea to solve it? >> > >> > export ARCH=x86 ? or is something of specific of xenomai? >> >> I do not know. Another possibility is that prepare-kernel.sh is broken >> for --arch=x86_64 or something. Do what the makefile do, step by step >> to understand what happens. > > it fails when I execute the debian command. But it works when I just > execute > make bzImage modules. > > So, I don't think that it could be prepare-kernel.sh script Indeed. I will try and check. -- Gilles.