Hello,Bradley,
I tried to compiled nfs-utils-1.1.0, please refter to the following steps:
(1)Using ltib command to release source code.
# ./ltib -m prep -p nfs-utils
Then source code will release to path "ltib/rpm/BUILD/nfs-utils-1.1.0"
(2)Add a Header file into 2 files
** open ltib/rpm/BUILD/nfs-utils-1.1.0/utils/exportfs/exportfs.c , and add "#include <sys/stat.h>"
**open ltib/rpm/BUILD/nfs-utils-1.1.0/utils/mount/mount.c , and add "#include <sys/stat.h>"
(3)Modify nfs-utils.spec file
**open ltib/dist/lfs-5.1/nfs-utils/nfs-utils.spec, and ajust configure line like following:
./configure --prefix=%{_prefix} --host=$CFGHOST --build=%{_build} \
--disable-nfsv4 --disable-uuid --disable-gss --without-tcp-wrappers
(4)Begin to compile nfs-utils
# ./ltib -m scbuild -p nfs-utils
You should compile it successfully ! attachment is log, for you a reference to check issue.
Regards,
Weidong