LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
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-16-2005, 09:02 AM   #1
wolver
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:
/tools/include
/tools/lib/gcc/i686-pc-linux-gnu/3.4.3/include
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 2.15.94.0.2 (i686-pc-linux-gnu) using BFD version 2.15.94.0.2 20041220
/tools/lib/gcc/i686-pc-linux-gnu/3.4.3/collect2 --eh-frame-hdr -m elf_i386 -dynamic-linker /lib/ld-linux.so.2 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
 
  


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
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


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