Dmytro Boyko wrote:
> Hi!
> When I attempted execute "make" in section 5.9. Binutils-2.19.1 - Pass 2
> I got an error:
> checking for off_t... yes
> checking size of off_t... configure: error: in 
> `/mnt/LFS/source/binutils-build/bfd':
> configure: error: cannot compute sizeof (off_t), 77
> See `config.log' for more details.
> make[1]: *** [configure-bfd] Error 1

That sounds like you have what's known as an "incomplete type".
That is, there is a declaration that a type exists, but not
a description of what it contains. The most likely cause for
that is an include file which has #ifdef or similar, for which
the condition is not met. That's likely caused by a lack of
a #define or -D... in the compiler invocation line. IOW,
some sort of environment problem.

Something like this:

        struct off_t;

        #ifdef DEFINE_OFF_T
        struct off_t {
                ....
        };
        #endif

> I don't have any idea what is this and  what I should to do.

Check carefully for missing environment setup.

> P.S. LFS book ver. 6.5 

This isn't a post script, it's vital information. So is the build
environment, and whether you have deviated from any of the book's
instructions, etc.

Mike
-- 
p="p=%c%s%c;main(){printf(p,34,p,34);}";main(){printf(p,34,p,34);}
Oppose globalization and One World Governments like the UN.
This message made from 100% recycled bits.
You have found the bank of Larn.
I speak only for myself, and I am unanimous in that!
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to