[sheepdog] [PATCH 1/3] build: add 'make coverage' target
MORITA Kazutaka
morita.kazutaka at gmail.com
Wed Jun 5 03:01:35 CEST 2013
At Mon, 3 Jun 2013 19:32:27 +0800,
Kai Zhang wrote:
>
> Signed-off-by: Kai Zhang <kyle at zelin.io>
> ---
> .gitignore | 4 ++++
> Makefile.am | 15 +++++++++++++++
> collie/Makefile.am | 3 +++
> configure.ac | 1 +
> sheep/Makefile.am | 3 +++
> 5 files changed, 26 insertions(+), 0 deletions(-)
make coverage results in compile errors on my environment.
Making all in sheepfs
make[2]: Entering directory `/home/kazutaka/git/sheepdog/sheepfs'
CC core.o
In file included from /usr/include/fuse/fuse.h:26,
from /usr/include/fuse.h:9,
from core.c:14:
/usr/include/fuse/fuse_common.h:32:2: error: #error Please add -D_FILE_OFFSET_BITS=64 to your compile flags!
core.c:246: error: unknown field 'readdir' specified in initializer
cc1: warnings being treated as errors
core.c:246: error: initialization from incompatible pointer type
core.c:248: error: initialization from incompatible pointer type
core.c:249: error: initialization from incompatible pointer type
core.c:250: error: initialization from incompatible pointer type
core.c:251: error: initialization from incompatible pointer type
core.c: In function 'sheepfs_main_loop':
core.c:271: error: too many arguments to function 'fuse_main_compat2'
make[2]: *** [core.o] Error 1
make[2]: Leaving directory `/home/kazutaka/git/sheepdog/sheepfs'
make[1]: *** [all-recursive] Error 1
> diff --git a/configure.ac b/configure.ac
> index e06e55c..ef47672 100644
> --- a/configure.ac
> +++ b/configure.ac
> @@ -73,6 +73,7 @@ AC_PROG_LN_S
> AC_PROG_MAKE_SET
> AC_PROG_RANLIB
> AC_CHECK_PROGS([GROFF], [groff])
> +PKG_CHECK_MODULES([CHECK], [check >= 0.9.4])
This adds an additional dependency. Can you update the INSTALL file?
Thanks,
Kazutaka
More information about the sheepdog
mailing list