Компиляция libmemcached в OpenIndiana - PullRequest
0 голосов
/ 09 апреля 2019

В ответ на URL, расположенный здесь

Боюсь, ваша стратегия не работает.Вот вывод терминала

grct@openindiana:~/libmemcached$ gmake CPPFLAGS="-include mem_config.h"
gmake -j2  all-am
gmake[1]: Entering directory '/export/home/grct/libmemcached'
  CXX      libhashkit/libhashkit_libhashkit_la-aes.lo
  CXX      libhashkit/libhashkit_libhashkit_la-algorithm.lo
  CXX      libhashkit/libhashkit_libhashkit_la-behavior.lo
  CXX      libhashkit/libhashkit_libhashkit_la-crc32.lo
  CXX      libhashkit/libhashkit_libhashkit_la-digest.lo
  CXX      libhashkit/libhashkit_libhashkit_la-encrypt.lo
  CXX      libhashkit/libhashkit_libhashkit_la-fnv_32.lo
  CXX      libhashkit/libhashkit_libhashkit_la-fnv_64.lo
libhashkit/fnv_64.cc:41:5: warning: "__WORDSIZE" is not defined [-Wundef]
 #if __WORDSIZE == 64 && defined(HAVE_FNV64_HASH)
     ^~~~~~~~~~
  CXX      libhashkit/libhashkit_libhashkit_la-function.lo
  CXX      libhashkit/libhashkit_libhashkit_la-has.lo
libhashkit/has.cc:47:5: warning: "__WORDSIZE" is not defined [-Wundef]
 #if __WORDSIZE == 64 && defined(HAVE_FNV64_HASH)
     ^~~~~~~~~~
  CXX      libhashkit/libhashkit_libhashkit_la-hashkit.lo
  CXX      libhashkit/libhashkit_libhashkit_la-jenkins.lo
  CXX      libhashkit/libhashkit_libhashkit_la-ketama.lo
  CXX      libhashkit/libhashkit_libhashkit_la-md5.lo
  CXX      libhashkit/libhashkit_libhashkit_la-murmur.lo
  CXX      libhashkit/libhashkit_libhashkit_la-murmur3.lo
  CXX      libhashkit/libhashkit_libhashkit_la-murmur3_api.lo
  CXX      libhashkit/libhashkit_libhashkit_la-one_at_a_time.lo
  CXX      libhashkit/libhashkit_libhashkit_la-rijndael.lo
  CXX      libhashkit/libhashkit_libhashkit_la-str_algorithm.lo
  CXX      libhashkit/libhashkit_libhashkit_la-strerror.lo
  CXX      libhashkit/libhashkit_libhashkit_la-string.lo
  CXX      libhashkit/libhashkit_libhashkit_la-nohsieh.lo
  CXXLD    libhashkit/libhashkit.la
  CXX      libmemcached/csl/libmemcached_libmemcached_la-context.lo
  CXX      libmemcached/csl/libmemcached_libmemcached_la-parser.lo
  CXX      libmemcached/csl/libmemcached_libmemcached_la-scanner.lo
  CXX      libmemcached/libmemcached_libmemcached_la-instance.lo
  CXX      libhashkit/libmemcached_libmemcached_la-aes.lo
  CXX      libhashkit/libmemcached_libmemcached_la-algorithm.lo
  CXX      libhashkit/libmemcached_libmemcached_la-behavior.lo
  CXX      libhashkit/libmemcached_libmemcached_la-crc32.lo
  CXX      libhashkit/libmemcached_libmemcached_la-digest.lo
  CXX      libhashkit/libmemcached_libmemcached_la-encrypt.lo
  CXX      libhashkit/libmemcached_libmemcached_la-fnv_32.lo
  CXX      libhashkit/libmemcached_libmemcached_la-fnv_64.lo
libhashkit/fnv_64.cc:41:5: warning: "__WORDSIZE" is not defined [-Wundef]
 #if __WORDSIZE == 64 && defined(HAVE_FNV64_HASH)
     ^~~~~~~~~~
  CXX      libhashkit/libmemcached_libmemcached_la-function.lo
  CXX      libhashkit/libmemcached_libmemcached_la-has.lo
libhashkit/has.cc:47:5: warning: "__WORDSIZE" is not defined [-Wundef]
 #if __WORDSIZE == 64 && defined(HAVE_FNV64_HASH)
     ^~~~~~~~~~
  CXX      libhashkit/libmemcached_libmemcached_la-hashkit.lo
  CXX      libhashkit/libmemcached_libmemcached_la-jenkins.lo
  CXX      libhashkit/libmemcached_libmemcached_la-ketama.lo
  CXX      libhashkit/libmemcached_libmemcached_la-md5.lo
  CXX      libhashkit/libmemcached_libmemcached_la-murmur.lo
  CXX      libhashkit/libmemcached_libmemcached_la-murmur3.lo
  CXX      libhashkit/libmemcached_libmemcached_la-murmur3_api.lo
  CXX      libhashkit/libmemcached_libmemcached_la-one_at_a_time.lo
  CXX      libhashkit/libmemcached_libmemcached_la-rijndael.lo
  CXX      libhashkit/libmemcached_libmemcached_la-str_algorithm.lo
  CXX      libhashkit/libmemcached_libmemcached_la-strerror.lo
  CXX      libhashkit/libmemcached_libmemcached_la-string.lo
  CXX      libhashkit/libmemcached_libmemcached_la-nohsieh.lo
  CXX      libmemcached/libmemcached_libmemcached_la-allocators.lo
  CXX      libmemcached/libmemcached_libmemcached_la-analyze.lo
  CC       libmemcached/libmemcached_libmemcached_la-array.lo
"./mem_config.h", line 9: #error: "You should include mem_config.h as your first include file"
cc: acomp failed for libmemcached/array.c
gmake[1]: *** [Makefile:5771: libmemcached/libmemcached_libmemcached_la-array.lo] Error 1
gmake[1]: Leaving directory '/export/home/grct/libmemcached'
gmake: *** [Makefile:3700: all] Error 2
grct@openindiana:~/libmemcached$ 

В чем еще может быть проблема?

PS Вот вывод для процесса настройки, если он вам очень помогает.

grct@openindiana:~/libmemcached$ ./configure
checking for cc... cc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... no
checking whether cc accepts -g... yes
checking for cc option to accept ISO C89... none needed
checking for c++... c++
checking whether we are using the GNU C++ compiler... yes
checking whether c++ accepts -g... yes
checking build system type... i386-pc-solaris2.11
checking host system type... i386-pc-solaris2.11
checking how to run the C preprocessor... cc -E
checking for grep that handles long lines and -e... /usr/bin/ggrep
checking for egrep... /usr/bin/ggrep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking for a BSD-compatible install... /usr/bin/ginstall -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/gmkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for style of include used by make... GNU
checking whether make supports nested variables... yes
checking whether UID '101' is supported by ustar format... yes
checking whether GID '10' is supported by ustar format... yes
checking how to create a ustar tar archive... gnutar
checking dependency style of cc... none
checking dependency style of c++... gcc3
checking how to print strings... print -r
checking for a sed that does not truncate output... /usr/bin/gsed
checking for fgrep... /usr/bin/ggrep -F
checking for non-GNU ld... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... no
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -p
checking the name lister (/usr/bin/nm -p) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 786240
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert i386-pc-solaris2.11 file names to i386-pc-solaris2.11 format... func_convert_file_noop
checking how to convert i386-pc-solaris2.11 file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... print -r --
checking for ar... ar
checking for archiver @FILE support... no
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -p output from cc object... ok
checking for sysroot... no
checking for mt... mt
checking if mt is a manifest tool... no
checking for dlfcn.h... yes
checking for objdir... .libs
checking for cc option to produce PIC... -KPIC -DPIC
checking if cc PIC flag -KPIC -DPIC works... yes
checking if cc static flag -Bstatic works... yes
checking if cc supports -c -o file.o... yes
checking if cc supports -c -o file.o... (cached) yes
checking whether the cc linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... solaris2.11 ld.so
checking how to hardcode library paths into programs... immediate
checking for shl_load... no
checking for shl_load in -ldld... no
checking for dlopen... yes
checking whether a program can dlopen itself... yes
checking whether a statically linked program can dlopen itself... yes
checking whether stripping libraries is possible... no
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking how to run the C++ preprocessor... c++ -E
checking for ld used by c++... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... no
checking whether the c++ linker (/usr/bin/ld) supports shared libraries... yes
checking for c++ option to produce PIC... -fPIC -DPIC
checking if c++ PIC flag -fPIC -DPIC works... yes
checking if c++ static flag -static works... no
checking if c++ supports -c -o file.o... yes
checking if c++ supports -c -o file.o... (cached) yes
checking whether the c++ linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... solaris2.11 ld.so
checking how to hardcode library paths into programs... immediate
checking for cos in -lm... yes
checking for cc option to accept ISO C99... none needed
checking whether C++ compiler accepts -std=c++0x... yes
checking whether the linker accepts ... yes
configure: adding automake macro support
configure: creating aminclude.am
checking for debug... no
checking for vcs system... none
checking for vcs checkout... no
checking for assert... no
checking whether make supports nested variables... (cached) yes
checking for libmemcachedprotocol... no
checking for mysqld... nocommand
configure: WARNING: mysqld not found in /usr/bin:/usr/sbin:/sbin:/usr/gnu/bin
checking for mysql_config... no
checking for mysql_config5... no
checking whether gearmand executable path has been provided... no
checking for gearmand... no
checking libgearman/gearman.h usability... no
checking libgearman/gearman.h presence... no
checking for libgearman/gearman.h... no
checking for location of cstdint... <cstdint>
<cstdint>
checking for location of cinttypes... <cinttypes>
<cinttypes>
checking whether byte ordering is bigendian... no
checking for htonll... yes
checking for working SO_SNDTIMEO... no
checking for working SO_RCVTIMEO... no
checking for supported struct padding... yes
checking for dpkg-gensymbols... no
checking for flex... flex
checking for perl... perl
checking for valgrind... no
checking for wine... no
checking for bison... bison --warnings=all
checking for rpmbuild... no
checking for --nocheck... no
checking for rpmdev-setuptree... no
checking for rpm... no
checking for gawk... (cached) gawk
checking for a sed that does not truncate output... (cached) /usr/bin/gsed
checking whether memcached executable path has been provided... no
checking for memcached... unknown
checking whether sphinx-build executable path has been provided... no
checking for sphinx-build... :
checking whether lcov executable path has been provided... no
checking for lcov... no
checking whether genhtml executable path has been provided... no
checking for genhtml... no
checking for library containing getopt_long... none required
checking for library containing gethostbyname... -lnsl
checking for arpa/inet.h... yes
checking for errno.h... yes
checking for execinfo.h... yes
checking for fcntl.h... yes
checking for features.h... no
checking for fnmatch.h... yes
checking for inttypes.h... (cached) yes
checking for libintl.h... yes
checking for limits.h... yes
checking for mach/mach.h... no
checking for malloc.h... yes
checking for math.h... yes
checking for netdb.h... yes
checking for netinet/in.h... yes
checking for netinet/tcp.h... yes
checking for poll.h... yes
checking for pthread.h... yes
checking for spawn.h... yes
checking for stdarg.h... yes
checking for stddef.h... yes
checking for stdio.h... yes
checking for stdlib.h... (cached) yes
checking for sys/socket.h... yes
checking for sys/sysctl.h... no
checking for sys/time.h... yes
checking for sys/types.h... (cached) yes
checking for sys/un.h... yes
checking for sys/wait.h... yes
checking for syslog.h... yes
checking for time.h... yes
checking for unistd.h... (cached) yes
checking for winsock2.h... no
checking for ws2tcpip.h... no
checking for alarm... yes
checking for atexit... yes
checking for clock_gettime... yes
checking for dup2... yes
checking for fcntl... yes
checking for floor... no
checking for getcwd... yes
checking for getline... yes
checking for gettimeofday... yes
checking for inet_ntoa... yes
checking for memchr... yes
checking for memmove... yes
checking for memset... yes
checking for pipe2... yes
checking for putenv... yes
checking for select... yes
checking for setenv... yes
checking for sigignore... yes
checking for socket... no
checking for sqrt... no
checking for strcasecmp... yes
checking for strchr... yes
checking for strdup... yes
checking for strerror... yes
checking for strstr... yes
checking for strtol... yes
checking for strtoul... yes
checking for strtoull... yes
checking for size_t... yes
checking for working alloca.h... yes
checking for alloca... yes
checking for error_at_line... no
checking for pid_t... yes
checking vfork.h usability... no
checking vfork.h presence... no
checking for vfork.h... no
checking for fork... yes
checking for vfork... yes
checking for working fork... yes
checking for working vfork... (cached) yes
checking whether strerror_r is declared... yes
checking for strerror_r... yes
checking whether strerror_r returns char *... no
checking umem.h usability... yes
checking umem.h presence... yes
checking for umem.h... yes
checking for C compiler vendor... sun
checking for in_port_t... yes
checking for ptrdiff_t... yes
checking for stdbool.h that conforms to C99... yes
checking for _Bool... yes
checking for int16_t... yes
checking for int32_t... yes
checking for int64_t... yes
checking for int8_t... yes
checking for off_t... yes
checking for pid_t... (cached) yes
checking for ssize_t... yes
checking for uint16_t... yes
checking for uint32_t... yes
checking for uint64_t... yes
checking for uint8_t... yes
checking whether byte ordering is bigendian... (cached) no
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for working volatile... yes
checking for C/C++ restrict keyword... __restrict__
checking whether the compiler supports GCC C++ ABI name demangling... yes
checking checking for cxx_gcc_abi_demangle... "yes"
checking test for a working libevent... yes
checking for clock_gettime in -lrt... yes
checking atomic.h usability... yes
checking atomic.h presence... yes
checking for atomic.h... yes
checking for atomic_add_64... yes
checking for atomic_add_32... yes
checking for setppriv... yes
checking priv.h usability... yes
checking priv.h presence... yes
checking for priv.h... yes
checking for MSG_NOSIGNAL... yes
checking for MSG_DONTWAIT... yes
checking for MSG_MORE... 
checking uuid/uuid.h usability... yes
checking uuid/uuid.h presence... yes
checking for uuid/uuid.h... yes
checking check to see if -luuid is needed... yes
checking check to see if -luuid is needed... yes
checking for uuid_generate_time_safe... no
checking sasl/sasl.h usability... yes
checking sasl/sasl.h presence... yes
checking for sasl/sasl.h... yes
checking for main in -lsasl2... no
checking checking to see if sasl works... "no"
checking if compiler needs -Werror to reject unknown flags... no
checking whether pthreads work with -pthreads... no
checking for the pthreads library -lpthread... yes
checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE
checking if more special flags are required for pthreads... -mt -D_REENTRANT
checking for PTHREAD_PRIO_INHERIT... yes
checking check for pthread_timedjoin_np... 
checking checking to see if enabling sasl... configure: WARNING: request to add sasl support failed, please see config.log
"no"
checking whether the compiler provides atomic builtins... no
checking whether byte ordering is bigendian... (cached) no
checking for assert... no
checking C Compiler version... "cc: Sun C 5.10 SunOS_i386 2009/06/03"
checking C++ Compiler version... "c++: error: unrecognized command line option '-V'"
checking MINGW... checking whether __MINGW32__ is declared... no
no
checking if all warnings into errors... no
checking if all warnings into errors... (cached) no
checking whether the linker accepts -z... no
checking whether the linker accepts relro... no
checking whether the linker accepts -z... (cached) no
checking whether the linker accepts now... no
checking whether C compiler accepts -g... no
checking whether C compiler accepts -O2... no
checking whether C compiler accepts -Wno-unknown-pragmas... no
checking whether C compiler accepts -Wno-pragmas... no
checking whether C compiler accepts -Wall... no
checking whether C compiler accepts -Wextra... no
checking whether C compiler accepts -Weverything... no
checking whether C compiler accepts -Wthis-test-should-fail... no
checking whether C compiler accepts -Wunsuffixed-float-constants... no
checking whether C compiler accepts -Wjump-misses-init... no
checking whether C compiler accepts -Wno-attributes... no
checking whether C compiler accepts -Waddress... no
checking whether C compiler accepts -Wvarargs... no
checking whether C compiler accepts -Warray-bounds... no
checking whether C compiler accepts -Wbad-function-cast... no
checking whether C compiler accepts -Wchar-subscripts... no
checking whether C compiler accepts -Wcomment... no
checking whether C compiler accepts -Wfloat-equal... no
checking whether C compiler accepts -Wformat-security... no
checking whether C compiler accepts -Wformat=2... no
checking whether C compiler accepts -Wformat-y2k... no
checking whether C compiler accepts -Wlogical-op... no
checking whether C compiler accepts -Wmaybe-uninitialized... no
checking whether C compiler accepts -Wmissing-field-initializers... no
checking whether C compiler accepts -Wmissing-noreturn... no
checking whether C compiler accepts -Wmissing-prototypes... no
checking whether C compiler accepts -Wnested-externs... no
checking whether C compiler accepts -Wnormalized=id... no
checking whether C compiler accepts -Woverride-init... no
checking whether C compiler accepts -Wpointer-arith... no
checking whether C compiler accepts -Wpointer-sign... no
checking whether C compiler accepts -Wredundant-decls... no
checking whether C compiler accepts -Wshadow... no
checking whether C compiler accepts -Wshorten-64-to-32... no
checking whether C compiler accepts -Wsign-compare... no
checking whether C compiler accepts -Wstrict-overflow=1... no
checking whether C compiler accepts -Wstrict-prototypes... no
checking whether C compiler accepts -Wswitch-enum... no
checking whether C compiler accepts -Wtrampolines... no
checking whether C compiler accepts -Wundef... no
checking whether C compiler accepts -Wunsafe-loop-optimizations... no
checking whether C compiler accepts -funsafe-loop-optimizations... no
checking whether C compiler accepts -Wclobbered... no
checking whether C compiler accepts -Wunused... no
checking whether C compiler accepts -Wunused-result... no
checking whether C compiler accepts -Wunused-variable... no
checking whether C compiler accepts -Wunused-parameter... no
checking whether C compiler accepts -Wunused-local-typedefs... no
checking whether C compiler accepts -Wwrite-strings... no
checking whether C compiler accepts -fwrapv... no
checking whether C compiler accepts -fmudflapt... no
checking whether C compiler accepts -pipe... no
checking whether C compiler accepts -fPIE... no
checking whether C compiler accepts -pie... no
checking whether C compiler accepts -Wsizeof-pointer-memaccess... no
checking whether C compiler accepts -Wpacked... no
checking whether C++ compiler accepts -g... yes
checking whether C++ compiler accepts -O2... yes
checking whether C++ compiler accepts -Wno-unknown-pragmas... yes
checking whether C++ compiler accepts -Wno-pragmas... yes
checking whether C++ compiler accepts -Wall... yes
checking whether C++ compiler accepts -Wextra... yes
checking whether C++ compiler accepts -Weverything... no
checking whether C++ compiler accepts -Wthis-test-should-fail... no
checking whether C++ compiler accepts -Wno-attributes... yes
checking whether C++ compiler accepts -Wvarargs... yes
checking whether C++ compiler accepts -Waddress... yes
checking whether C++ compiler accepts -Warray-bounds... yes
checking whether C++ compiler accepts -Wchar-subscripts... yes
checking whether C++ compiler accepts -Wcomment... yes
checking whether C++ compiler accepts -Wctor-dtor-privacy... yes
checking whether C++ compiler accepts -Wfloat-equal... yes
checking whether C++ compiler accepts -Wformat=2... yes
checking whether C++ compiler accepts -Wformat-y2k... yes
checking whether C++ compiler accepts -Wmaybe-uninitialized... yes
checking whether C++ compiler accepts -Wmissing-field-initializers... yes
checking whether C++ compiler accepts -Wlogical-op... yes
checking whether C++ compiler accepts -Wnon-virtual-dtor... yes
checking whether C++ compiler accepts -Wnormalized=id... yes
checking whether C++ compiler accepts -Woverloaded-virtual... yes
checking whether C++ compiler accepts -Wpointer-arith... yes
checking whether C++ compiler accepts -Wredundant-decls... yes
checking whether C++ compiler accepts -Wshadow... yes
checking whether C++ compiler accepts -Wshorten-64-to-32... no
checking whether C++ compiler accepts -Wsign-compare... yes
checking whether C++ compiler accepts -Wstrict-overflow=1... yes
checking whether C++ compiler accepts -Wswitch-enum... yes
checking whether C++ compiler accepts -Wtrampolines... yes
checking whether C++ compiler accepts -Wundef... yes
checking whether C++ compiler accepts -Wunsafe-loop-optimizations... yes
checking whether C++ compiler accepts -funsafe-loop-optimizations... yes
checking whether C++ compiler accepts -Wc++11-compat... yes
checking whether C++ compiler accepts -Wclobbered... yes
checking whether C++ compiler accepts -Wunused... yes
checking whether C++ compiler accepts -Wunused-result... yes
checking whether C++ compiler accepts -Wunused-variable... yes
checking whether C++ compiler accepts -Wunused-parameter... yes
checking whether C++ compiler accepts -Wunused-local-typedefs... yes
checking whether C++ compiler accepts -Wwrite-strings... yes
checking whether C++ compiler accepts -Wformat-security... yes
checking whether C++ compiler accepts -fwrapv... yes
checking whether C++ compiler accepts -fmudflapt... no
checking whether C++ compiler accepts -pipe... yes
checking whether C++ compiler accepts -fPIE... yes
checking whether C++ compiler accepts -pie... yes
checking whether C++ compiler accepts -Wsizeof-pointer-memaccess... yes
checking whether C++ compiler accepts -Wpacked... yes
checking the number of available CPUs... unable to detect (assuming 1) 
configure: added jobserver support to make for 2 jobs
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating libhashkit/hashkitcon.h
config.status: creating libhashkit-1.0/configure.h
config.status: creating libtest/version.h
config.status: creating libtest/yatlcon.h
config.status: creating Makefile
config.status: creating docs/conf.py
config.status: creating libmemcached-1.0/configure.h
config.status: creating support/libmemcached.pc
config.status: creating support/libmemcached.spec
config.status: creating mem_config.h
config.status: mem_config.h is unchanged
config.status: executing depfiles commands
config.status: executing libtool commands
---
Configuration summary for libmemcached version 1.0.18

   * Installation prefix:       /usr/local
   * System type:               pc-solaris2.11
   * Host CPU:                  i386
   * C Compiler:                cc: Sun C 5.10 SunOS_i386 2009/06/03
   * C Flags:                   -g 
   * C++ Compiler:              c++: error: unrecognized command line option '-V'
   * C++ Flags:                 -g -O2 -Wno-unknown-pragmas -Wno-pragmas -Wall -Wextra -Wno-attributes -Wvarargs -Waddress -Warray-bounds -Wchar-subscripts -Wcomment -Wctor-dtor-privacy -Wfloat-equal -Wformat=2 -Wformat-y2k -Wmaybe-uninitialized -Wmissing-field-initializers -Wlogical-op -Wnon-virtual-dtor -Wnormalized=id -Woverloaded-virtual -Wpointer-arith -Wredundant-decls -Wshadow -Wsign-compare -Wstrict-overflow=1 -Wswitch-enum -Wtrampolines -Wundef -Wunsafe-loop-optimizations -funsafe-loop-optimizations -Wc++11-compat -Wclobbered -Wunused -Wunused-result -Wunused-variable -Wunused-parameter -Wunused-local-typedefs -Wwrite-strings -Wformat-security -fwrapv -pipe -fPIE -pie -Wsizeof-pointer-memaccess -Wpacked
   * CPP Flags:                 
   * LIB Flags:                 
   * Assertions enabled:        no
   * Debug enabled:             no
   * Shared:                    yes
   * Warnings as failure:       no
   * SASL support:              no
   * make -j:                   2
   * VCS checkout:              no

Также в файле mem_config.h приведен код, вызывающий ошибку

/* _SYS_FEATURE_TESTS_H is Solaris, _FEATURES_H is GCC */
#if defined( _SYS_FEATURE_TESTS_H) || defined(_FEATURES_H)
#error "You should include mem_config.h as your first include file"
#endif

Может кто-нибудь помочь мне?

спасибо:)

...