LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 11-17-2012, 10:46 PM   #1
tfnc99
Member
 
Registered: Sep 2012
Posts: 55

Rep: Reputation: Disabled
No crti.o or crt1(l?).o after first pass of glibc.


Well, when trying to compile the dummy.c this comes up:

$ $LFS_TGT-gcc dummy.c
/mnt/lfs/tools/bin/../lib/gcc/i686-lfs-linux-gnu/4.7.1/../../../../i686-lfs-linux-gnu/bin/ld: cannot find crt1.o: No such file or directory
/mnt/lfs/tools/bin/../lib/gcc/i686-lfs-linux-gnu/4.7.1/../../../../i686-lfs-linux-gnu/bin/ld: cannot find crti.o: No such file or directory
collect2: error: ld returned 1 exit status

Again, not sure if l or 1.

version_check.sh says everythings good-to-go.
No errors came up during binutils, gcc, or glibc in their first go.
There are no deviations from the book, V7.2

All help is welcome

EDIT: After running version-check.sh the second time, I started getting a ton of 'cannot determine tty' errors, I am going to have to start over. I still want help for this problem if I run into it again

Last edited by tfnc99; 11-17-2012 at 11:23 PM.
 
Old 11-18-2012, 04:13 AM   #2
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374
Quote:
Originally Posted by tfnc99 View Post
Well, when trying to compile the dummy.c this comes up:

$ $LFS_TGT-gcc dummy.c
/mnt/lfs/tools/bin/../lib/gcc/i686-lfs-linux-gnu/4.7.1/../../../../i686-lfs-linux-gnu/bin/ld: cannot find crt1.o: No such file or directory
/mnt/lfs/tools/bin/../lib/gcc/i686-lfs-linux-gnu/4.7.1/../../../../i686-lfs-linux-gnu/bin/ld: cannot find crti.o: No such file or directory
collect2: error: ld returned 1 exit status
This points to a host that is not fully compliant. You don't mention the host you are using, if you are using Debian you need to install the gcc or libc6-dev package.

Maybe other packages are also missing. Please post the output of the version_check.sh script.

Last edited by druuna; 11-18-2012 at 04:50 AM. Reason: fixed typo
 
Old 11-18-2012, 12:01 PM   #3
tfnc99
Member
 
Registered: Sep 2012
Posts: 55

Original Poster
Rep: Reputation: Disabled
Just got back around to it and you where right, I assumed those would be under build-essential -.-

Thank You

EDIT: The computer is a different one with only CLI and is hard to communicate with this one, but I have to assure you that other than the libc6-dev everything falls into those boundries.

Last edited by tfnc99; 11-18-2012 at 12:04 PM. Reason: Added infromation
 
  


Reply

Tags
gcc, lfs


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
Glibc 2.16 pass 1 Refractor Linux From Scratch 1 08-15-2012 01:59 AM
command to make crt1.o from a crt1.S manoj7410 Linux - Embedded & Single-board computer 1 06-12-2012 04:12 AM
WHAT NOW? ch.6 glibc pass 2 ahmed_alzahrani Linux From Scratch 5 09-03-2004 09:21 AM
Glibc Pass II Test Results g_goblin Linux From Scratch 0 11-17-2003 01:42 PM
crt1.o / glibc-devel chris17 Slackware 3 07-26-2003 03:28 PM


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