Hi Ken,
here is the output of the file from the lines above it - if you need more
info let me know - thanks a lot!
long longval () { return (long) (sizeof (long double)); }
| unsigned long ulongval () { return (long) (sizeof (long double)); }
| #include <stdio.h>
| #include <stdlib.h>
| int
| main ()
| {
|
| FILE *f = fopen ("conftest.val", "w");
| if (! f)
| exit (1);
| if (((long) (sizeof (long double))) < 0)
| {
| long i = longval ();
| if (i != ((long) (sizeof (long double))))
| exit (1);
| fprintf (f, "%ld\n", i);
| }
| else
| {
| unsigned long i = ulongval ();
| if (i != ((long) (sizeof (long double))))
| exit (1);
| fprintf (f, "%lu\n", i);
| }
| exit (ferror (f) || fclose (f) != 0);
|
| ;
| return 0;
| }
configure:7509: error: cannot compute sizeof (long double), 77
See `config.log' for more details.
From: Ken Moffat <[EMAIL PROTECTED]>
Reply-To: LFS Support List <[email protected]>
To: LFS Support List <[email protected]>
Subject: Re: Hello and a question
Date: Fri, 29 Dec 2006 13:56:17 +0000
On Fri, Dec 29, 2006 at 01:35:02PM +0000, travis formoso wrote:
>
> I am at this part -
>
> Code:
>
> ../glibc-2.3.6/configure --prefix=/tools \ --disable-profile
> --enable-add-ons \ --enable-kernel=2.6.0 --with-binutils=/tools/bin \
> --without-gd --with-headers=/tools/include \ --without-selinux
>
>
> After I do that I get an error: checking size of long double...
configure:
> error: cannot compute sizeof (long double), 77
>
Look at the output from configure, probably in config.log or
configure.log (for a few packages, there are also config.log files
in subdirectories). Find the error message, then look at the lines
above it to see the error that the code fragment produced.
Normally, config.log contains a lot of error messages, because
configure has to determine what sort of system you have, and which
functions and headers are available to it. So, only worry about the
messages which caused it to fail and then report that it could not
compute sizeof (long double). If you don't understand those error
messages, post the relevant lines here.
> Then I try make and get: make: *** No targets specified an no makefile
> found. Stop.
>
That is fairly obvious - the configure failed, so the Makefile
never got created. As a general rule, when you get an error,
stop until you have resolved it.
Ken
--
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
_________________________________________________________________
Fixing up the home? Live Search can help
http://imagine-windowslive.com/search/kits/default.aspx?kit=improve&locale=en-US&source=hmemailtaglinenov06&FORM=WLMTAG
--
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page