Ok, and thank you very much William It helps me.
The problem was : I couldn't execute the configure command as lfs user. So I logged as root. I have exported LFS but not the PATH. after exporting the PATH, it worked. thank you for your help. Sam. ---------------------------------------- > From: [EMAIL PROTECTED] > To: [email protected] > Subject: Re: Glibc configure problem > Date: Thu, 15 May 2008 10:44:00 -0500 > > > On May 15, 2008, at 10:07 AM, samuel poette wrote: > >> >> Hello, >> >> I am new to LFS and linux in general, >> >> But I want to learn and I am applying the LFS book to the letter... >> >> But I have a problem in Chapter 5... >> >> glibc cannot configure. >> >> I have looked at the log file but it only tells the same problem : >> problem with init_array/fini_array support. >> >> here is the final piece of the configure command : >> >> /tools/bin/ld: unrecognized option '--hash-style=gnu' >> /tools/bin/ld: use the --help option for usage information >> collect2: ld returned 1 exit status >> configure:5507: $? = 1 >> configure:5520: result: no >> configure:5523: error: Need linker with .init_array/.fini_array >> support. >> >> can anyone help? I don't understand, > > > What's your path? Are you using the gcc you built in /tools? I see > that /tools/bin/ld is being used, > but if you aren't using your new gcc at /tools/bin/gcc, there will be > problems. > > Make sure the output of 'type -p gcc' isn't /usr/bin/gcc or where your > host gcc is located. > > > William > -- > http://linuxfromscratch.org/mailman/listinfo/lfs-support > FAQ: http://www.linuxfromscratch.org/lfs/faq.html > Unsubscribe: See the above information page _________________________________________________________________ Avec Hotmail, vos e-mails vous suivent partout ! Mettez Hotmail sur votre mobile ! http://www.messengersurvotremobile.com/?d=hotmail -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
