Advertisement
NecroBoy

Nginx + RTMP

Oct 31st, 2017
708
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.34 KB | None | 0 0
  1. user@ubuntu:~/nginx/nginx-1.9.9$ sudo ./configure --with-http_ssl_module --add-module=../nginx-rtmp-module-master
  2. [sudo] password for user:
  3. checking for OS
  4. + Linux 4.13.0-16-generic x86_64
  5. checking for C compiler ... found
  6. + using GNU C compiler
  7. + gcc version: 7.2.0 (Ubuntu 7.2.0-8ubuntu3)
  8. checking for gcc -pipe switch ... found
  9. checking for gcc builtin atomic operations ... found
  10. checking for C99 variadic macros ... found
  11. checking for gcc variadic macros ... found
  12. checking for unistd.h ... found
  13. checking for inttypes.h ... found
  14. checking for limits.h ... found
  15. checking for sys/filio.h ... not found
  16. checking for sys/param.h ... found
  17. checking for sys/mount.h ... found
  18. checking for sys/statvfs.h ... found
  19. checking for crypt.h ... found
  20. checking for Linux specific features
  21. checking for epoll ... found
  22. checking for EPOLLRDHUP ... found
  23. checking for O_PATH ... found
  24. checking for sendfile() ... found
  25. checking for sendfile64() ... found
  26. checking for sys/prctl.h ... found
  27. checking for prctl(PR_SET_DUMPABLE) ... found
  28. checking for sched_setaffinity() ... found
  29. checking for crypt_r() ... found
  30. checking for sys/vfs.h ... found
  31. checking for nobody group ... not found
  32. checking for nogroup group ... found
  33. checking for poll() ... found
  34. checking for /dev/poll ... not found
  35. checking for kqueue ... not found
  36. checking for crypt() ... not found
  37. checking for crypt() in libcrypt ... found
  38. checking for F_READAHEAD ... not found
  39. checking for posix_fadvise() ... found
  40. checking for O_DIRECT ... found
  41. checking for F_NOCACHE ... not found
  42. checking for directio() ... not found
  43. checking for statfs() ... found
  44. checking for statvfs() ... found
  45. checking for dlopen() ... not found
  46. checking for dlopen() in libdl ... found
  47. checking for sched_yield() ... found
  48. checking for SO_SETFIB ... not found
  49. checking for SO_REUSEPORT ... found
  50. checking for SO_ACCEPTFILTER ... not found
  51. checking for TCP_DEFER_ACCEPT ... found
  52. checking for TCP_KEEPIDLE ... found
  53. checking for TCP_FASTOPEN ... found
  54. checking for TCP_INFO ... found
  55. checking for accept4() ... found
  56. checking for eventfd() ... found
  57. checking for int size ... 4 bytes
  58. checking for long size ... 8 bytes
  59. checking for long long size ... 8 bytes
  60. checking for void * size ... 8 bytes
  61. checking for uint64_t ... found
  62. checking for sig_atomic_t ... found
  63. checking for sig_atomic_t size ... 4 bytes
  64. checking for socklen_t ... found
  65. checking for in_addr_t ... found
  66. checking for in_port_t ... found
  67. checking for rlim_t ... found
  68. checking for uintptr_t ... uintptr_t found
  69. checking for system byte ordering ... little endian
  70. checking for size_t size ... 8 bytes
  71. checking for off_t size ... 8 bytes
  72. checking for time_t size ... 8 bytes
  73. checking for setproctitle() ... not found
  74. checking for pread() ... found
  75. checking for pwrite() ... found
  76. checking for pwritev() ... found
  77. checking for sys_nerr ... found
  78. checking for localtime_r() ... found
  79. checking for posix_memalign() ... found
  80. checking for memalign() ... found
  81. checking for mmap(MAP_ANON|MAP_SHARED) ... found
  82. checking for mmap("/dev/zero", MAP_SHARED) ... found
  83. checking for System V shared memory ... found
  84. checking for POSIX semaphores ... not found
  85. checking for POSIX semaphores in libpthread ... found
  86. checking for struct msghdr.msg_control ... found
  87. checking for ioctl(FIONBIO) ... found
  88. checking for struct tm.tm_gmtoff ... found
  89. checking for struct dirent.d_namlen ... not found
  90. checking for struct dirent.d_type ... found
  91. checking for sysconf(_SC_NPROCESSORS_ONLN) ... found
  92. checking for openat(), fstatat() ... found
  93. checking for getaddrinfo() ... found
  94. configuring additional modules
  95. adding module in ../nginx-rtmp-module-master
  96. + ngx_rtmp_module was configured
  97. checking for PCRE library ... found
  98. checking for PCRE JIT support ... found
  99. checking for OpenSSL library ... found
  100. checking for zlib library ... found
  101. creating objs/Makefile
  102.  
  103. Configuration summary
  104. + using system PCRE library
  105. + using system OpenSSL library
  106. + md5: using OpenSSL library
  107. + sha1: using OpenSSL library
  108. + using system zlib library
  109.  
  110. nginx path prefix: "/usr/local/nginx"
  111. nginx binary file: "/usr/local/nginx/sbin/nginx"
  112. nginx configuration prefix: "/usr/local/nginx/conf"
  113. nginx configuration file: "/usr/local/nginx/conf/nginx.conf"
  114. nginx pid file: "/usr/local/nginx/logs/nginx.pid"
  115. nginx error log file: "/usr/local/nginx/logs/error.log"
  116. nginx http access log file: "/usr/local/nginx/logs/access.log"
  117. nginx http client request body temporary files: "client_body_temp"
  118. nginx http proxy temporary files: "proxy_temp"
  119. nginx http fastcgi temporary files: "fastcgi_temp"
  120. nginx http uwsgi temporary files: "uwsgi_temp"
  121. nginx http scgi temporary files: "scgi_temp"
  122.  
  123. user@ubuntu:~/nginx/nginx-1.9.9$ sudo make
  124. make -f objs/Makefile
  125. make[1]: Entering directory '/home/user/nginx/nginx-1.9.9'
  126. cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused -Werror -g -I../nginx-rtmp-module-master -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
  127. -o objs/src/core/nginx.o \
  128. src/core/nginx.c
  129.  
  130. cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused -Werror -g -I../nginx-rtmp-module-master -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
  131. -o objs/src/core/ngx_log.o \
  132. src/core/ngx_log.c
  133. cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused -Werror -g -I../nginx-rtmp-module-master -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
  134. -o objs/src/core/ngx_palloc.o \
  135. src/core/ngx_palloc.c
  136. cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused -Werror -g -I../nginx-rtmp-module-master -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
  137. -o objs/src/core/ngx_array.o \
  138. src/core/ngx_array.c
  139. cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused -Werror -g -I../nginx-rtmp-module-master -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
  140. -o objs/src/core/ngx_list.o \
  141. src/core/ngx_list.c
  142. cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused -Werror -g -I../nginx-rtmp-module-master -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
  143. -o objs/src/core/ngx_hash.o \
  144. src/core/ngx_hash.c
  145. cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused -Werror -g -I../nginx-rtmp-module-master -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
  146. -o objs/src/core/ngx_buf.o \
  147. src/core/ngx_buf.c
  148. cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused -Werror -g -I../nginx-rtmp-module-master -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
  149. -o objs/src/core/ngx_queue.o \
  150. src/core/ngx_queue.c
  151. cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused -Werror -g -I../nginx-rtmp-module-master -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
  152. -o objs/src/core/ngx_output_chain.o \
  153. src/core/ngx_output_chain.c
  154. cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused -Werror -g -I../nginx-rtmp-module-master -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
  155. -o objs/src/core/ngx_string.o \
  156. src/core/ngx_string.c
  157. cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused -Werror -g -I../nginx-rtmp-module-master -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
  158. -o objs/src/core/ngx_parse.o \
  159. src/core/ngx_parse.c
  160. cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused -Werror -g -I../nginx-rtmp-module-master -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
  161. -o objs/src/core/ngx_parse_time.o \
  162. src/core/ngx_parse_time.c
  163. cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused -Werror -g -I../nginx-rtmp-module-master -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
  164. -o objs/src/core/ngx_inet.o \
  165. src/core/ngx_inet.c
  166. cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused -Werror -g -I../nginx-rtmp-module-master -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
  167. -o objs/src/core/ngx_file.o \
  168. src/core/ngx_file.c
  169. cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused -Werror -g -I../nginx-rtmp-module-master -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
  170. -o objs/src/core/ngx_crc32.o \
  171. src/core/ngx_crc32.c
  172. cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused -Werror -g -I../nginx-rtmp-module-master -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
  173. -o objs/src/core/ngx_murmurhash.o \
  174. src/core/ngx_murmurhash.c
  175. src/core/ngx_murmurhash.c: In function ‘ngx_murmur_hash2’:
  176. src/core/ngx_murmurhash.c:37:11: error: this statement may fall through [-Werror=implicit-fallthrough=]
  177. h ^= data[2] << 16;
  178. ~~^~~~~~~~~~~~~~~~
  179. src/core/ngx_murmurhash.c:38:5: note: here
  180. case 2:
  181. ^~~~
  182. src/core/ngx_murmurhash.c:39:11: error: this statement may fall through [-Werror=implicit-fallthrough=]
  183. h ^= data[1] << 8;
  184. ~~^~~~~~~~~~~~~~~
  185. src/core/ngx_murmurhash.c:40:5: note: here
  186. case 1:
  187. ^~~~
  188. cc1: all warnings being treated as errors
  189. objs/Makefile:524: recipe for target 'objs/src/core/ngx_murmurhash.o' failed
  190. make[1]: *** [objs/src/core/ngx_murmurhash.o] Error 1
  191. make[1]: Leaving directory '/home/user/nginx/nginx-1.9.9'
  192. Makefile:8: recipe for target 'build' failed
  193. make: *** [build] Error 2
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement