From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19098 invoked by alias); 23 Apr 2012 22:53:02 -0000 Received: (qmail 18964 invoked by uid 22791); 23 Apr 2012 22:52:59 -0000 X-SWARE-Spam-Status: No, hits=-5.9 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,KHOP_RCVD_TRUST,KHOP_THREADED,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_YE,TW_KN X-Spam-Check-By: sourceware.org Received: from mail-wi0-f177.google.com (HELO mail-wi0-f177.google.com) (209.85.212.177) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 23 Apr 2012 22:52:43 +0000 Received: by wibhj13 with SMTP id hj13so48140wib.12 for ; Mon, 23 Apr 2012 15:52:41 -0700 (PDT) MIME-Version: 1.0 Received: by 10.180.103.229 with SMTP id fz5mr39985483wib.0.1335221561449; Mon, 23 Apr 2012 15:52:41 -0700 (PDT) Received: by 10.216.18.198 with HTTP; Mon, 23 Apr 2012 15:52:41 -0700 (PDT) In-Reply-To: <201204231831.53796.yann.morin.1998@free.fr> References: <33730502.post@talk.nabble.com> <201204231831.53796.yann.morin.1998@free.fr> Date: Mon, 23 Apr 2012 22:53:00 -0000 Message-ID: Subject: Re: problems installing my arm-linux crosscompiler using ct-ng - Build failed in step 'Installing static core C compiler' From: Thiago Lima To: "Yann E. MORIN" , michael.hope@linaro.org, crossgcc@sourceware.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Mailing-List: contact crossgcc-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: crossgcc-owner@sourceware.org X-SW-Source: 2012-04/txt/msg00036.txt.bz2 Yann, Michael and linux friends, Thank You very much for the hints! So... I started again. Checked if my directory had permissions for write ( /usr/local/xtools/${CT_TARGET} ) I downloaded crosstool-ng 1.14.1, ./configure --prefix=3D/home/thiago//Documents/linux_labs/crosstool-ng-1.14= .1 export PATH=3D"${PATH}:/home/thiago/Documents/linux_labs/crosstool-ng-1.14.= 1" make make install ./ct=AD-ng arm-=ADunknown=AD-linux=AD-uclibcgnueabi ./ct-=ADng menuconfig - I Changed the prefix directory to /usr/local/xtools/${CT_TARGET} - I modified the tuple's alias - I needed to select strace butI had to disable this feature because the tarball could not be retrieved. - I used the following itens/versions: 'linux-2.6.33.20' 'gmp-4.3.2' 'mpfr-2.4.2' 'ppl-0.10.2' 'cloog-ppl-0.15.9' 'libelf-0.8.13' 'binutils-2.19.1a' 'gcc-4.4.3' 'uClibc-0.9.30.2' 'gdb-7.1a' 'ncurses-5.9' 'expat-2.0.1' 'ltrace-0.5.3' ./ct-ng build Everything was OK!! :) export PATH=3D"${PATH}:/usr/local/xtools/arm-unknown-linux-uclibcgnueabi/bi= n" arm-linux-gcc main.c -o main And it compiled! Thank you very much agains. cheers! Thiago - tpfslima On 23 April 2012 13:31, Yann E. MORIN wrote: > Thiago, All, > > On Monday 23 April 2012 04:04:53 tpflima wrote: >> I am having problems installing my arm-linux crosscompiler using ct-ng >> >> I downloaded the crosstoll-ng 1.9.3 last week. > > 1.9.3 is no longer maintained. Please upgrade to 1.13.4 which is the > latest supported release. > >> - I changed the prefixed directory for /usr/local/xtools/${CT_TARGET} > > As already said, usually only root is allowed to write in /usr/local. > Did you check that your user is able to wite there? > > Note that you should *not* run as root. It's very dangerous. > >> - I changed the number of parallel jobs, 8 >> - I changed the =ABTuple's alias=BB to arm-=ADlinux. >> - I Enabled strace on debug facilities (gdb and ltrace could not be enab= led >> because the tarball could not be retrieved from their online locals) > > That's a knwon problem, due to upstream renaming there releases. Update > to a more recent crosstool-NG to use the new names. > > [--SNIP--] >> [INFO ] =A0Installing binutils >> [INFO ] =A0Installing binutils: done in 35.86s (at 04:14) > > Looks like you are able to write into /usr/local, indeed. > >> [INFO ] =A0=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >> [INFO ] =A0Installing static core C compiler >> [ERROR] =A0 =A0make[1]: *** [configure-gcc] Error 1 >> [ERROR] =A0 =A0Build failed in step 'Installing static core C compiler' >> [ERROR] =A0 =A0Error happened in >> '/home/thiago/Documents/linux_labs/crosstool-ng-1.9.3/scripts/functions'= in >> function 'CT_DoExecLog' (line unknown, sorry) >> [ERROR] =A0 =A0 =A0 =A0 =A0called from >> '/home/thiago/Documents/linux_labs/crosstool-ng-1.9.3/scripts/build/cc/g= cc.sh' >> at line # 289 in function 'do_cc_core' >> [ERROR] =A0 =A0 =A0 =A0 =A0called from >> '/home/thiago/Documents/linux_labs/crosstool-ng-1.9.3/scripts/build/cc/g= cc.sh' >> at line # 52 in function 'do_cc_core_pass_1' >> [ERROR] =A0 =A0 =A0 =A0 =A0called from >> '/home/thiago/Documents/linux_labs/crosstool-ng-1.9.3/scripts/crosstool-= NG.sh' >> at line # 597 in function 'main' >> [ERROR] =A0 =A0Look at '/usr/local/xtools/arm-unknown-linux-gnueabi/buil= d.log' >> for more info on this error. > > And what is in this file? > > As Martin suggested, please post the relevant part of the build.log file. > If you do not know what part is relevant, do *not* post the entire file; > instead, put it on some website where we can download it. > > Regards, > Yann E. MORIN. > > -- > .-----------------.--------------------.------------------.--------------= ------. > | =A0Yann E. MORIN =A0| Real-Time Embedded | /"\ ASCII RIBBON | Erics' co= nspiracy: | > | +33 662 376 056 | Software =A0Designer | \ / CAMPAIGN =A0 =A0 | =A0___ = =A0 =A0 =A0 =A0 =A0 =A0 =A0 | > | +33 223 225 172 `------------.-------: =A0X =A0AGAINST =A0 =A0 =A0| =A0= \e/ =A0There is no =A0| > | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL =A0 =A0| =A0 v =A0= conspiracy. =A0| > '------------------------------^-------^------------------^--------------= ------' -- For unsubscribe information see http://sourceware.org/lists.html#faq