[sheepdog-users] cannot compile latest origin branch
icez network
icez at icez.net
Wed Feb 12 16:14:28 CET 2014
Hello,
I'm trying to compile sheepdog from origin and devel branch in CentOS 6.5
but the compile failed as below.
[root at mizar sheepdog]# ./autogen.sh
Building configuration system...
Now run ./configure and make
[root at mizar sheepdog]# ./configure --prefix=/opt/sheep-20140212
--enable-zookeeper --disable-corosync
.
.
configure process goes here
.
.
sheepdog configuration:
Version = 0.8.0_56_g55edf5b
Prefix = /opt/sheep-20140212
Executables = ${exec_prefix}/sbin
Man pages = ${datarootdir}/man
Doc dir = ${datarootdir}/doc/${PACKAGE_TARNAME}
Libraries = ${exec_prefix}/lib
Header files = ${prefix}/include
Arch-independent files = ${datarootdir}
State information = ${prefix}/var
System configuration = ${prefix}/etc
System init.d directory = ${prefix}/etc/init.d
sheepdog config dir = ${prefix}/etc/sheepdog
Features = zookeeper sheepfs
sheepdog build info:
Library SONAME =
Default optimization = -DNDEBUG
Default debug options =
Extra compiler warnings =
Env. defined CFLAG = -g -O2
Env. defined CPPFLAGS =
Env. defined LDFLAGS =
OS defined CFLAGS =
OS defined CPPFLAGS =
OS defined LDFLAGS =
OS defined LDL = -ldl
OS defined DYFLAGS =
ANSI defined CPPFLAGS =
Coverage CFLAGS =
Coverage LDFLAGS =
Fatal War. CFLAGS =
Trace CFLAGS =
Final CFLAGS = -g -O2 -DNDEBUG -ggdb3 -Wall -Wshadow
-Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes
-Wpointer-arith -Wwrite-strings -Wbad-function-cast
-Wmissing-format-attribute -Wformat=2 -Wformat-security -Wformat-nonliteral
-Wno-long-long -Wno-strict-aliasing -Wcast-align -D_GNU_SOURCE
-D_LGPL_SOURCE -std=gnu99
Final CPPFLAGS =
Final LDFLAGS =
[root at mizar sheepdog]# make
Making all in lib
make[1]: Entering directory `/usr/local/src/sheepdog/lib'
CC event.o
CC logger.o
logger.c: In function ‘gdb_cmd’:
logger.c:746: error: ‘ARG_MAX’ undeclared (first use in this function)
logger.c:746: error: (Each undeclared identifier is reported only once
logger.c:746: error: for each function it appears in.)
logger.c:746: warning: unused variable ‘cmd_str’
logger.c: In function ‘sd_backtrace’:
logger.c:797: error: ‘ARG_MAX’ undeclared (first use in this function)
logger.c:797: warning: unused variable ‘cmd’
make[1]: *** [logger.o] Error 1
make[1]: Leaving directory `/usr/local/src/sheepdog/lib'
make: *** [all-recursive] Error 1
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.wpkg.org/pipermail/sheepdog-users/attachments/20140212/23ea8626/attachment-0004.html>
More information about the sheepdog-users
mailing list