Hi all, I'm trying to build the latest version of the book (Version 2015-06-26) from svn and got a compile error for mdadm:
In function `count_dirty_bits': /sources/mdadm-3.3.2/bitmap.c:101: undefined reference to `count_dirty_bits_byte' /sources/mdadm-3.3.2/bitmap.c:104: undefined reference to `count_dirty_bits_byte' bitmap.o: In function `bitmap_fd_read': /sources/mdadm-3.3.2/bitmap.c:152: undefined reference to `sb_le_to_cpu' bitmap.o: In function `CreateBitmap': /sources/mdadm-3.3.2/bitmap.c:392: undefined reference to `sb_cpu_to_le' collect2: error: ld returned 1 exit status Makefile:176: recipe for target 'mdadm' failed make: *** [mdadm] Error 1 I did a quick search and found a reference to mdadm vs gcc5 discussion in http://lists.linuxfromscratch.org/pipermail/patches/2015-April/004667.html However I don't see a reference to the patch in the book neither patch in http://www.linuxfromscratch.org/blfs/downloads/svn/ Could mdadm be compiled with gcc5 and without a patch or mdadm chapter needs fixing in the book? regards, alexey -- http://lists.linuxfromscratch.org/listinfo/blfs-dev FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
