Include config.h in various files before any other include statements
inode.c:407:82: error: struct ext2_inode has no member named i_dir_acl
Sorry, I didn't see the following: -SAMPLE_EXTRA_LIBS= +SAMPLE_EXTRA_LIBS="-lm" We...
Also see: https://bugs.gentoo.org/show_bug.cgi?id=426990
gsoap: chaining.o: In function `ns__pow': chaining.c:(.text+0x55): undefined reference to `pow'