LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 01-03-2012, 01:35 AM   #1
chanducnu
LQ Newbie
 
Registered: Dec 2011
Posts: 6

Rep: Reputation: Disabled
error in installing corsstool-Ng


Hi,

I have installed cross compiler using crosstool-NG. i have configured it for cortex-A8 Neon.

When i selected OS to linux and tried to install the cross compiler tools, it gave me following error

mckala@mckala:~/crosstool-ng/crosstool-ng-1.6.1$ ./ct-ng build
[INFO ] Performing some trivial sanity checks
[INFO ] Build started 20111229.150630
[INFO ] Building environment variables
[WARN ] You did not specify the build system. That's OK, I can guess...
[INFO ] =================================================================
[INFO ] Retrieving needed toolchain components' tarballs
[ERROR] 'svn' not found and needed for successful toolchain build.
[00:02] / make: *** [build] Error 1

Why is it not able to get the toolchain components. do i need to configure anything here. please let me know.
 
Old 01-03-2012, 09:14 AM   #2
weibullguy
ReliaFree Maintainer
 
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware 14.2
Posts: 2,815
Blog Entries: 1

Rep: Reputation: 261Reputation: 261Reputation: 261
Quote:
[ERROR] 'svn' not found and needed for successful toolchain build.
What don't you understand? Install subversion and try again.
 
Old 01-04-2012, 02:17 AM   #3
chanducnu
LQ Newbie
 
Registered: Dec 2011
Posts: 6

Original Poster
Rep: Reputation: Disabled
Hi,

Thanks a lot. it worked. Now iam able to install some of the tools using crosstool-NG. after installing GCC test suite, i got error. following is the log.

[INFO ] Installing GCC test suite
[INFO ] Installing GCC test suite: done in 72.07s (at 110:27)
[INFO ] =================================================================
[INFO ] Cleaning-up the toolchain's directory
[INFO ] Stripping all toolchain executables
[110:27] / cat: /home/mckala/crosstool-ng/latest_1.11/crosstool-ng-1.11.0/.build/src/gcc-/gcc/BASE-VER: No such file or directory
[ERROR]
[ERROR] >> Build failed in step 'Cleaning-up the toolchain's directory'
[ERROR] >>
[ERROR] >> Error happened in: do_finish[scripts/build/internals.sh]
[ERROR] >> called from: main[scripts/crosstool-NG.sh@582]
[ERROR] >>
[ERROR] >> For more info on this error, look at the file: 'build.log'
[ERROR] >> There is a list of known issues, some with workarounds, in:
[ERROR] >> '/home/mckala/crosstool-ng/latest_1.11/install/share/doc/ct-ng-1.11.0/B - Known issues.txt'
[ERROR]
[ERROR] Build failed in step 'Cleaning-up the toolchain's directory'
[ERROR]
[ERROR] (elapsed: 110:26.52)
[110:27] / make: *** [build] Error 1

what i have to do to completely install tools.
 
Old 01-04-2012, 04:41 AM   #4
chanducnu
LQ Newbie
 
Registered: Dec 2011
Posts: 6

Original Poster
Rep: Reputation: Disabled
Hi,

iam able to install cross compilter using crosstool-NG. For reference iam posting the fix.

in scripts/build/internals.sh file

change the line

gcc_version=$( cat "${CT_SRC_DIR}/gcc-${CT_GCC_VERSION}/gcc/BASE-VER" )

to
gcc_version=$( cat "${CT_SRC_DIR}/gcc-${CT_CC_VERSION}/gcc/BASE-VER" )

Thanks for the help.
 
1 members found this post helpful.
Old 01-04-2012, 09:04 AM   #5
weibullguy
ReliaFree Maintainer
 
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware 14.2
Posts: 2,815
Blog Entries: 1

Rep: Reputation: 261Reputation: 261Reputation: 261
You should mark this thread as SOLVED.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Error in installing Lidia -2.3.0 in Ubuntu 11.04. show error in precondition_error.cc Anamika Paul Linux - Software 9 05-23-2012 05:24 AM
error while installing unixODBC-2.2.14 on AIX 5.3 -configure: error: C compiler canno sriram_nittala AIX 0 01-20-2010 03:18 AM
error when installing gift: error: cannot compute sizeof (short), 77 v1pEr Linux - Software 5 11-04-2004 02:43 AM
Error installing Alsa (Error copying pcm_lib.c) Doleo Linux - Software 1 02-25-2004 10:53 AM
ERROR running make when installing Nvidia drivers (syntax error) randyriver10 Linux - Software 5 02-21-2004 04:51 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 10:03 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration