[sheepdog] sheepdog stable-0.7 compiler error on CentOS 6.5 x64bit

Hitoshi Mitake mitake.hitoshi at gmail.com
Tue Mar 11 02:44:24 CET 2014


On Sat, Mar 8, 2014 at 12:07 AM, redtone <kelphon at redtone.hk> wrote:
> wget https://github.com/sheepdog/sheepdog/archive/stable-0.7.zip
> unzip stable-0.7
> cd sheepdog-stable-0.7
> ./autogen.sh
> ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var
> --libdir=/usr/lib64 --enable-corosync
> Make
> Making all in lib
> make[1]: Entering directory `/root/sheepdog-stable-0.7/lib'
>   CC     event.o
>   CC     logger.o
> logger.c: 在函数‘__sd_dump_variable’中:
> logger.c:768: 错误:‘ARG_MAX’未声明(在此函数内第一次使用)
> logger.c:768: 错误:(即使在一个函数内多次出现,每个未声明的标识符在其
> logger.c:768: 错误:所在的函数内也只报告一次。)
> logger.c:768: 警告:未使用的变量‘cmd’
> logger.c: 在函数‘dump_stack_frames’中:
> logger.c:827: 错误:‘ARG_MAX’未声明(在此函数内第一次使用)
> logger.c:827: 警告:未使用的变量‘cmd’
> logger.c: 在函数‘sd_backtrace’中:
> logger.c:886: 错误:‘ARG_MAX’未声明(在此函数内第一次使用)
> logger.c:886: 警告:未使用的变量‘cmd’
> make[1]: *** [logger.o] 错误 1
> make[1]: Leaving directory `/root/sheepdog-stable-0.7/lib'
> make: *** [all-recursive] 错误 1

The patch for solving this problem is backported to stable-0.7. It
will be fixed soon. Thanks for your reporting.

Thanks,
Hitoshi


More information about the sheepdog mailing list