LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 08-30-2007, 07:01 AM   #1
sanjeet_guddu
LQ Newbie
 
Registered: Aug 2007
Posts: 5

Rep: Reputation: 0
Error in make process of binutils-2.16.1 (pass 1)


hi all!
i m using live cd.
during the make proces of binutils-2.16.1 (pass 1) the following error occured:

checking lex output file root... loop0: read i/o error, sector 9928
loop0: read i/o error, sector 9928
/mnt/lfs/binutils-build/binutils-2.16.1/ld/configure: line 4507: 6350 done
echo '%%
%%'
6351 Bus error |$LEX
configure: error : cannot find output from flex; giving up
make: *** [configure-ld] Error 1
make: Target 'all' not remade because of errors.


earlier i could not create binutils-build directory using d command given in book as lfs user. i did it by changing to root n made $LFS/binutils-build the working directory for binutils n proceeded

i also want to state that after this error i continued with make install that too had errors. i continued with a successful gcc compilation, but got trapped while compiling glibc which reqd ld at a stage.

need help.thanks in advance.
 
Old 09-25-2007, 01:15 PM   #2
Jaqui
Member
 
Registered: Jan 2006
Location: Vancouver BC
Distribution: LFS, SLak, Gentoo, Debian
Posts: 291

Rep: Reputation: 36
su - lfs
works, but you have to remember that $LFS is owned by root.
My normal procedure:
mkdir /mnt/lfs
cd /mnt/lfs
mkdir /tools
mkdir /sources
mkdir /build

then chown the three to lfs
cd build
tar ... [ whichever package ]
mkdir binutils-build
cd binutils-build
../configure ....
the other option, use the livecd and build everything as root, you can't harm the cd, just reboot and it's all reset
 
Old 09-25-2007, 01:48 PM   #3
Jaqui
Member
 
Registered: Jan 2006
Location: Vancouver BC
Distribution: LFS, SLak, Gentoo, Debian
Posts: 291

Rep: Reputation: 36
with the other errors, it looks like you made a typo or missed a step in setting up the environment.

I would recommend staring over and double or triple checking every line you enter.

It might also be an idea to use the r2052 [ for 32 bit ] or r2014 [ for 64 bit ] version of the livecd and use the current book, which is version 6.3

The 6.3 version uses newer versions of the software, binutils-2.17 for example.

and don't forget, lfs has the lfs-support@linuxfromscratch.org mailing list. [ membership required to post to it ] You might get faster responses on it, since most people using lfs spend more time reading email lists than website postings.
 
Old 09-26-2007, 05:17 AM   #4
sanjeet_guddu
LQ Newbie
 
Registered: Aug 2007
Posts: 5

Original Poster
Rep: Reputation: 0
thanks for the response,
i 've already compiled whole linux without using live cd..using any kind of live cd is just not working.i m getting same error again n again..i did it using (debian n fedora as the host)...but still i m getting the error after booting...some thing like this..

vfs:unable to mount sda7

i've gone through many hints n mail archives but could not solve it..if u can help me..
thanks once again..

Sanjeet
 
  


Reply

Tags
binutils


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
5.14. Binutils-2.15.91.0.2 - Pass 2 error! Flash_G Linux From Scratch 5 08-20-2006 06:02 AM
Binutils-2.15.94.0.2.2 - Pass 1 stuck up after make install kagashe Linux From Scratch 9 10-09-2005 11:42 AM
Binutils Pass 1 error make LDFLAGS="-all-static" Phyrexicaid Linux From Scratch 5 08-25-2005 10:43 AM
make: *** [configure-libiberty] Error 1 in 5.4. Binutils-2.15.91.0.2 - Pass 1 Flash_G Linux From Scratch 3 06-30-2005 08:51 PM
binutils first pass make install failure in LFS-6.0 dibyadeep Linux From Scratch 3 01-05-2005 03:34 PM


All times are GMT -5. The time now is 01:34 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