I commented out strings.h in set_fields.c and ext2fsprogs-1.40.8 builds successfully.
Daniel Daniel Murungi writes: > > Hello, > > I get the following error when building e2fsprogs (chapter 5); > > CC ../../debugfs/lsdel.c > CC ../../debugfs/dump.c > CC ../../debugfs/set_fields.c > In file included from ../../debugfs/set_fields.c:25: > /tools/include/strings.h:38: error: expected identifier or '(' before 'void' > /tools/include/strings.h:38: error: expected ')' before '(' token > /tools/include/strings.h:42: error: expected identifier or '(' before 'void' > /tools/include/strings.h:42: error: expected ')' before '(' token > make[2]: *** [set_fields.o] Error 1 > make[2]: Leaving directory > `/mnt/hlfs/sources/e2fsprogs-1.40.8/build/debugfs' > make[1]: *** [all-progs-recursive] Error 1 > make[1]: Leaving directory `/mnt/hlfs/sources/e2fsprogs-1.40.8/build' > make: *** [all] Error 2 > > Ext2fsprogs 1.40.2 builds without errors. > > Daniel > > > Myth: Knowledge is Power > Truth: APPLIED Knowledge is Power > -- > http://linuxfromscratch.org/mailman/listinfo/hlfs-dev > FAQ: http://www.linuxfromscratch.org/faq/ > Unsubscribe: See the above information page Myth: Knowledge is Power Truth: APPLIED Knowledge is Power -- http://linuxfromscratch.org/mailman/listinfo/hlfs-dev FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page