Error while building gcc tool chain using crosstool-ng-1.6.1

Michael Zintakis michael.zintakis@googlemail.com
Sun Apr 10 11:57:00 GMT 2011


Pradheep,


I don't know if you are aware, but your email was private without 
including the list, so I am forwarding your email below allowing 
everyone on that list to see it and have the opportunity to comment on 
the problem you are experiencing.

In the future, when replying, use the "Reply-To-All" option on your 
email client so that the email address of the list 
(crossgcc@sourceware.org) is included. Also, do *NOT* use html code when 
composing your replies - it is a _very_ bad etiquette, use plain text 
instead!

As for the problem you describe below, my guess would be that 1) you 
should not set any environment variables prior to running ct-ng; 2) 
upgrade to the most recent version available (1.10.1 as far as I know); 
and 3) look at the main ct-ng log file (usually in the install 
directory) to see exactly what the error was and what was causing it and 
try to rectify it.

Good luck!


MZ

Pradheep Kumar K wrote:
> Sir,
> I am working with crosstool-ng-1.6.1. I have installed the tool and I 
> am able to see the menu screen. While attempting to build the tool 
> chain using the commands
>
> unset LD_LIBRARY_PATH LIBRARY_PATH CPATH
> export LD_LIBRARY_PATH LIBRARY_PATH CPATH
> ./ct-ng build
>
> I am getting the following error
>
> Installing binutils
> [EXTRA]    Configuring binutils
> [EXTRA]    Building binutils
> [ERROR]    make[2]: *** [configure-ld] Error 1
> [ERROR]    make[1]: *** [all] Error 2
> [ERROR]    Build failed in step 'Installing binutils'
> [ERROR]    Error happened in 
> '/home/pradeep/crosstool-ng-1.6.1/scripts/functions' in function 
> 'CT_DoExecLog' (line unknown, sorry)
> [ERROR]          called from 
> '/home/pradeep/crosstool-ng-1.6.1/scripts/build/binutils/binutils.sh' 
> at line # 51 in function 'do_binutils'
> [ERROR]          called from 
> '/home/pradeep/crosstool-ng-1.6.1/scripts/crosstool-NG.sh' at line # 
> 562 in function 'main'
> [ERROR]    Look at 
> '/home/pradeep/x-tools/alphaev4-unknown-elf/build.log' for more info 
> on this error.
> [ERROR]  (elapsed: 59:01.00)
> [59:02] / make: *** [build] Error 2
>
> How should I rectify the same. Kindly help me out on the same.
>
> Pradheep

--
For unsubscribe information see http://sourceware.org/lists.html#faq



More information about the crossgcc mailing list