On 04/04/2018 04:42 PM, jens thys wrote:
Hi,
Compilation error during make after std ./configure values dictated in
the blfs book.
convert/source-ext2.c:425:13: error: ‘struct ext2_ext_attr_entry’ has no
member named ‘e_value_block’; did you mean ‘e_value_offs’?
if (entry->e_value_block != 0 || value_size > size ||
^~~~~~~~~~~~~
e_value_offs
make: *** [Makefile:282: convert/source-ext2.o] Error 1
1- most correct solution:
Change the line 425 column 13 value of the source file
convert/source-ext2.c from e_value_block to e_value_offs. In this case
compilation runs
off correctly and the final btrfs-convert function is available in the
system.
2- otherwise add in the .configure step the option -- disable-convert.
In this case obviously the btrfs-convert function is absent .
struct ext2_ext_attr_entry is defined in /usr/include/ext2fs/ext2_ext_attr.h
My version of that does have
__u32 e_value_block; /* disk block attribute is stored on (n/i) */
what version of e2fsprogs do you have? It should be 1.43.9.
Also, using e_value_offs may satisfy the compiler, but does not do the
right thing for the logic of the program.
-- Bruce
--
http://lists.linuxfromscratch.org/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page