Advertisement
Guest User

lizardfs alpine linux make problerm

a guest
Dec 7th, 2014
50
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 11.27 KB | None | 0 0
  1. alpine:~/lizardfs/build# cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr
  2. -- The C compiler identification is GNU 4.8.2
  3. -- The CXX compiler identification is GNU 4.8.2
  4. -- Check for working C compiler: /usr/bin/cc
  5. -- Check for working C compiler: /usr/bin/cc -- works
  6. -- Detecting C compiler ABI info
  7. -- Detecting C compiler ABI info - done
  8. -- Check for working CXX compiler: /usr/bin/c++
  9. -- Check for working CXX compiler: /usr/bin/c++ -- works
  10. -- Detecting CXX compiler ABI info
  11. -- Detecting CXX compiler ABI info - done
  12. -- CMAKE_BUILD_TYPE: Release
  13. -- CMAKE_INSTALL_PREFIX: /usr
  14. -- DEFAULT_USER: mfs
  15. -- DEFAULT_GROUP: mfs
  16. -- ENABLE_WERROR: OFF
  17. -- ENABLE_LIGHTMFS: OFF
  18. -- ENABLE_DEBIAN_PATHS: OFF
  19. -- ENABLE_UTILS: OFF
  20. -- ENABLE_TESTS: OFF
  21. -- ENABLE_DOCS: ON
  22. -- ENABLE_EXIT_ON_USR1: OFF
  23. -- THROW_INSTEAD_OF_ABORT: OFF
  24. -- ENABLE_DEBUG_LOG: OFF
  25. -- Check if the system is big endian
  26. -- Searching 16 bit integer
  27. -- Looking for sys/types.h
  28. -- Looking for sys/types.h - found
  29. -- Looking for stdint.h
  30. -- Looking for stdint.h - found
  31. -- Looking for stddef.h
  32. -- Looking for stddef.h - found
  33. -- Check size of unsigned short
  34. -- Check size of unsigned short - done
  35. -- Using unsigned short
  36. -- Check if the system is big endian - little endian
  37. -- Check size of int8_t
  38. -- Check size of int8_t - done
  39. -- Check size of uint8_t
  40. -- Check size of uint8_t - done
  41. -- Check size of int16_t
  42. -- Check size of int16_t - done
  43. -- Check size of uint16_t
  44. -- Check size of uint16_t - done
  45. -- Check size of int32_t
  46. -- Check size of int32_t - done
  47. -- Check size of uint32_t
  48. -- Check size of uint32_t - done
  49. -- Check size of int64_t
  50. -- Check size of int64_t - done
  51. -- Check size of uint64_t
  52. -- Check size of uint64_t - done
  53. -- Check size of uid_t
  54. -- Check size of uid_t - done
  55. -- Check size of mode_t
  56. -- Check size of mode_t - done
  57. -- Check size of off_t
  58. -- Check size of off_t - done
  59. -- Check size of pid_t
  60. -- Check size of pid_t - done
  61. -- Check size of size_t
  62. -- Check size of size_t - done
  63. -- Performing Test LIZARDFS_HAVE_STRUCT_STAT_ST_BLOCKS
  64. -- Performing Test LIZARDFS_HAVE_STRUCT_STAT_ST_BLOCKS - Success
  65. -- Performing Test LIZARDFS_HAVE_STRUCT_STAT_ST_RDEV
  66. -- Performing Test LIZARDFS_HAVE_STRUCT_STAT_ST_RDEV - Success
  67. -- Performing Test LIZARDFS_HAVE_STRUCT_STAT_ST_BIRTHTIME
  68. -- Performing Test LIZARDFS_HAVE_STRUCT_STAT_ST_BIRTHTIME - Failed
  69. -- Performing Test LIZARDFS_HAVE_STRUCT_STAT_ST_BLKSIZE
  70. -- Performing Test LIZARDFS_HAVE_STRUCT_STAT_ST_BLKSIZE - Success
  71. -- Performing Test LIZARDFS_HAVE_STRUCT_STAT_ST_FLAGS
  72. -- Performing Test LIZARDFS_HAVE_STRUCT_STAT_ST_FLAGS - Failed
  73. -- Performing Test LIZARDFS_HAVE_STRUCT_TM_TM_GMTOFF
  74. -- Performing Test LIZARDFS_HAVE_STRUCT_TM_TM_GMTOFF - Success
  75. -- Performing Test LIZARDFS_HAVE_STRUCT_RUSAGE_RU_MAXRSS
  76. -- Performing Test LIZARDFS_HAVE_STRUCT_RUSAGE_RU_MAXRSS - Success
  77. -- Looking for fork
  78. -- Looking for fork - found
  79. -- Looking for vfork
  80. -- Looking for vfork - found
  81. -- Performing Test LIZARDFS_HAVE_STD_TO_STRING
  82. -- Performing Test LIZARDFS_HAVE_STD_TO_STRING - Success
  83. -- Performing Test LIZARDFS_HAVE_STD_STOULL
  84. -- Performing Test LIZARDFS_HAVE_STD_STOULL - Success
  85. -- Looking for atexit
  86. -- Looking for atexit - found
  87. -- Looking for bzero
  88. -- Looking for bzero - found
  89. -- Looking for ftruncate
  90. -- Looking for ftruncate - found
  91. -- Looking for getaddrinfo
  92. -- Looking for getaddrinfo - found
  93. -- Looking for getpass
  94. -- Looking for getpass - found
  95. -- Looking for gettimeofday
  96. -- Looking for gettimeofday - found
  97. -- Looking for memmove
  98. -- Looking for memmove - found
  99. -- Looking for memset
  100. -- Looking for memset - found
  101. -- Looking for mkdir
  102. -- Looking for mkdir - found
  103. -- Looking for realpath
  104. -- Looking for realpath - found
  105. -- Looking for poll
  106. -- Looking for poll - found
  107. -- Looking for socket
  108. -- Looking for socket - found
  109. -- Looking for strchr
  110. -- Looking for strchr - found
  111. -- Looking for strdup
  112. -- Looking for strdup - found
  113. -- Looking for strtol
  114. -- Looking for strtol - found
  115. -- Looking for strtoul
  116. -- Looking for strtoul - found
  117. -- Looking for ftello
  118. -- Looking for ftello - found
  119. -- Looking for fseeko
  120. -- Looking for fseeko - found
  121. -- Looking for strerror
  122. -- Looking for strerror - found
  123. -- Looking for perror
  124. -- Looking for perror - found
  125. -- Looking for pread
  126. -- Looking for pread - found
  127. -- Looking for pwrite
  128. -- Looking for pwrite - found
  129. -- Looking for readv
  130. -- Looking for readv - found
  131. -- Looking for writev
  132. -- Looking for writev - found
  133. -- Looking for getrusage
  134. -- Looking for getrusage - found
  135. -- Looking for setitimer
  136. -- Looking for setitimer - found
  137. -- Looking for dup2
  138. -- Looking for dup2 - found
  139. -- Looking for mlockall
  140. -- Looking for mlockall - found
  141. -- Looking for getcwd
  142. -- Looking for getcwd - found
  143. -- Performing Test CXX_HAS_MCRC32
  144. -- Performing Test CXX_HAS_MCRC32 - Success
  145. -- Performing Test CXX_HAS_WNOGNU
  146. -- Performing Test CXX_HAS_WNOGNU - Success
  147. -- Looking for include file pthread.h
  148. -- Looking for include file pthread.h - found
  149. -- Looking for pthread_create
  150. -- Looking for pthread_create - found
  151. -- Found Threads: TRUE
  152. -- FUSE_LIBRARY: /usr/lib/libfuse.so
  153. -- RT_LIBRARY: /usr/lib/librt.a
  154. -- a2x: /usr/bin/a2x
  155. -- Found ZLIB: /lib/libz.so (found version "1.2.8")
  156. -- Found Zlib 1.2.8
  157. -- Could NOT find Boost
  158. -- Thrift requires Boost headers
  159. -- Could NOT find Thrift (but it's not required)
  160. -- If it's installed in a non-standard path, set THRIFT_ROOT variable
  161. -- to point this path (cmake -DTHRIFT_ROOT=...)
  162. -- Could NOT find Polonaise v0.3.1 (but it's not required)
  163. -- If it's installed in a non-standard path, set Polonaise_DIR variable
  164. -- to point this path (cmake -DPolonaise_DIR=...)
  165. -- Looking for include file arpa/inet.h
  166. -- Looking for include file arpa/inet.h - found
  167. -- Looking for include file endian.h
  168. -- Looking for include file endian.h - found
  169. -- Looking for include file fcntl.h
  170. -- Looking for include file fcntl.h - found
  171. -- Looking for include file inttypes.h
  172. -- Looking for include file inttypes.h - found
  173. -- Looking for include file limits.h
  174. -- Looking for include file limits.h - found
  175. -- Looking for include file netdb.h
  176. -- Looking for include file netdb.h - found
  177. -- Looking for include file netinet/in.h
  178. -- Looking for include file netinet/in.h - found
  179. -- Looking for include file stddef.h
  180. -- Looking for include file stddef.h - found
  181. -- Looking for include file stdlib.h
  182. -- Looking for include file stdlib.h - found
  183. -- Looking for include file string.h
  184. -- Looking for include file string.h - found
  185. -- Looking for include file sys/endian.h
  186. -- Looking for include file sys/endian.h - not found
  187. -- Looking for include file sys/resource.h
  188. -- Looking for include file sys/resource.h - found
  189. -- Looking for include file sys/rusage.h
  190. -- Looking for include file sys/rusage.h - not found
  191. -- Looking for include file sys/socket.h
  192. -- Looking for include file sys/socket.h - found
  193. -- Looking for include file sys/statvfs.h
  194. -- Looking for include file sys/statvfs.h - found
  195. -- Looking for include file sys/time.h
  196. -- Looking for include file sys/time.h - found
  197. -- Looking for include file syslog.h
  198. -- Looking for include file syslog.h - found
  199. -- Looking for include file unistd.h
  200. -- Looking for include file unistd.h - found
  201. -- Looking for include file stdbool.h
  202. -- Looking for include file stdbool.h - found
  203. Some include files were not found: sys/endian.h;sys/rusage.h
  204. -- Boost.Program_options library not found - building lizardfs-polonaise-server skipped
  205. -- CPACK_DEBIAN_PACKAGE_CONTROL_EXTRA=/root/lizardfs/build/src/data/postinst
  206. -- Configuring done
  207. -- Generating done
  208. -- Build files have been written to: /root/lizardfs/build
  209. alpine:~/lizardfs/build# make
  210. Scanning dependencies of target crcutil
  211. [ 1%] Building CXX object external/CMakeFiles/crcutil.dir/crcutil-1.0/code/multiword_64_64_gcc_amd64_asm.cc.o
  212. [ 2%] Building CXX object external/CMakeFiles/crcutil.dir/crcutil-1.0/code/crc32c_sse4.cc.o
  213. [ 2%] Building CXX object external/CMakeFiles/crcutil.dir/crcutil-1.0/code/multiword_64_64_gcc_i386_mmx.cc.o
  214. [ 3%] Building CXX object external/CMakeFiles/crcutil.dir/crcutil-1.0/code/multiword_64_64_cl_i386_mmx.cc.o
  215. [ 4%] Building CXX object external/CMakeFiles/crcutil.dir/crcutil-1.0/code/multiword_128_64_gcc_amd64_sse2.cc.o
  216. [ 5%] Building CXX object external/CMakeFiles/crcutil.dir/crcutil-1.0/code/multiword_64_64_intrinsic_i386_mmx.cc.o
  217. Linking CXX static library libcrcutil.a
  218. [ 5%] Built target crcutil
  219. Scanning dependencies of target mfscommon
  220. [ 6%] Building CXX object src/common/CMakeFiles/mfscommon.dir/mfserr.cc.o
  221. [ 6%] Building CXX object src/common/CMakeFiles/mfscommon.dir/disk_info.cc.o
  222. [ 7%] Building CXX object src/common/CMakeFiles/mfscommon.dir/access_control_list.cc.o
  223. [ 8%] Building CXX object src/common/CMakeFiles/mfscommon.dir/pcqueue.cc.o
  224. [ 9%] Building CXX object src/common/CMakeFiles/mfscommon.dir/server_connection.cc.o
  225. In file included from /root/lizardfs/src/common/sockets.h:24:0,
  226. from /root/lizardfs/src/common/server_connection.cc:7:
  227. /usr/include/sys/poll.h:1:2: warning: #warning redirecting incorrect #include <sys/poll.h> to <poll.h> [-Wcpp]
  228. #warning redirecting incorrect #include <sys/poll.h> to <poll.h>
  229. ^
  230. cc1plus: warning: unrecognized command line option "-Wno-gnu" [enabled by default]
  231. [ 9%] Building CXX object src/common/CMakeFiles/mfscommon.dir/setup.cc.o
  232. [ 10%] Building CXX object src/common/CMakeFiles/mfscommon.dir/media_label.cc.o
  233. [ 11%] Building CXX object src/common/CMakeFiles/mfscommon.dir/metadata.cc.o
  234. [ 12%] Building CXX object src/common/CMakeFiles/mfscommon.dir/human_readable_format.cc.o
  235. [ 12%] Building CXX object src/common/CMakeFiles/mfscommon.dir/md5.cc.o
  236. [ 13%] Building CXX object src/common/CMakeFiles/mfscommon.dir/cwrap.cc.o
  237. [ 14%] Building CXX object src/common/CMakeFiles/mfscommon.dir/time_utils.cc.o
  238. [ 15%] Building CXX object src/common/CMakeFiles/mfscommon.dir/lockfile.cc.o
  239. /root/lizardfs/src/common/lockfile.cc: In member function 'void Lockfile::lock(Lockfile::StaleLock)':
  240. /root/lizardfs/src/common/lockfile.cc:24:12: error: '::open' has not been declared
  241. fd_.reset(::open(name_.c_str(), O_CREAT | O_RDWR | (existed ? 0 : O_EXCL), 0644));
  242. ^
  243. /root/lizardfs/src/common/lockfile.cc:24:34: error: 'O_CREAT' was not declared in this scope
  244. fd_.reset(::open(name_.c_str(), O_CREAT | O_RDWR | (existed ? 0 : O_EXCL), 0644));
  245. ^
  246. /root/lizardfs/src/common/lockfile.cc:24:44: error: 'O_RDWR' was not declared in this scope
  247. fd_.reset(::open(name_.c_str(), O_CREAT | O_RDWR | (existed ? 0 : O_EXCL), 0644));
  248. ^
  249. /root/lizardfs/src/common/lockfile.cc:24:68: error: 'O_EXCL' was not declared in this scope
  250. fd_.reset(::open(name_.c_str(), O_CREAT | O_RDWR | (existed ? 0 : O_EXCL), 0644));
  251. ^
  252. At global scope:
  253. cc1plus: warning: unrecognized command line option "-Wno-gnu" [enabled by default]
  254. src/common/CMakeFiles/mfscommon.dir/build.make:333: recipe for target 'src/common/CMakeFiles/mfscommon.dir/lockfile.cc.o' failed
  255. make[2]: *** [src/common/CMakeFiles/mfscommon.dir/lockfile.cc.o] Error 1
  256. CMakeFiles/Makefile2:128: recipe for target 'src/common/CMakeFiles/mfscommon.dir/all' failed
  257. make[1]: *** [src/common/CMakeFiles/mfscommon.dir/all] Error 2
  258. Makefile:136: recipe for target 'all' failed
  259. make: *** [all] Error 2
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement