![]() |
![]() |
![]() |
|||||
![]() |
![]() |
![]() |
![]() |
![]() |
|||
| Welcome
to Tech Support Forum home to more then 136,000 problems solved. Issues
have included: Spyware, Malware, Virus Issues, Windows, Microsoft,
Linux, Networking, Security, Hardware, and Gaming Getting your
problem solved is as easy as: 1. Registering for a free account 2. Asking your question 3. Receiving an answer Registered members: * See fewer ads. * And much more..
|
| Want to know how to post a question? click here | Having problems with spyware and pop-ups? First Steps |
|
|||||||
| Linux Support Linux - Operating Systems and Applications Support |
![]() |
|
|
LinkBack | Thread Tools |
|
|
#1 (permalink) |
|
Registered User
Join Date: Jul 2008
Posts: 30
OS: Ubuntu 8.04 LTS
|
LFS problems
i'm trying out LFS and i'm disappointed that i was unable to get past the first requisite without an error, can someone help me configure what this means after running this sequence:
cd /tmp tar zxvf e2fsprogs-1.40.2 cd e2fsprogs-1.40.2 mkdir -v build cd build ../configure and i got the error remark.. root@home-desktop:/tmp/e2fsprogs-1.40.2/build# mk dir /usr/bin/ld -bash: mk: command not found root@home-desktop:/tmp/e2fsprogs-1.40.2/build# mkdir /usr/bin/ld mkdir: cannot create directory `/usr/bin/ld': File exists root@home-desktop:/tmp/e2fsprogs-1.40.2/build# ../configure Generating configuration file for e2fsprogs version 1.40.2 Release date is July, 2007 checking build system type... i686-pc-linux-gnulibc1 checking host system type... i686-pc-linux-gnulibc1 CC defaults to cc checking for gcc... cc checking for C compiler default output file name... configure: error: C compiler cannot create executables See `config.log' for more details. the config.log file shows this: configure:2366: $? = 1 configure:2389: checking for C compiler default output file name configure:2416: cc conftest.c >&5 /usr/bin/ld: crt1.o: No such file: No such file or directory collect2: ld returned 1 exit status configure:2419: $? = 1 configure:2457: result: configure: failed program was: | /* confdefs.h. */ Last edited by iconicmoronic; 07-29-2008 at 01:42 AM. |
|
|
|
| Important Information |
|
Join the #1 Tech Support Forum Today - It's Totally Free!
TechSupportForum.com is a leading support website for your computer needs. We offer free, friendly and personalized computer support. Why pay to have your computer fixed when you can do it for free. Join TechSupportforum.com Today - Click Here |
|
|
#2 (permalink) |
|
Manager
Join Date: Sep 2004
Location: Colorado
Posts: 986
OS: Mac OS 9.1, Mac OS X 10.5.8, WinXP Pro, FreeBSD 6.0, Gentoo Linux
|
Re: LFS problems
Could you tell us the page of the book? Since it's a free document, being able to see the page number may help.
The key line as far as I can determine would be: /usr/bin/ld: crt1.o: No such file: No such file or directory equery (a nice command on Gentoo systems) tells me crt1.o belongs to the glibc package (which is called libc6 on *buntus and probably most other Debian-based systems). Here are some packages you should make sure are installed on your system (if this error is happening from an Ubuntu system): libc6 libc6-dev gcc If you search for gcc, you'll get sdf list with gcc, gcc-3.3, gcc-3.3-base, gcc-4.1, gcc-4.1-base, etc. The one that's only "gcc" should be installed and at least one pair of "gcc-m.n" and "gcc-m.n-base" (where m and n are the major and minor version numbers) are installed. You can have multiple gcc versions installed, although typically it's only expected to happen on developer installs.
__________________
![]() Has it been a few days since I replied to your thread? Don't panic! I'm a busy college student and may forget a post if I'm extra busy (or it might just take me a while to be able to do a decent reply). If you still need help and are awaiting my reply after a few days, PM me about it. When posting what errors you get, please give the full message. It makes helping you much easier. |
|
|
|
|
|
#3 (permalink) |
|
Registered User
Join Date: Oct 2007
Location: Littleton, Colorado USA
Posts: 470
OS: xp 64 sp2 Fedora Core 8 (vmware xp core 8 x32) Minix
|
Re: LFS problems
crt1.o is the file that sets up and saves the registers when a main routine calls a subroutine. So when the subroutine finishes, it knows how to unwind the stack and get back to the main.
The gcc development system is not installed. Here is the "objdump" of crt1.o: 0000000000000000 <_start>: 0: 31 ed xor %ebp,%ebp 2: 49 89 d1 mov %rdx,%r9 5: 5e pop %rsi 6: 48 89 e2 mov %rsp,%rdx 9: 48 83 e4 f0 and $0xfffffffffffffff0,%rsp d: 50 push %rax e: 54 push %rsp f: 49 c7 c0 00 00 00 00 mov $0x0,%r8 16: 48 c7 c1 00 00 00 00 mov $0x0,%rcx 1d: 48 c7 c7 00 00 00 00 mov $0x0,%rdi 24: e8 00 00 00 00 callq 29 <_start+0x29> 29: f4 hlt 2a: 90 nop 2b: 90 nop This is probably more that you every wanted to know. |
|
|
|
|
|
#4 (permalink) | |
|
Registered User
Join Date: Oct 2007
Location: Littleton, Colorado USA
Posts: 470
OS: xp 64 sp2 Fedora Core 8 (vmware xp core 8 x32) Minix
|
Re: LFS problems
Quote:
|
|
|
|
|
![]() |
| Thread Tools | |
|
|