Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- alpine:~/lizardfs/build# cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr
- -- The C compiler identification is GNU 4.8.2
- -- The CXX compiler identification is GNU 4.8.2
- -- Check for working C compiler: /usr/bin/cc
- -- Check for working C compiler: /usr/bin/cc -- works
- -- Detecting C compiler ABI info
- -- Detecting C compiler ABI info - done
- -- Check for working CXX compiler: /usr/bin/c++
- -- Check for working CXX compiler: /usr/bin/c++ -- works
- -- Detecting CXX compiler ABI info
- -- Detecting CXX compiler ABI info - done
- -- CMAKE_BUILD_TYPE: Release
- -- CMAKE_INSTALL_PREFIX: /usr
- -- DEFAULT_USER: mfs
- -- DEFAULT_GROUP: mfs
- -- ENABLE_WERROR: OFF
- -- ENABLE_LIGHTMFS: OFF
- -- ENABLE_DEBIAN_PATHS: OFF
- -- ENABLE_UTILS: OFF
- -- ENABLE_TESTS: OFF
- -- ENABLE_DOCS: ON
- -- ENABLE_EXIT_ON_USR1: OFF
- -- THROW_INSTEAD_OF_ABORT: OFF
- -- ENABLE_DEBUG_LOG: OFF
- -- Check if the system is big endian
- -- Searching 16 bit integer
- -- Looking for sys/types.h
- -- Looking for sys/types.h - found
- -- Looking for stdint.h
- -- Looking for stdint.h - found
- -- Looking for stddef.h
- -- Looking for stddef.h - found
- -- Check size of unsigned short
- -- Check size of unsigned short - done
- -- Using unsigned short
- -- Check if the system is big endian - little endian
- -- Check size of int8_t
- -- Check size of int8_t - done
- -- Check size of uint8_t
- -- Check size of uint8_t - done
- -- Check size of int16_t
- -- Check size of int16_t - done
- -- Check size of uint16_t
- -- Check size of uint16_t - done
- -- Check size of int32_t
- -- Check size of int32_t - done
- -- Check size of uint32_t
- -- Check size of uint32_t - done
- -- Check size of int64_t
- -- Check size of int64_t - done
- -- Check size of uint64_t
- -- Check size of uint64_t - done
- -- Check size of uid_t
- -- Check size of uid_t - done
- -- Check size of mode_t
- -- Check size of mode_t - done
- -- Check size of off_t
- -- Check size of off_t - done
- -- Check size of pid_t
- -- Check size of pid_t - done
- -- Check size of size_t
- -- Check size of size_t - done
- -- Performing Test LIZARDFS_HAVE_STRUCT_STAT_ST_BLOCKS
- -- Performing Test LIZARDFS_HAVE_STRUCT_STAT_ST_BLOCKS - Success
- -- Performing Test LIZARDFS_HAVE_STRUCT_STAT_ST_RDEV
- -- Performing Test LIZARDFS_HAVE_STRUCT_STAT_ST_RDEV - Success
- -- Performing Test LIZARDFS_HAVE_STRUCT_STAT_ST_BIRTHTIME
- -- Performing Test LIZARDFS_HAVE_STRUCT_STAT_ST_BIRTHTIME - Failed
- -- Performing Test LIZARDFS_HAVE_STRUCT_STAT_ST_BLKSIZE
- -- Performing Test LIZARDFS_HAVE_STRUCT_STAT_ST_BLKSIZE - Success
- -- Performing Test LIZARDFS_HAVE_STRUCT_STAT_ST_FLAGS
- -- Performing Test LIZARDFS_HAVE_STRUCT_STAT_ST_FLAGS - Failed
- -- Performing Test LIZARDFS_HAVE_STRUCT_TM_TM_GMTOFF
- -- Performing Test LIZARDFS_HAVE_STRUCT_TM_TM_GMTOFF - Success
- -- Performing Test LIZARDFS_HAVE_STRUCT_RUSAGE_RU_MAXRSS
- -- Performing Test LIZARDFS_HAVE_STRUCT_RUSAGE_RU_MAXRSS - Success
- -- Looking for fork
- -- Looking for fork - found
- -- Looking for vfork
- -- Looking for vfork - found
- -- Performing Test LIZARDFS_HAVE_STD_TO_STRING
- -- Performing Test LIZARDFS_HAVE_STD_TO_STRING - Success
- -- Performing Test LIZARDFS_HAVE_STD_STOULL
- -- Performing Test LIZARDFS_HAVE_STD_STOULL - Success
- -- Looking for atexit
- -- Looking for atexit - found
- -- Looking for bzero
- -- Looking for bzero - found
- -- Looking for ftruncate
- -- Looking for ftruncate - found
- -- Looking for getaddrinfo
- -- Looking for getaddrinfo - found
- -- Looking for getpass
- -- Looking for getpass - found
- -- Looking for gettimeofday
- -- Looking for gettimeofday - found
- -- Looking for memmove
- -- Looking for memmove - found
- -- Looking for memset
- -- Looking for memset - found
- -- Looking for mkdir
- -- Looking for mkdir - found
- -- Looking for realpath
- -- Looking for realpath - found
- -- Looking for poll
- -- Looking for poll - found
- -- Looking for socket
- -- Looking for socket - found
- -- Looking for strchr
- -- Looking for strchr - found
- -- Looking for strdup
- -- Looking for strdup - found
- -- Looking for strtol
- -- Looking for strtol - found
- -- Looking for strtoul
- -- Looking for strtoul - found
- -- Looking for ftello
- -- Looking for ftello - found
- -- Looking for fseeko
- -- Looking for fseeko - found
- -- Looking for strerror
- -- Looking for strerror - found
- -- Looking for perror
- -- Looking for perror - found
- -- Looking for pread
- -- Looking for pread - found
- -- Looking for pwrite
- -- Looking for pwrite - found
- -- Looking for readv
- -- Looking for readv - found
- -- Looking for writev
- -- Looking for writev - found
- -- Looking for getrusage
- -- Looking for getrusage - found
- -- Looking for setitimer
- -- Looking for setitimer - found
- -- Looking for dup2
- -- Looking for dup2 - found
- -- Looking for mlockall
- -- Looking for mlockall - found
- -- Looking for getcwd
- -- Looking for getcwd - found
- -- Performing Test CXX_HAS_MCRC32
- -- Performing Test CXX_HAS_MCRC32 - Success
- -- Performing Test CXX_HAS_WNOGNU
- -- Performing Test CXX_HAS_WNOGNU - Success
- -- Looking for include file pthread.h
- -- Looking for include file pthread.h - found
- -- Looking for pthread_create
- -- Looking for pthread_create - found
- -- Found Threads: TRUE
- -- FUSE_LIBRARY: /usr/lib/libfuse.so
- -- RT_LIBRARY: /usr/lib/librt.a
- -- a2x: /usr/bin/a2x
- -- Found ZLIB: /lib/libz.so (found version "1.2.8")
- -- Found Zlib 1.2.8
- -- Could NOT find Boost
- -- Thrift requires Boost headers
- -- Could NOT find Thrift (but it's not required)
- -- If it's installed in a non-standard path, set THRIFT_ROOT variable
- -- to point this path (cmake -DTHRIFT_ROOT=...)
- -- Could NOT find Polonaise v0.3.1 (but it's not required)
- -- If it's installed in a non-standard path, set Polonaise_DIR variable
- -- to point this path (cmake -DPolonaise_DIR=...)
- -- Looking for include file arpa/inet.h
- -- Looking for include file arpa/inet.h - found
- -- Looking for include file endian.h
- -- Looking for include file endian.h - found
- -- Looking for include file fcntl.h
- -- Looking for include file fcntl.h - found
- -- Looking for include file inttypes.h
- -- Looking for include file inttypes.h - found
- -- Looking for include file limits.h
- -- Looking for include file limits.h - found
- -- Looking for include file netdb.h
- -- Looking for include file netdb.h - found
- -- Looking for include file netinet/in.h
- -- Looking for include file netinet/in.h - found
- -- Looking for include file stddef.h
- -- Looking for include file stddef.h - found
- -- Looking for include file stdlib.h
- -- Looking for include file stdlib.h - found
- -- Looking for include file string.h
- -- Looking for include file string.h - found
- -- Looking for include file sys/endian.h
- -- Looking for include file sys/endian.h - not found
- -- Looking for include file sys/resource.h
- -- Looking for include file sys/resource.h - found
- -- Looking for include file sys/rusage.h
- -- Looking for include file sys/rusage.h - not found
- -- Looking for include file sys/socket.h
- -- Looking for include file sys/socket.h - found
- -- Looking for include file sys/statvfs.h
- -- Looking for include file sys/statvfs.h - found
- -- Looking for include file sys/time.h
- -- Looking for include file sys/time.h - found
- -- Looking for include file syslog.h
- -- Looking for include file syslog.h - found
- -- Looking for include file unistd.h
- -- Looking for include file unistd.h - found
- -- Looking for include file stdbool.h
- -- Looking for include file stdbool.h - found
- Some include files were not found: sys/endian.h;sys/rusage.h
- -- Boost.Program_options library not found - building lizardfs-polonaise-server skipped
- -- CPACK_DEBIAN_PACKAGE_CONTROL_EXTRA=/root/lizardfs/build/src/data/postinst
- -- Configuring done
- -- Generating done
- -- Build files have been written to: /root/lizardfs/build
- alpine:~/lizardfs/build# make
- Scanning dependencies of target crcutil
- [ 1%] Building CXX object external/CMakeFiles/crcutil.dir/crcutil-1.0/code/multiword_64_64_gcc_amd64_asm.cc.o
- [ 2%] Building CXX object external/CMakeFiles/crcutil.dir/crcutil-1.0/code/crc32c_sse4.cc.o
- [ 2%] Building CXX object external/CMakeFiles/crcutil.dir/crcutil-1.0/code/multiword_64_64_gcc_i386_mmx.cc.o
- [ 3%] Building CXX object external/CMakeFiles/crcutil.dir/crcutil-1.0/code/multiword_64_64_cl_i386_mmx.cc.o
- [ 4%] Building CXX object external/CMakeFiles/crcutil.dir/crcutil-1.0/code/multiword_128_64_gcc_amd64_sse2.cc.o
- [ 5%] Building CXX object external/CMakeFiles/crcutil.dir/crcutil-1.0/code/multiword_64_64_intrinsic_i386_mmx.cc.o
- Linking CXX static library libcrcutil.a
- [ 5%] Built target crcutil
- Scanning dependencies of target mfscommon
- [ 6%] Building CXX object src/common/CMakeFiles/mfscommon.dir/mfserr.cc.o
- [ 6%] Building CXX object src/common/CMakeFiles/mfscommon.dir/disk_info.cc.o
- [ 7%] Building CXX object src/common/CMakeFiles/mfscommon.dir/access_control_list.cc.o
- [ 8%] Building CXX object src/common/CMakeFiles/mfscommon.dir/pcqueue.cc.o
- [ 9%] Building CXX object src/common/CMakeFiles/mfscommon.dir/server_connection.cc.o
- In file included from /root/lizardfs/src/common/sockets.h:24:0,
- from /root/lizardfs/src/common/server_connection.cc:7:
- /usr/include/sys/poll.h:1:2: warning: #warning redirecting incorrect #include <sys/poll.h> to <poll.h> [-Wcpp]
- #warning redirecting incorrect #include <sys/poll.h> to <poll.h>
- ^
- cc1plus: warning: unrecognized command line option "-Wno-gnu" [enabled by default]
- [ 9%] Building CXX object src/common/CMakeFiles/mfscommon.dir/setup.cc.o
- [ 10%] Building CXX object src/common/CMakeFiles/mfscommon.dir/media_label.cc.o
- [ 11%] Building CXX object src/common/CMakeFiles/mfscommon.dir/metadata.cc.o
- [ 12%] Building CXX object src/common/CMakeFiles/mfscommon.dir/human_readable_format.cc.o
- [ 12%] Building CXX object src/common/CMakeFiles/mfscommon.dir/md5.cc.o
- [ 13%] Building CXX object src/common/CMakeFiles/mfscommon.dir/cwrap.cc.o
- [ 14%] Building CXX object src/common/CMakeFiles/mfscommon.dir/time_utils.cc.o
- [ 15%] Building CXX object src/common/CMakeFiles/mfscommon.dir/lockfile.cc.o
- /root/lizardfs/src/common/lockfile.cc: In member function 'void Lockfile::lock(Lockfile::StaleLock)':
- /root/lizardfs/src/common/lockfile.cc:24:12: error: '::open' has not been declared
- fd_.reset(::open(name_.c_str(), O_CREAT | O_RDWR | (existed ? 0 : O_EXCL), 0644));
- ^
- /root/lizardfs/src/common/lockfile.cc:24:34: error: 'O_CREAT' was not declared in this scope
- fd_.reset(::open(name_.c_str(), O_CREAT | O_RDWR | (existed ? 0 : O_EXCL), 0644));
- ^
- /root/lizardfs/src/common/lockfile.cc:24:44: error: 'O_RDWR' was not declared in this scope
- fd_.reset(::open(name_.c_str(), O_CREAT | O_RDWR | (existed ? 0 : O_EXCL), 0644));
- ^
- /root/lizardfs/src/common/lockfile.cc:24:68: error: 'O_EXCL' was not declared in this scope
- fd_.reset(::open(name_.c_str(), O_CREAT | O_RDWR | (existed ? 0 : O_EXCL), 0644));
- ^
- At global scope:
- cc1plus: warning: unrecognized command line option "-Wno-gnu" [enabled by default]
- src/common/CMakeFiles/mfscommon.dir/build.make:333: recipe for target 'src/common/CMakeFiles/mfscommon.dir/lockfile.cc.o' failed
- make[2]: *** [src/common/CMakeFiles/mfscommon.dir/lockfile.cc.o] Error 1
- CMakeFiles/Makefile2:128: recipe for target 'src/common/CMakeFiles/mfscommon.dir/all' failed
- make[1]: *** [src/common/CMakeFiles/mfscommon.dir/all] Error 2
- Makefile:136: recipe for target 'all' failed
- make: *** [all] Error 2
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement