Hi Ken, I was trying to reinstall gcc as given in LFS-6.2. For 'make' I have obtained some errors. Then I checked whether some configuration problems are there. The config.log made me think like that. Based on your kind reply I ran 'make', and 'make install' and conducted dummy test and found everything working. Sorry for the wrong message. Let me continue to build linux from scratch. Thanks a lot and regards. --- Ken Moffat <[EMAIL PROTECTED]> wrote:
> On Tue, Apr 24, 2007 at 08:45:40AM -0700, Gopa Kumar > wrote: > > Hi, > > I have reached section 5.11. That is, > Reinstallation > > of gcc. Everything worked fine so far. However, > the > > configure command generates the following errors > (as > > obtained in config.log). I tried it many times in > > vain. > > Pl, help me to come out of this. > > With Regards, > > Gopa Kumar > > Hi Gopa, can you tell us what error(s) you got that > made you decide > to look at config.log, please ? Normally, > config.log is only useful > after a failure to configure or make, and nothing > here looks wrong. > > First, you may have multiple files called > config.log in some of the > subdirectories (from outside chroot, try > find /mnt/lfs -name 'config.log' > to see if there are indeed more of them). > > Usually the configure script itself puts its > results on stderr, > so you get things like > checking host system type... i686-pc-linux-gnu > - you might find it helpful to rerun configure, > following the > command in the book with '| tee conflog 2>&1' to > keep everything > in one file so that you can refer back to it > afterwards. > > I'll comment on the one failed test in what you > showed us - > > > configure:2258: checking for correct version of > gmp.h > > configure:2271: gcc -c -g -O2 conftest.c 1>&5 > > configure:2261:17: error: gmp.h: No such file or > > directory > > configure: In function 'main': > > configure:2265: error: 'choke' undeclared (first > use > > in this function) > > configure:2265: error: (Each undeclared identifier > is > > reported only once > > configure:2265: error: for each function it > appears > > in.) > > configure:2265: error: syntax error before 'me' > From memory, this is a test to see if it is > building on, or for, one > of the BSDs. Like many things in configure scripts, > it's _expected_ > to fail. > > ĸen > -- > das eine Mal als Tragödie, das andere Mal als Farce > -- > http://linuxfromscratch.org/mailman/listinfo/lfs-support > FAQ: http://www.linuxfromscratch.org/lfs/faq.html > Unsubscribe: See the above information page > __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
