Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
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.


  Search this Thread
Old 01-16-2005, 09:02 AM   #1
LQ Newbie
Registered: Jan 2005
Posts: 1

Rep: Reputation: 0
can link with crt1.o error.

i got the following error after i finished reajusting the toolchain and performing a sanity check in chapter 6:

i find the crt1.o in /usr/lib but the ld can't link with it why?

can anybody help me with it?

root:/sources/binutils-build# cc -v dummy.c
Reading specs from /tools/lib/gcc/i686-pc-linux-gnu/3.4.3/specs
Configured with: ../gcc-3.4.3/configure --prefix=/tools --libexecdir=/tools/lib --with-local-prefix=/tools --enable-clocale=gnu --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-languages=c,c++ --disable-libstdcxx-pch
Thread model: posix
gcc version 3.4.3
/tools/lib/gcc/i686-pc-linux-gnu/3.4.3/cc1 -quiet -v dummy.c -quiet -dumpbase dummy.c -mtune=pentiumpro -auxbase dummy -version -o /tmp/cctcFtiO.s
ignoring nonexistent directory "/tools/lib/gcc/i686-pc-linux-gnu/3.4.3/../../../../i686-pc-linux-gnu/include"
#include "..." search starts here:
#include <...> search starts here:
End of search list.
GNU C version 3.4.3 (i686-pc-linux-gnu)
compiled by GNU C version 3.4.3.
GGC heuristics: --param ggc-min-expand=90 --param ggc-min-heapsize=112960
/tools/lib/gcc/i686-pc-linux-gnu/3.4.3/../../../../i686-pc-linux-gnu/bin/as -V -Qy -o /tmp/cc4TmlLv.o /tmp/cctcFtiO.s
GNU assembler version (i686-pc-linux-gnu) using BFD version 20041220
/tools/lib/gcc/i686-pc-linux-gnu/3.4.3/collect2 --eh-frame-hdr -m elf_i386 -dynamic-linker /lib/ crt1.o crti.o /tools/lib/gcc/i686-pc-linux-gnu/3.4.3/crtbegin.o -L/tools/lib/gcc/i686-pc-linux-gnu/3.4.3 -L/tools/lib/gcc/i686-pc-linux-gnu/3.4.3/../../../../i686-pc-linux-gnu/lib /tmp/cc4TmlLv.o -lgcc --as-needed -lgcc_s --no-as-needed -lc -lgcc --as-needed -lgcc_s --no-as-needed /tools/lib/gcc/i686-pc-linux-gnu/3.4.3/crtend.o crtn.o
/tools/lib/gcc/i686-pc-linux-gnu/3.4.3/../../../../i686-pc-linux-gnu/bin/ld: crt1.o: No such file: No such file or directory
collect2: ld returned 1 exit status


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
Where do I find 'crt1.o' and 'crtn.o' for gcc 3.4.1 ? Qwirt Linux - Software 1 07-28-2004 06:08 PM
XFree86 error "SIS(0): CRT1 DDC reading failed" do not understand, please advise... Halston2 Linux - General 3 01-04-2004 12:04 AM
ld: cannot open crt1.o: No such file or directory PeterRanson *BSD 4 10-31-2003 11:31 AM
Slackware 8.1 is completely missing crt1.o fern Slackware 11 08-31-2003 06:33 AM
crt1.o / glibc-devel chris17 Slackware 3 07-26-2003 02:28 PM > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

All times are GMT -5. The time now is 04:41 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration