How do I compile on AIX?

I know AIX is not an officially supported operating system for Couchbase, but I’d like to help make that possible. If this can be done, I will gladly share the necessary changes for your master build scripts.

With minor modifications to Makefiles and header files, I was able to get memcached compiled and running. When I do a gmake in couchbase-server_src from the 2.0.1 source, it builds memcached and couchstore, but when it gets to /ep-engine, the configuration step failed as “Can’t build ep-engine without libcouchstore”. I have verified that /usr/local/lib contains libcouchstore.a and libcouchstore.la. What else can I check to see why it cannot find these?

In general, when things fail at ./configure time you'll have to check the config.log to see details on why. This sounds like a linking problem, so chances are if you look in the log you'll be able to see what the issue is and make the necessary changes to the Makefile.

The things that often cause problems when going to new platforms with Couchbase are libtool differences causing problems, old versions of auto* tools.

It does seem like it cannot find the necessary files, though I didn’t see anything obviously wrong with the paths as the files are located in the usual /usr/local/lib and /usr/local/include folders.

Here is the relevant portion of the config.log for the ep-engine module:

configure:15871: checking for libcouchstore
configure:15894: gcc -o conftest conftest.c -lpthread -lcouchstore >&5
collect2: library libcouchstore not found
configure:15894: $? = 1
configure: failed program was:
| /* confdefs.h /
| #define PACKAGE_NAME “ep-engine”
| #define PACKAGE_TARNAME “ep-engine”
| #define PACKAGE_VERSION “2.0.1_185_rel”
| #define PACKAGE_STRING “ep-engine 2.0.1_185_rel”
| #define PACKAGE_BUGREPORT "support@couchbase.com"
| #define PACKAGE_URL “”
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define EXTENSIONS 1
| #define _ALL_SOURCE 1
| #define _GNU_SOURCE 1
| #define _POSIX_PTHREAD_SEMANTICS 1
| #define _TANDEM_SOURCE 1
| #define PACKAGE “ep-engine”
| #define VERSION “2.0.1_185_rel”
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR “.libs/”
| #define HAVE_ARPA_INET_H 1
| #define HAVE_NETDB_H 1
| #define HAVE_POLL_H 1
| #define HAVE_SYSEXITS_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_NETINET_IN_H 1
| #define HAVE_NETINET_TCP_H 1
| #define HAVE_MEMORY 1
| #define HAVE_TR1_MEMORY 1
| #define SHARED_PTR_NAMESPACE std::tr1
| #define HAVE_TR1_UNORDERED_MAP 1
| #define UNORDERED_MAP_NAMESPACE std::tr1
| /
end confdefs.h. */
|
| #include <sys/types.h>
| #include <stdlib.h>
| #include <libcouchstore/couch_db.h>
|
| int
| main ()
| {
|
| couchstore_close_db(NULL);
|
| ;
| return 0;
| }
configure:15907: result: no
configure:15919: error: Can’t build ep-engine without libcouchstore

----------------

Cache variables.

----------------

ac_cv_build=powerpc-ibm-aix6.1.0.0
ac_cv_c_compiler_gnu=yes
ac_cv_cxx_compiler_gnu=yes
ac_cv_enable_debug=no
ac_cv_enable_gcov=no
ac_cv_enable_tcov=no
ac_cv_enable_warnings=no
ac_cv_enable_werror=no
ac_cv_env_CCC_set=’‘
ac_cv_env_CCC_value=’‘
ac_cv_env_CC_set=’‘
ac_cv_env_CC_value=’‘
ac_cv_env_CFLAGS_set=’‘
ac_cv_env_CFLAGS_value=’‘
ac_cv_env_CPPFLAGS_set=’‘
ac_cv_env_CPPFLAGS_value=’‘
ac_cv_env_CPP_set=’‘
ac_cv_env_CPP_value=’‘
ac_cv_env_CXXCPP_set=’‘
ac_cv_env_CXXCPP_value=’‘
ac_cv_env_CXXFLAGS_set=’‘
ac_cv_env_CXXFLAGS_value=’‘
ac_cv_env_CXX_set=’‘
ac_cv_env_CXX_value=’‘
ac_cv_env_LDFLAGS_set=’‘
ac_cv_env_LDFLAGS_value=’‘
ac_cv_env_LIBS_set=’‘
ac_cv_env_LIBS_value=’‘
ac_cv_env_build_alias_set=’‘
ac_cv_env_build_alias_value=’‘
ac_cv_env_host_alias_set=’‘
ac_cv_env_host_alias_value=’‘
ac_cv_env_target_alias_set=’‘
ac_cv_env_target_alias_value=’‘
ac_cv_func_malloc_0_nonnull=yes
ac_cv_func_realloc_0_nonnull=yes
ac_cv_have_decl___GNUC__=yes
ac_cv_have_decl___SUNPRO_C=no
ac_cv_have_libcouchstore=no
ac_cv_header_arpa_inet_h=yes
ac_cv_header_atomic_h=no
ac_cv_header_boost_shared_ptr_hpp=no
ac_cv_header_boost_unordered_map_hpp=no
ac_cv_header_dlfcn_h=yes
ac_cv_header_inttypes_h=yes
ac_cv_header_mach_mach_time_h=no
ac_cv_header_memory=yes
ac_cv_header_memory_h=yes
ac_cv_header_minix_config_h=no
ac_cv_header_netdb_h=yes
ac_cv_header_netinet_in_h=yes
ac_cv_header_netinet_tcp_h=yes
ac_cv_header_poll_h=yes
ac_cv_header_stdc=yes
ac_cv_header_stdint_h=yes
ac_cv_header_stdlib_h=yes
ac_cv_header_string_h=yes
ac_cv_header_strings_h=yes
ac_cv_header_sys_socket_h=yes
ac_cv_header_sys_stat_h=yes
ac_cv_header_sys_types_h=yes
ac_cv_header_sysexits_h=yes
ac_cv_header_tr1_memory=yes
ac_cv_header_tr1_unordered_map=yes
ac_cv_header_unistd_h=yes
ac_cv_header_winsock2_h=no
ac_cv_header_ws2tcpip_h=no
ac_cv_host=powerpc-ibm-aix6.1.0.0
ac_cv_objext=o
ac_cv_path_EGREP=’/usr/bin/grep -E’
ac_cv_path_FGREP=’/usr/bin/grep -F’
ac_cv_path_GREP=/usr/bin/grep
ac_cv_path_SED=/usr/bin/sed
ac_cv_path_install=’/opt/freeware/bin/install -c’
ac_cv_path_mkdir=/opt/freeware/bin/mkdir
ac_cv_prog_AWK=nawk
ac_cv_prog_CPP=‘gcc -E’
ac_cv_prog_CXXCPP=‘g++ -E’
ac_cv_prog_ac_ct_AR=ar
ac_cv_prog_ac_ct_CC=gcc
ac_cv_prog_ac_ct_CXX=g++
ac_cv_prog_ac_ct_OBJDUMP=objdump
ac_cv_prog_ac_ct_RANLIB=ranlib
ac_cv_prog_ac_ct_STRIP=strip
ac_cv_prog_cc_c89=’‘
ac_cv_prog_cc_g=yes
ac_cv_prog_cc_gcc_c_o=yes
ac_cv_prog_cxx_g=yes
ac_cv_prog_cxx_works=yes
ac_cv_prog_make_make_set=yes
ac_cv_safe_to_define___extensions__=yes
ac_cv_search_pthread_create=-lpthread
ac_cv_shared_ptr_namespace=std::tr1
ac_cv_unordered_map_namespace=std::tr1
am_cv_CC_dependencies_compiler_type=gcc3
am_cv_CXX_dependencies_compiler_type=gcc3
lt_cv_deplibs_check_method=pass_all
lt_cv_file_magic_cmd=’$MAGIC_CMD’
lt_cv_file_magic_test_file=’'
lt_cv_ld_reload_flag=-r
lt_cv_nm_interface=‘BSD nm’
lt_cv_objdir=.libs
lt_cv_path_LD=/usr/bin/ld
lt_cv_path_LDCXX=/usr/bin/ld
lt_cv_path_NM=’/opt/freeware/bin/nm -B’
lt_cv_prog_compiler_c_o=yes
lt_cv_prog_compiler_c_o_CXX=yes
lt_cv_prog_compiler_pic_works=yes
lt_cv_prog_compiler_pic_works_CXX=yes
lt_cv_prog_compiler_rtti_exceptions=no
lt_cv_prog_compiler_static_works=no
lt_cv_prog_compiler_static_works_CXX=no
lt_cv_prog_gnu_ld=no
lt_cv_prog_gnu_ldcxx=no
lt_cv_sys_global_symbol_pipe='sed -n -e ‘’‘s/^.[ ]([ABCDGIRSTW][ABCDGIRSTW])[ ][ ]([_A-Za-z][_A-Za-z0-9])$/\1 \2 \2/p’‘
lt_cv_sys_global_symbol_to_c_name_address=‘sed -n -e ‘’‘s/^: ([^ ]) $/ {"\1", (void ) 0},/p’’’ -e ‘’'s/^[ABCDGIRSTW] ([^ ]) ([^ ])$/ {"\2", (void ) &\2},/p’'
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='sed -n -e ‘’'s/^: ([^ ]
) $/ {"\1", (void ) 0},/p’’’ -e ‘’'s/^[ABCDGIRSTW] ([^ ]
) (lib[^ ])$/ {"\2", (void ) &\2},/p’’’ -e ‘’'s/^[ABCDGIRSTW] ([^ ]) ([^ ])$/ {“lib\2”, (void ) &\2},/p’'
lt_cv_sys_global_symbol_to_cdecl='sed -n -e ‘’'s/^T .
(.
)$/extern int \1();/p’’’ -e ‘’‘s/^[ABCDGIRSTW]* .* (.*)$/extern char \1;/p’'
lt_cv_sys_max_cmd_len=786432

-----------------

Output variables.

-----------------

ACLOCAL=’${SHELL} /couch/couchbase-server_src/ep-engine/config/missing --run aclocal-1.11’
AMDEPBACKSLASH=’‘
AMDEP_FALSE=’#‘
AMDEP_TRUE=’‘
AMTAR=’${SHELL} /couch/couchbase-server_src/ep-engine/config/missing --run tar’
AM_CFLAGS=’ -pipe -std=gnu99 -O3’
AM_CPPFLAGS=’ -pipe -I${top_srcdir}/include -DHAVE_VISIBILITY=1 -fvisibility=hidden’
AM_CXXFLAGS=’ -pipe -O3’
AM_LDFLAGS=’ -DHAVE_VISIBILITY=1 -fvisibility=hidden’
AM_PROFILE_SOLDFLAGS=’‘
AR=‘ar’
AUTOCONF=’${SHELL} /couch/couchbase-server_src/ep-engine/config/missing --run autoconf’
AUTOHEADER=’${SHELL} /couch/couchbase-server_src/ep-engine/config/missing --run autoheader’
AUTOMAKE=’${SHELL} /couch/couchbase-server_src/ep-engine/config/missing --run automake-1.11’
AWK=‘nawk’
BUILD_BYTEORDER_FALSE=’‘
BUILD_BYTEORDER_TRUE=’‘
BUILD_GENERATED_TESTS_FALSE=’‘
BUILD_GENERATED_TESTS_TRUE=’‘
BUILD_GETHRTIME_FALSE=’‘
BUILD_GETHRTIME_TRUE=’‘
CC=‘gcc’
CCDEPMODE=‘depmode=gcc3’
CFLAGS=’‘
CPP=‘gcc -E’
CPPFLAGS=’‘
CPP_WARNINGS=’-Wall -pedantic -Wshadow -fdiagnostics-show-option -Wformat -fno-strict-aliasing -Wno-strict-aliasing -Wextra’
CXX=‘g++‘
CXXCPP=‘g++ -E’
CXXDEPMODE=‘depmode=gcc3’
CXXFLAGS=’‘
CXX_COMPILER_WARNINGS=’-std=gnu++98 -Woverloaded-virtual -Wnon-virtual-dtor -Wctor-dtor-privacy -Wno-long-long -Wno-redundant-decls’
CXX_DEBUG=’-O0 -g3’
CXX_OPTIMIZE=’-O3’
CYGPATH_W=‘echo’
C_COMPILER_WARNINGS=’-Wundef -Wstrict-prototypes -Wmissing-prototypes -Wredundant-decls -Wmissing-declarations -Wcast-align’
C_DEBUG=’-O0 -g3’
C_OPTIMIZE=’-O3’
DEFS=’‘
DEPDIR=’.deps’
DSYMUTIL=’‘
DTRACE=’‘
DTRACEFLAGS=’‘
DTRACE_NEEDS_OBJECTS_FALSE=’‘
DTRACE_NEEDS_OBJECTS_TRUE=’‘
DUMPBIN=’‘
ECHO_C=’\c’
ECHO_N=’‘
ECHO_T=’‘
EGREP=’/usr/bin/grep -E’
ENABLE_GCOV_FALSE=’‘
ENABLE_GCOV_TRUE=’#‘
ENABLE_TCOV_FALSE=’‘
ENABLE_TCOV_TRUE=’#‘
ENGINE_TESTAPP=’‘
EXEEXT=’‘
FGREP=’/usr/bin/grep -F’
GCC_CPPFLAGS=’-pipe’
GCC_CPP_WARNINGS=’-Wall -pedantic -Wshadow -fdiagnostics-show-option -Wformat -fno-strict-aliasing -Wno-strict-aliasing -Wextra’
GCC_CXX_COMPILER_WARNINGS=’-std=gnu++98 -Woverloaded-virtual -Wnon-virtual-dtor -Wctor-dtor-privacy -Wno-long-long -Wno-redundant-decls’
GCC_CXX_DEBUG=’-O0 -g3’
GCC_CXX_OPTIMIZE=’-O3’
GCC_C_COMPILER_WARNINGS=’-Wundef -Wstrict-prototypes -Wmissing-prototypes -Wredundant-decls -Wmissing-declarations -Wcast-align’
GCC_C_DEBUG=’-O0 -g3’
GCC_C_OPTIMIZE=’-O3’
GCC_NO_WERROR=’-Wno-error’
GCC_VISIBILITY=’-DHAVE_VISIBILITY=1 -fvisibility=hidden’
GCC_WERROR=’-Werror’
GREP=’/usr/bin/grep’
HAVE_DTRACE_FALSE=’‘
HAVE_DTRACE_TRUE=’‘
HAVE_GOOGLETEST_FALSE=’‘
HAVE_GOOGLETEST_TRUE=’‘
HAVE_LIBCOUCHSTORE_FALSE=’‘
HAVE_LIBCOUCHSTORE_TRUE=’‘
INSTALL_DATA=’${INSTALL} -m 644’
INSTALL_PROGRAM=’${INSTALL}‘
INSTALL_SCRIPT=’${INSTALL}‘
INSTALL_STRIP_PROGRAM=’$(install_sh) -c -s’
LD=’/usr/bin/ld’
LDFLAGS=’‘
LIBOBJS=’‘
LIBS=’-lpthread ‘
LIBTOOL=’$(SHELL) $(top_builddir)/libtool’
LIPO=’‘
LN_S=‘ln -s’
LTLIBCOUCHSTORE=’‘
LTLIBEVENT=’‘
LTLIBOBJS=’‘
MAKEINFO=’${SHELL} /couch/couchbase-server_src/ep-engine/config/missing --run makeinfo’
MKDIR_P=’/opt/freeware/bin/mkdir -p’
NM=’/opt/freeware/bin/nm -B’
NMEDIT=’‘
NO_WERROR=’-Wno-error’
OBJDUMP=‘objdump’
OBJEXT=‘o’
OTOOL64=’‘
OTOOL=’‘
PACKAGE=‘ep-engine’
PACKAGE_BUGREPORT=‘support@couchbase.com’
PACKAGE_NAME=‘ep-engine’
PACKAGE_STRING=‘ep-engine 2.0.1_185_rel’
PACKAGE_TARNAME=‘ep-engine’
PACKAGE_URL=’‘
PACKAGE_VERSION=‘2.0.1_185_rel’
PATH_SEPARATOR=’:‘
RANLIB=‘ranlib’
SED=’/usr/bin/sed’
SET_MAKE=’‘
SHELL=’/bin/sh’
SPRO_CPPFLAGS=’-mt=yes -D_THREAD_SAFE’
SPRO_CPP_WARNINGS=’-errhdr=%user -errfmt=error -errshort=full -errtags ‘
SPRO_CXX_COMPILER_WARNINGS=’+w +w2’
SPRO_CXX_DEBUG=’-g3 -traceback=common -xcheck=%all’
SPRO_CXX_OPTIMIZE=’-O -xbuiltin=%default’
SPRO_C_COMPILER_WARNINGS=’-v’
SPRO_C_DEBUG=’-g3 -traceback=common -xcheck=%all’
SPRO_C_OPTIMIZE=’-O -xbuiltin=%default’
SPRO_NO_WERROR=’-errwarn=%none’
SPRO_VISIBILITY=’-xldscope=hidden’
SPRO_WERROR=’-errwarn=%all’
STRIP=‘strip’
VERSION=‘2.0.1_185_rel’
VISIBILITY=’-DHAVE_VISIBILITY=1 -fvisibility=hidden’
WERROR=’-Werror’
ac_ct_CC=‘gcc’
ac_ct_CXX=‘g++‘
ac_ct_DUMPBIN=’‘
am__EXEEXT_FALSE=’‘
am__EXEEXT_TRUE=’‘
am__fastdepCC_FALSE=’#‘
am__fastdepCC_TRUE=’‘
am__fastdepCXX_FALSE=’#‘
am__fastdepCXX_TRUE=’‘
am__include=‘include’
am__isrc=’‘
am__leading_dot=’.‘
am__quote=’‘
am__tar=’${AMTAR} chof - “$$tardir”‘
am__untar=’${AMTAR} xf -‘
bindir=’${exec_prefix}/bin’
build=‘powerpc-ibm-aix6.1.0.0’
build_alias=’‘
build_cpu=‘powerpc’
build_os=‘aix6.1.0.0’
build_vendor=‘ibm’
datadir=’${datarootdir}‘
datarootdir=’${prefix}/share’
docdir=’${datarootdir}/doc/${PACKAGE_TARNAME}‘
dvidir=’${docdir}‘
exec_prefix=‘NONE’
host=‘powerpc-ibm-aix6.1.0.0’
host_alias=’‘
host_cpu=‘powerpc’
host_os=‘aix6.1.0.0’
host_vendor=‘ibm’
htmldir=’${docdir}‘
includedir=’${prefix}/include’
infodir=’${datarootdir}/info’
install_sh=’${SHELL} /couch/couchbase-server_src/ep-engine/config/install-sh’
libdir=’${exec_prefix}/lib’
libexecdir=’${exec_prefix}/libexec’
localedir=’${datarootdir}/locale’
localstatedir=’${prefix}/var’
lt_ECHO=’/opt/freeware/bin/echo’
mandir=’${datarootdir}/man’
mkdir_p=’/opt/freeware/bin/mkdir -p’
oldincludedir=’/usr/include’
pdfdir=’${docdir}‘
prefix=‘NONE’
program_transform_name=‘s,x,x,‘
psdir=’${docdir}‘
sbindir=’${exec_prefix}/sbin’
sharedstatedir=’${prefix}/com’
sysconfdir=’${prefix}/etc’
target_alias=’’

-----------

confdefs.h.

-----------

/* confdefs.h */
#define PACKAGE_NAME “ep-engine”
#define PACKAGE_TARNAME “ep-engine”
#define PACKAGE_VERSION “2.0.1_185_rel”
#define PACKAGE_STRING “ep-engine 2.0.1_185_rel”
#define PACKAGE_BUGREPORT "support@couchbase.com"
#define PACKAGE_URL “”
#define STDC_HEADERS 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STRING_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define EXTENSIONS 1
#define _ALL_SOURCE 1
#define _GNU_SOURCE 1
#define _POSIX_PTHREAD_SEMANTICS 1
#define _TANDEM_SOURCE 1
#define PACKAGE “ep-engine”
#define VERSION “2.0.1_185_rel”
#define HAVE_DLFCN_H 1
#define LT_OBJDIR “.libs/”
#define HAVE_ARPA_INET_H 1
#define HAVE_NETDB_H 1
#define HAVE_POLL_H 1
#define HAVE_SYSEXITS_H 1
#define HAVE_UNISTD_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_MEMORY 1
#define HAVE_TR1_MEMORY 1
#define SHARED_PTR_NAMESPACE std::tr1
#define HAVE_TR1_UNORDERED_MAP 1
#define UNORDERED_MAP_NAMESPACE std::tr1

configure: exit 1

libcouchstore should be a peer directory to that one. if you look in there, does it build properly?

I manually added -L/usr/local/lib to the LIBS definition in the configure script and it was able to continue. The Makefile does now generate correctly. It needs libatomic from the gcc tree, so I’m working on getting that compiled.

I was able to get libatomic linked correctly, and now it’s throwing an ambiguous overloaded method error (using gcc 4.81). It seems something in this architecture is preventing it from automatically resolving which overload to use:

libtool: compile: g++ -DHAVE_CONFIG_H -I. -I./src -pipe -I./include -I./src -I./include -pipe -O3 -MT src/ep_la-tapconnection.lo -MD -MP -MF src/.deps/ep_la-tapconnection.Tpo -c src/tapconnection.cc -DPIC -o src/.libs/ep_la-tapconnection.o
src/tapconnection.cc: In member function ‘Item* TapProducer::getNextItem(const void*, uint16_t*, tap_event_t&, bool&)’:
src/tapconnection.cc:1875:63: error: call of overloaded ‘Item(const char*, std::basic_string::size_type, int, int, int, int, int, uint16_t)’ is ambiguous
0, 0, 0, -1, qi->getVBucketId());
^
src/tapconnection.cc:1875:63: note: candidates are:
In file included from src/queueditem.hh:6:0,
from src/ep.hh:38,
from src/ep_engine.h:6,
from src/tapconnection.cc:19:
src/item.hh:188:5: note: Item::Item(const void*, uint16_t, uint32_t, time_t, const void*, size_t, uint64_t, int64_t, uint16_t, uint64_t)
Item(const void k, uint16_t nk, const uint32_t fl, const time_t exp,
^
src/item.hh:178:5: note: Item::Item(const string&, uint32_t, time_t, const value_t&, uint64_t, int64_t, uint16_t, uint64_t)
Item(const std::string &k, const uint32_t fl, const time_t exp,
^
src/item.hh:167:5: note: Item::Item(const string&, uint32_t, time_t, const void
, size_t, uint64_t, int64_t, uint16_t)
Item(const std::string &k, const uint32_t fl, const time_t exp,
^
src/item.hh:156:5: note: Item::Item(const void*, size_t, size_t, uint32_t, time_t, uint64_t, int64_t, uint16_t)
Item(const void* k, const size_t nk, const size_t nb,
^
src/tapconnection.cc:1907:59: error: call of overloaded ‘Item(const char*, std::basic_string::size_type, int, int, int, int, int, uint16_t)’ is ambiguous
0, 0, 0, -1, qi->getVBucketId());
^
src/tapconnection.cc:1907:59: note: candidates are:
In file included from src/queueditem.hh:6:0,
from src/ep.hh:38,
from src/ep_engine.h:6,
from src/tapconnection.cc:19:
src/item.hh:188:5: note: Item::Item(const void*, uint16_t, uint32_t, time_t, const void*, size_t, uint64_t, int64_t, uint16_t, uint64_t)
Item(const void k, uint16_t nk, const uint32_t fl, const time_t exp,
^
src/item.hh:178:5: note: Item::Item(const string&, uint32_t, time_t, const value_t&, uint64_t, int64_t, uint16_t, uint64_t)
Item(const std::string &k, const uint32_t fl, const time_t exp,
^
src/item.hh:167:5: note: Item::Item(const string&, uint32_t, time_t, const void
, size_t, uint64_t, int64_t, uint16_t)
Item(const std::string &k, const uint32_t fl, const time_t exp,
^
src/item.hh:156:5: note: Item::Item(const void*, size_t, size_t, uint32_t, time_t, uint64_t, int64_t, uint16_t)
Item(const void* k, const size_t nk, const size_t nb,
^
gmake[1]: *** [src/ep_la-tapconnection.lo] Error 1
gmake[1]: Leaving directory `/couch/couchbase-server_src/ep-engine’
gmake: *** [all] Error 2