LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.

Notices

Reply
 
Search this Thread
Old 01-02-2011, 12:56 PM   #1
gau190188
LQ Newbie
 
Registered: Jan 2011
Posts: 2

Rep: Reputation: 0
ERROR: During Make of GCC-4.5.1 - Pass 1


lfs@mini:/media/LFS/gcc-build$ make
[ -f stage_final ] || echo stage3 > stage_final
make[1]: Entering directory `/media/LFS/gcc-build'
make[2]: Entering directory `/media/LFS/gcc-build'
make[3]: Entering directory `/media/LFS/gcc-build'
mv: cannot move `gcc' to `stage1-gcc/gcc': Directory not empty
make[3]: *** [stage1-end] Error 1
make[3]: Leaving directory `/media/LFS/gcc-build'
make[2]: *** [stage1-start] Error 1
make[2]: Leaving directory `/media/LFS/gcc-build'
make[2]: Entering directory `/media/LFS/gcc-build'
make[3]: Entering directory `/media/LFS/gcc-build/libiberty'
make[4]: Entering directory `/media/LFS/gcc-build/libiberty/testsuite'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/media/LFS/gcc-build/libiberty/testsuite'
make[3]: Leaving directory `/media/LFS/gcc-build/libiberty'
Configuring stage 1 in ./gmp
/media/LFS/sources/gcc-4.5.1/gmp/configure: line 2786: config.log: Permission denied
/media/LFS/sources/gcc-4.5.1/gmp/configure: line 2796: config.log: Permission denied
make[2]: *** [configure-stage1-gmp] Error 1
make[2]: Leaving directory `/media/LFS/gcc-build'
make[1]: *** [stage1-bubble] Error 2
make[1]: Leaving directory `/media/LFS/gcc-build'
make: *** [all] Error 2
 
Old 01-02-2011, 02:31 PM   #2
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373
Hi,

This: /media/LFS/gcc-build looks wrong.

Assuming $LFS is set to /media/LFS (you're a bit limited with the info you provide) this should read: /media/LFS/sources/gcc-build

You probably did the following step from within the wrong directory:
Quote:
mkdir -v ../gcc-build
cd ../gcc-build
It should be done from the gcc directory (/media/LFS/sources/gcc-4.5.1) and not from the sources directory (/media/LFS/sources).

Hope this helps.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
GCC - Pass 1 Make error furry-penguin Linux From Scratch 7 09-29-2010 04:43 PM
LFS 6.6 - Chapter 5.5 - make[2]: *** [buildgetconstants.o] Error 1 - GCC Pass 1 malikcpp Linux From Scratch 3 06-29-2010 08:09 AM
5.5. GCC-4.4.0 - Pass 1 Make Problem pcallahan80 Linux From Scratch 10 03-05-2010 06:07 PM
GCC 2nd pass make error - xgcc cannot find -lc cogitocumimpune Linux From Scratch 1 01-11-2009 07:13 AM
gcc 4.0.3 first pass - 'make bootstrap' radiodee1 Linux From Scratch 6 10-10-2006 03:20 PM


All times are GMT -5. The time now is 08:53 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration