Another thing I am not sure about is whether to keep the extracted directories in the sources folders or to delete them. The book says to delete them till otherwise indicated. I read on the linux questions forum it is a good idea to keep them. What would be the right thing to do?
thanks again & best regards On Mon, Jun 22, 2015 at 9:19 PM, Sandeep Singh <[email protected]> wrote: > Ken, > Looks like I had not typed the sed command properly. I am typing all the > commands and not copy pasting them. > Anyways, I did as suggested by you and Thanos deleted the extracted > directory of e2fsprogs and extracted it again and went through the whole > process again and it worked. > thanks for the other info though. > > cheers > > On Mon, Jun 22, 2015 at 7:16 PM, Ken Moffat <[email protected]> > wrote: > >> On Mon, Jun 22, 2015 at 05:43:26PM +0000, Sandeep Singh wrote: >> > Hello, >> > >> > I am using Arch linux as the host system and version 7.7 of the LFS >> book. >> > The check commands after gcc build in 6.17 came out spot on. >> > Now while making e2fsprogs I am getting this error >> > >> > ./../../lib/ext2fs/closefs.c:1:3: error: expected '=', ',', ';', 'asm' >> or >> > '__attribute__' before '.' token >> > nt.*old_desc_blocks/s/int/blk64_t/ >> > ^ >> > In file included from /tools/include/stdio.h:74:0, >> > from ../../../lib/ext2fs/closefs.c:26: >> > /tools/include/libio.h:306:3: error: unknown type name 'size_t' >> > size_t __pad5; >> > ^ >> >> I'll snip the rest. After the first error when a program fails to >> compile, there is usually not much _reliable_ information in later >> errors. >> >> For that first message, I am unable to make any sense of where the >> error is apparently reported, the line >> > nt.*old_desc_blocks/s/int/blk64_t/ >> looks like garbage (or, perhaps like the end of a sed command). >> >> However, the error about size_t implies that /usr/include/stdio.h is >> somewhow deficient. On a more recent system, that file contains, >> among many other things, >> >> # ifndef __ssize_t_defined >> typedef __ssize_t ssize_t; >> # define __ssize_t_defined >> # endif >> >> If your stdio.h does not include that, I will be very surprised. >> >> Assuming that stdio.h is ok, please delete your extracted e2fprogs >> directory, check that the md5sum of the tarball is still correct (I >> once had corrupt files in the system cache, because of a RAM fault), >> and then try again. >> >> ĸen >> -- >> Nanny Ogg usually went to bed early. After all, she was an old lady. >> Sometimes she went to bed as early as 6 a.m. >> -- >> http://lists.linuxfromscratch.org/listinfo/lfs-support >> FAQ: http://www.linuxfromscratch.org/blfs/faq.html >> Unsubscribe: See the above information page >> >> Do not top post on this list. >> >> A: Because it messes up the order in which people normally read text. >> Q: Why is top-posting such a bad thing? >> A: Top-posting. >> Q: What is the most annoying thing in e-mail? >> >> http://en.wikipedia.org/wiki/Posting_style >> > >
-- http://lists.linuxfromscratch.org/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page Do not top post on this list. A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail? http://en.wikipedia.org/wiki/Posting_style
