From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mo6-p00-ob.rzone.de ([2a01:238:20a:202:5300::1]) by metis.ext.pengutronix.de with esmtp (Exim 4.72) (envelope-from ) id 1SyKhy-0006To-TW for ptxdist@pengutronix.de; Mon, 06 Aug 2012 12:38:50 +0200 Received: from mail.rsi.local (p5091D733.dip.t-dialin.net [80.145.215.51]) by smtp.strato.de (joses mo14) (RZmta 30.7 DYNA|AUTH) with (RC4-MD5 encrypted) ESMTPA id d03094o769CKcr for ; Mon, 6 Aug 2012 12:38:46 +0200 (CEST) Received: from jholzmayr.rsi by mail.rsi.local (MDaemon PRO v12.5.6) with ESMTP id md50000146491.msg for ; Mon, 06 Aug 2012 12:38:45 +0200 Message-ID: <501F9EB1.4070700@rsi-elektrotechnik.de> Date: Mon, 06 Aug 2012 12:38:41 +0200 From: Josef Holzmayr MIME-Version: 1.0 References: <1343839934.56923.YahooMailNeo@web194904.mail.sg3.yahoo.com> In-Reply-To: <1343839934.56923.YahooMailNeo@web194904.mail.sg3.yahoo.com> Subject: Re: [ptxdist] Error while setting up toolchain Reply-To: ptxdist@pengutronix.de List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="iso-8859-1"; Format="flowed" Sender: ptxdist-bounces@pengutronix.de Errors-To: ptxdist-bounces@pengutronix.de To: ptxdist@pengutronix.de Not really sure if it helps, but some thoughts for now: Am 01.08.2012 18:52, schrieb Dhruv Chawda: > I followed the following steps: > > # cd ~/local > # sudo mkdir -p /opt/OSELAS.Toolchain-2011.11.1 > # sudo chown `whoami` /opt/OSELAS.Toolchain-2011.11.1 Why are you doing that by hand? > # tar zxvf /opt/OSELAS.Toolchain-2011.11.1.tar.bz2 > # cd OSELAS.Toolchain-2011.11.1 > # ptxdist select ptxconfigs/arm-v4t-linux-gnueabi_gcc-4.6.2_glibc-2.14.= 1_binutils-2.21.1a_kernel-2.6.39-sanitized.ptxconfig > # ptxdist go > > > Version: > > OSELAS.Toolchain-2011.11.1 and ptxdist-2012.07.0 You should better use the correct version for building the toolchain. = Basically that combination should give you a nice big fat warning, which = you probably just "clicked away" by using ptxdist migrate, which in turn = might have broken things. Check the first few lines of the file ptxconfigs/arm-v4t-linux-gnueabi_gcc-4.6.2_glibc-2.14.1_binutils-2.21.1a_ke= rnel-2.6.39-sanitized.ptxconfig to see which ptxdist version fits the toolchain. Then grab that version and compile it. No need to install it, just place = a link there and then use it: (in your un-tar'ed toolchain directory) ln -s /path/to/where/you/compiled/ptxdist-201x.yy.zz/bin/ptxdist p ./p select = ptxconfigs/arm-v4t-linux-gnueabi_gcc-4.6.2_glibc-2.14.1_binutils-2.21.1a_ke= rnel-2.6.39-sanitized.ptxconfig ./p go ... and i'd remove the hand-created target directory in /opt first and = let ptxdist do it the way it needs it. Greetz _____________________________________________________________ Josef Holzmayr Dipl-Ing. (FH) Entwicklung Embedded Devices / Software Tel.: +49 8444 9204-48> Fax: +49 8444 9204-50 holzmayr@rsi-elektrotechnik.de R-S-I Elektrotechnik GmbH & Co. KG Woelkestrasse 11 D-85301 Schweitenkirchen www.rsi-elektrotechnik.de _____________________________________________________________ Amtsgericht Ingolstadt - GmbH: HRB 191328 - KG: HRA 170363 Gesch=E4ftsf=FChrer: Dr.-Ing. Michael Sorg, Dipl.-Ing. Franz Sorg USt-IdNr.: DE 128592548 -- = ptxdist mailing list ptxdist@pengutronix.de