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 05-23-2013, 01:11 PM   #16
richard620
LQ Newbie
 
Registered: May 2013
Posts: 12

Original Poster
Rep: Reputation: Disabled

All partitions were formatted and mounted as ext3; I just used the 'mount -v -t ext3 /dev/sdx# /mnt/lfs/...' from the documents.
 
Old 05-23-2013, 01:16 PM   #17
Keith Hedger
Senior Member
 
Registered: Jun 2010
Location: Wiltshire, UK
Distribution: Linux From Scratch, Slackware64, Partedmagic
Posts: 3,137

Rep: Reputation: 855Reputation: 855Reputation: 855Reputation: 855Reputation: 855Reputation: 855Reputation: 855
What about building the tool chain in a folder and not on the stick?
 
Old 05-23-2013, 01:38 PM   #18
richard620
LQ Newbie
 
Registered: May 2013
Posts: 12

Original Poster
Rep: Reputation: Disabled
That's an option, but they'll eventually what this to be done on a stick, so I need to find out if this can be done on a stick.
 
Old 05-23-2013, 01:48 PM   #19
Keith Hedger
Senior Member
 
Registered: Jun 2010
Location: Wiltshire, UK
Distribution: Linux From Scratch, Slackware64, Partedmagic
Posts: 3,137

Rep: Reputation: 855Reputation: 855Reputation: 855Reputation: 855Reputation: 855Reputation: 855Reputation: 855
You first need to eliminate possible causes of errors TRY building in a folder IF you get the same errors then you know that the problem is not with the stick, if it builds OK then the problem is either with the stick itself or how it's being mounted.
 
Old 05-23-2013, 04:43 PM   #20
spiky0011
Senior Member
 
Registered: Jan 2011
Location: PLANET-SPIKE
Distribution: /LFS/Debian
Posts: 2,511
Blog Entries: 1

Rep: Reputation: 412Reputation: 412Reputation: 412Reputation: 412Reputation: 412
Hi

FTI I have built from HD host to usb HD all worked
 
Old 05-23-2013, 04:52 PM   #21
Keith Hedger
Senior Member
 
Registered: Jun 2010
Location: Wiltshire, UK
Distribution: Linux From Scratch, Slackware64, Partedmagic
Posts: 3,137

Rep: Reputation: 855Reputation: 855Reputation: 855Reputation: 855Reputation: 855Reputation: 855Reputation: 855
Quote:
Originally Posted by spiky0011 View Post
Hi

FTI I have built from HD host to usb HD all worked
I can't see why using a usb stick in general would cause a problem as you say you have done it, the problem may be that specific stick or the way its mounted etc, but it is an easy thing to check and that then eliminates that possible source of error, so far the op seems to be doing everything 'by the book', there is obviously something wrong somewhere, so first its best to eliminate the obvious and easy sources of possible errors.
 
Old 05-24-2013, 12:13 PM   #22
richard620
LQ Newbie
 
Registered: May 2013
Posts: 12

Original Poster
Rep: Reputation: Disabled
I tried it all over again with a compact flash card and got the same error, so I looks like the usb stick wasn't the issue. It's still possible that the sources might have gotten messed up, even though the check-sums all matched when I first downloaded them, so I'm going to re-download them again (I copied the sources from the usb over to the compact flash). Testing on the hd is possible but only as a last resort since it will prove nothing other then it works on a hd... I still have to figure out why this doesn't work on a removable device since that is what I have to provide.
 
Old 05-24-2013, 02:09 PM   #23
spiky0011
Senior Member
 
Registered: Jan 2011
Location: PLANET-SPIKE
Distribution: /LFS/Debian
Posts: 2,511
Blog Entries: 1

Rep: Reputation: 412Reputation: 412Reputation: 412Reputation: 412Reputation: 412
Hi

An option build on HD, You could copy built system over afterwards.
 
Old 05-24-2013, 03:47 PM   #24
Keith Hedger
Senior Member
 
Registered: Jun 2010
Location: Wiltshire, UK
Distribution: Linux From Scratch, Slackware64, Partedmagic
Posts: 3,137

Rep: Reputation: 855Reputation: 855Reputation: 855Reputation: 855Reputation: 855Reputation: 855Reputation: 855
Quote:
Originally Posted by richard620 View Post
I tried it all over again with a compact flash card and got the same error
You still haven't eliminated the possibility that the problem lies with the card just build the tool chain to a folder on your hard drive if that doesn't work then you KNOW th problem is not the card.
 
Old 05-29-2013, 07:53 AM   #25
richard620
LQ Newbie
 
Registered: May 2013
Posts: 12

Original Poster
Rep: Reputation: Disabled
It does the same thing when I do it locally too. I keep getting a '/usr/lib64/libgmp.la can not be found' error the first time I run make for gcc, but it doesn't show up the second time I run make. It does the same thing when I was testing the remote drive. Other then that, I'm at a loose as to what's going on.
 
Old 05-29-2013, 09:53 AM   #26
Keith Hedger
Senior Member
 
Registered: Jun 2010
Location: Wiltshire, UK
Distribution: Linux From Scratch, Slackware64, Partedmagic
Posts: 3,137

Rep: Reputation: 855Reputation: 855Reputation: 855Reputation: 855Reputation: 855Reputation: 855Reputation: 855
the .la files are used by libtool and are basically a PITA and can usually be removed ( I removed all of them from my system ). what other errors are you getting?
 
Old 05-29-2013, 10:55 AM   #27
richard620
LQ Newbie
 
Registered: May 2013
Posts: 12

Original Poster
Rep: Reputation: Disabled
Besides my original posted error, none. I'll hit make again after I get the first 'missing la' error and then I get the 'GNU_USER_TARGET_OS_CPP_BUILTINS' error.
 
  


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
[SOLVED] LFS 7.2 GCC First pass: undefined reference to `GNU_USER_TARGET_OS_CPP_BUILTINS' anjohn Linux From Scratch 11 01-08-2013 06:09 AM
LFS 7.2 GCC First pass: undefined reference to `GNU_USER_TARGET_OS_CPP_BUILTINS' SuMZ Linux From Scratch 3 12-30-2012 07:33 AM
gcc linking: undefined reference to just about everything shabbychef Programming 7 09-09-2005 08:42 PM
gcc ld error. Undefined reference redness Linux - Software 4 02-08-2005 02:01 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

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