This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: error in step "installing c library"


Hello Sanatan!
Hello All!

On Tuesday 29 December 2009 16:59:09 sanatan R wrote:
> i am trying to install crosstool ng in ubuntu 9.10. i am getting this
> error while building.

Excerpt from the log you sent:

[ERROR]  Build failed in step 'Installing C library'
[ERROR]  Error happened in '/usr/local/lib/ct-ng-1.5.1/scripts/functions'
         in function 'CT_DoExecLog' (line unknown, sorry)
[ERROR]  called from '/usr/local/lib/ct-ng-1.5.1/scripts/build/libc/glibc.sh'
         at line # 502 in function 'do_libc'
[ERROR]  called from '/usr/local/lib/ct-ng-1.5.1/scripts/crosstool-NG.sh'
         at line # 544 in function 'main'
[ERROR]  Look at '/root/x-tools/arm-unknown-linux-gnu/build.log' for more
         info on this error.
[ERROR]  (elapsed: 53:12.97)
[53:14] / make: *** [build] Error 2

This is not enough to debug. Please send the build.log file (compressed
with bzip2 or xz/lzma), as pointed to by the above message.

Also, do NOT build as root (as you seem to be doing, loking at the paths).
This is dangerous, very dangerous! If it happens there is an (unknown!) bug
in crosstool-NG, it could destroy your entire system (as it uses "rm -rf"
with variables). Moreover, crosstool-NG does *not* require root priviledges
to build.

Regards,
Yann E. MORIN.

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
`------------------------------^-------^------------------^--------------------'



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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]