taa1

telegram compile error on Mac OS X 10.7.5

Sep 20th, 2016
164
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 17.98 KB | None | 0 0
  1. tg $ export CFLAGS="-I/usr/local/include -I/usr/local/Cellar/readline/6.3.8/include"
  2. tg $ export LDFLAGS="-L/usr/local/lib -L/usr/local/Cellar/readline/6.3.8/lib"
  3. tg $ ./configure && make
  4.  
  5. checking for gcc... gcc
  6. checking whether the C compiler works... yes
  7. checking for C compiler default output file name... a.out
  8. checking for suffix of executables...
  9. checking whether we are cross compiling... no
  10. checking for suffix of object files... o
  11. checking whether we are using the GNU C compiler... yes
  12. checking whether gcc accepts -g... yes
  13. checking for gcc option to accept ISO C89... none needed
  14. checking for library containing clock_gettime... no
  15. checking for library containing backtrace... none required
  16. checking for event_base_new in -levent... yes
  17. checking how to run the C preprocessor... gcc -E
  18. checking for grep that handles long lines and -e... /usr/local/bin/ggrep
  19. checking for egrep... /usr/local/bin/ggrep -E
  20. checking for ANSI C header files... yes
  21. checking for sys/types.h... yes
  22. checking for sys/stat.h... yes
  23. checking for stdlib.h... yes
  24. checking for string.h... yes
  25. checking for memory.h... yes
  26. checking for strings.h... yes
  27. checking for inttypes.h... yes
  28. checking for stdint.h... yes
  29. checking for unistd.h... yes
  30. checking event2/event.h usability... yes
  31. checking event2/event.h presence... yes
  32. checking for event2/event.h... yes
  33. checking for pkg-config... /usr/local/bin/pkg-config
  34. checking whether compiling and linking against OpenSSL works... yes
  35. checking if zlib is wanted... yes
  36. checking for inflateEnd in -lz... yes
  37. checking zlib.h usability... yes
  38. checking zlib.h presence... yes
  39. checking for zlib.h... yes
  40. checking for rl_save_prompt in -lreadline... yes
  41. checking for libconfig... enabled
  42. checking for config_init in -lconfig... yes
  43. checking for liblua... enabled
  44. checking for lua... /usr/local/bin/lua
  45. checking if /usr/local/bin/lua is a Lua interpreter... yes
  46. checking for lua version... 5.2
  47. checking for lua platform... unknown
  48. checking for lua script directory... ${prefix}/share/lua/5.2
  49. checking for lua module directory... ${exec_prefix}/lib/lua/5.2
  50. checking if LUA_VERSION is defined... yes
  51. checking lua.h usability... yes
  52. checking lua.h presence... yes
  53. checking for lua.h... yes
  54. checking lualib.h usability... yes
  55. checking lualib.h presence... yes
  56. checking for lualib.h... yes
  57. checking lauxlib.h usability... yes
  58. checking lauxlib.h presence... yes
  59. checking for lauxlib.h... yes
  60. checking luaconf.h usability... yes
  61. checking luaconf.h presence... yes
  62. checking for luaconf.h... yes
  63. checking for Lua header version... 5.2
  64. checking if Lua header version matches 5.2... yes
  65. checking if LUA_VERSION is defined... yes
  66. checking for library containing exp... none required
  67. checking for library containing dlopen... none required
  68. checking for library containing lua_load... -llua
  69. checking for python... disabled
  70. checking for libjansson... enabled
  71. checking for json_array_set_new in -ljansson... yes
  72. checking progname... default
  73. checking execinfo.h usability... yes
  74. checking execinfo.h presence... yes
  75. checking for execinfo.h... yes
  76. checking fcntl.h usability... yes
  77. checking fcntl.h presence... yes
  78. checking for fcntl.h... yes
  79. checking malloc.h usability... no
  80. checking malloc.h presence... no
  81. checking for malloc.h... no
  82. checking netdb.h usability... yes
  83. checking netdb.h presence... yes
  84. checking for netdb.h... yes
  85. checking for stdlib.h... (cached) yes
  86. checking for string.h... (cached) yes
  87. checking for unistd.h... (cached) yes
  88. checking arpa/inet.h usability... yes
  89. checking arpa/inet.h presence... yes
  90. checking for arpa/inet.h... yes
  91. checking mach/mach.h usability... yes
  92. checking mach/mach.h presence... yes
  93. checking for mach/mach.h... yes
  94. checking netinet/in.h usability... yes
  95. checking netinet/in.h presence... yes
  96. checking for netinet/in.h... yes
  97. checking sys/file.h usability... yes
  98. checking sys/file.h presence... yes
  99. checking for sys/file.h... yes
  100. checking sys/socket.h usability... yes
  101. checking sys/socket.h presence... yes
  102. checking for sys/socket.h... yes
  103. checking termios.h usability... yes
  104. checking termios.h presence... yes
  105. checking for termios.h... yes
  106. checking for size_t... yes
  107. checking for uid_t in sys/types.h... yes
  108. checking for inline... inline
  109. checking for stdlib.h... (cached) yes
  110. checking for GNU libc compatible malloc... yes
  111. checking for stdlib.h... (cached) yes
  112. checking for GNU libc compatible realloc... yes
  113. checking for alarm... yes
  114. checking for endpwent... yes
  115. checking for memset... yes
  116. checking for memmove... yes
  117. checking for mkdir... yes
  118. checking for select... yes
  119. checking for socket... yes
  120. checking for strdup... yes
  121. checking for strndup... yes
  122. checking for uname... yes
  123. checking for __builtin_bswap32... yes
  124. configure: creating ./config.status
  125. config.status: creating Makefile
  126. config.status: creating config.h
  127. cat tgl/scheme.tl tgl/encrypted_scheme.tl tgl/binlog.tl tgl/append.tl tgl/mtproto.tl > auto/scheme.tl
  128. gcc -I. -I. -I./tgl -I/usr/local/include -I/usr/local/Cellar/readline/6.3.8/include -I/usr/local/include -I/usr/include -I/usr/include -DHAVE_CONFIG_H -Wall -Werror -Wextra -Wno-missing-field-initializers -Wno-deprecated-declarations -fno-strict-aliasing -fno-omit-frame-pointer -ggdb -Wno-unused-parameter -fPIC -iquote ./tgl/tl-parser -c -MP -MD -MF dep/tl-parser.d -MQ objs/tl-parser.o -o objs/tl-parser.o tgl/tl-parser/tl-parser.c
  129. gcc -I. -I. -I./tgl -I/usr/local/include -I/usr/local/Cellar/readline/6.3.8/include -I/usr/local/include -I/usr/include -I/usr/include -DHAVE_CONFIG_H -Wall -Werror -Wextra -Wno-missing-field-initializers -Wno-deprecated-declarations -fno-strict-aliasing -fno-omit-frame-pointer -ggdb -Wno-unused-parameter -fPIC -iquote ./tgl/tl-parser -c -MP -MD -MF dep/tlc.d -MQ objs/tlc.o -o objs/tlc.o tgl/tl-parser/tlc.c
  130. gcc objs/tl-parser.o objs/tlc.o -L/usr/local/lib -L/usr/local/Cellar/readline/6.3.8/lib -L/usr/local/lib -L/usr/lib -L/usr/lib -rdynamic -ggdb -levent -ljansson -lconfig -lz -levent -lreadline -llua -lssl -lcrypto -lz -ldl -lpthread -lutil -o bin/tl-parser
  131. bin/tl-parser -e auto/scheme.tlo auto/scheme.tl
  132. gcc -I. -I. -I./tgl -I/usr/local/include -I/usr/local/Cellar/readline/6.3.8/include -I/usr/local/include -I/usr/include -I/usr/include -DHAVE_CONFIG_H -Wall -Werror -Wextra -Wno-missing-field-initializers -Wno-deprecated-declarations -fno-strict-aliasing -fno-omit-frame-pointer -ggdb -Wno-unused-parameter -fPIC -iquote ./tgl -c -MP -MD -MF dep/generate.d -MQ objs/generate.o -o objs/generate.o tgl/generate.c
  133. gcc -I. -I. -I./tgl -I/usr/local/include -I/usr/local/Cellar/readline/6.3.8/include -I/usr/local/include -I/usr/include -I/usr/include -DHAVE_CONFIG_H -Wall -Werror -Wextra -Wno-missing-field-initializers -Wno-deprecated-declarations -fno-strict-aliasing -fno-omit-frame-pointer -ggdb -Wno-unused-parameter -fPIC -iquote ./tgl -c -MP -MD -MF dep/tools.d -MQ objs/tools.o -o objs/tools.o tgl/tools.c
  134. gcc -I. -I. -I./tgl -I/usr/local/include -I/usr/local/Cellar/readline/6.3.8/include -I/usr/local/include -I/usr/include -I/usr/include -DHAVE_CONFIG_H -Wall -Werror -Wextra -Wno-missing-field-initializers -Wno-deprecated-declarations -fno-strict-aliasing -fno-omit-frame-pointer -ggdb -Wno-unused-parameter -fPIC -iquote ./tgl -c -MP -MD -MF dep/crypto/rand_openssl.d -MQ objs/crypto/rand_openssl.o -o objs/crypto/rand_openssl.o tgl/crypto/rand_openssl.c
  135. gcc -I. -I. -I./tgl -I/usr/local/include -I/usr/local/Cellar/readline/6.3.8/include -I/usr/local/include -I/usr/include -I/usr/include -DHAVE_CONFIG_H -Wall -Werror -Wextra -Wno-missing-field-initializers -Wno-deprecated-declarations -fno-strict-aliasing -fno-omit-frame-pointer -ggdb -Wno-unused-parameter -fPIC -iquote ./tgl -c -MP -MD -MF dep/crypto/rand_altern.d -MQ objs/crypto/rand_altern.o -o objs/crypto/rand_altern.o tgl/crypto/rand_altern.c
  136. gcc -I. -I. -I./tgl -I/usr/local/include -I/usr/local/Cellar/readline/6.3.8/include -I/usr/local/include -I/usr/include -I/usr/include -DHAVE_CONFIG_H -Wall -Werror -Wextra -Wno-missing-field-initializers -Wno-deprecated-declarations -fno-strict-aliasing -fno-omit-frame-pointer -ggdb -Wno-unused-parameter -fPIC -iquote ./tgl -c -MP -MD -MF dep/crypto/err_openssl.d -MQ objs/crypto/err_openssl.o -o objs/crypto/err_openssl.o tgl/crypto/err_openssl.c
  137. gcc -I. -I. -I./tgl -I/usr/local/include -I/usr/local/Cellar/readline/6.3.8/include -I/usr/local/include -I/usr/include -I/usr/include -DHAVE_CONFIG_H -Wall -Werror -Wextra -Wno-missing-field-initializers -Wno-deprecated-declarations -fno-strict-aliasing -fno-omit-frame-pointer -ggdb -Wno-unused-parameter -fPIC -iquote ./tgl -c -MP -MD -MF dep/crypto/err_altern.d -MQ objs/crypto/err_altern.o -o objs/crypto/err_altern.o tgl/crypto/err_altern.c
  138. gcc objs/generate.o objs/tools.o objs/crypto/rand_openssl.o objs/crypto/rand_altern.o objs/crypto/err_openssl.o objs/crypto/err_altern.o -L/usr/local/lib -L/usr/local/Cellar/readline/6.3.8/lib -L/usr/local/lib -L/usr/lib -L/usr/lib -rdynamic -ggdb -levent -ljansson -lconfig -lz -levent -lreadline -llua -lssl -lcrypto -lz -ldl -lpthread -lutil -o bin/generate
  139. bin/generate -g skip-header auto/scheme.tlo > auto/auto-skip.h || ( rm auto/auto-skip.h && false )
  140. bin/generate -g fetch-header auto/scheme.tlo > auto/auto-fetch.h || ( rm auto/auto-fetch.h && false )
  141. bin/generate -g store-header auto/scheme.tlo > auto/auto-store.h || ( rm auto/auto-store.h && false )
  142. bin/generate -g autocomplete-header auto/scheme.tlo > auto/auto-autocomplete.h || ( rm auto/auto-autocomplete.h && false )
  143. bin/generate -g types-header auto/scheme.tlo > auto/auto-types.h || ( rm auto/auto-types.h && false )
  144. bin/tl-parser -E auto/scheme.tl 2> auto/scheme2.tl || ( cat auto/scheme2.tl && rm auto/scheme2.tl && false )
  145. awk -f ./tgl/gen_constants_h.awk < auto/scheme2.tl > auto/constants.h
  146. bin/generate -g fetch-ds-header auto/scheme.tlo > auto/auto-fetch-ds.h || ( rm auto/auto-fetch-ds.h && false )
  147. bin/generate -g free-ds-header auto/scheme.tlo > auto/auto-free-ds.h || ( rm auto/auto-free-ds.h && false )
  148. bin/generate -g store-ds-header auto/scheme.tlo > auto/auto-store-ds.h || ( rm auto/auto-store-ds.h && false )
  149. bin/generate -g print-ds-header auto/scheme.tlo > auto/auto-print-ds.h || ( rm auto/auto-print-ds.h && false )
  150. gcc -I. -I. -I./tgl -I/usr/local/include -I/usr/local/Cellar/readline/6.3.8/include -I/usr/local/include -I/usr/include -I/usr/include -DHAVE_CONFIG_H -Wall -Werror -Wextra -Wno-missing-field-initializers -Wno-deprecated-declarations -fno-strict-aliasing -fno-omit-frame-pointer -ggdb -Wno-unused-parameter -fPIC -c -MP -MD -MF dep/main.d -MQ objs/main.o -o objs/main.o main.c
  151. gcc -I. -I. -I./tgl -I/usr/local/include -I/usr/local/Cellar/readline/6.3.8/include -I/usr/local/include -I/usr/include -I/usr/include -DHAVE_CONFIG_H -Wall -Werror -Wextra -Wno-missing-field-initializers -Wno-deprecated-declarations -fno-strict-aliasing -fno-omit-frame-pointer -ggdb -Wno-unused-parameter -fPIC -c -MP -MD -MF dep/loop.d -MQ objs/loop.o -o objs/loop.o loop.c
  152. gcc -I. -I. -I./tgl -I/usr/local/include -I/usr/local/Cellar/readline/6.3.8/include -I/usr/local/include -I/usr/include -I/usr/include -DHAVE_CONFIG_H -Wall -Werror -Wextra -Wno-missing-field-initializers -Wno-deprecated-declarations -fno-strict-aliasing -fno-omit-frame-pointer -ggdb -Wno-unused-parameter -fPIC -c -MP -MD -MF dep/interface.d -MQ objs/interface.o -o objs/interface.o interface.c
  153. gcc -I. -I. -I./tgl -I/usr/local/include -I/usr/local/Cellar/readline/6.3.8/include -I/usr/local/include -I/usr/include -I/usr/include -DHAVE_CONFIG_H -Wall -Werror -Wextra -Wno-missing-field-initializers -Wno-deprecated-declarations -fno-strict-aliasing -fno-omit-frame-pointer -ggdb -Wno-unused-parameter -fPIC -c -MP -MD -MF dep/lua-tg.d -MQ objs/lua-tg.o -o objs/lua-tg.o lua-tg.c
  154. gcc -I. -I. -I./tgl -I/usr/local/include -I/usr/local/Cellar/readline/6.3.8/include -I/usr/local/include -I/usr/include -I/usr/include -DHAVE_CONFIG_H -Wall -Werror -Wextra -Wno-missing-field-initializers -Wno-deprecated-declarations -fno-strict-aliasing -fno-omit-frame-pointer -ggdb -Wno-unused-parameter -fPIC -c -MP -MD -MF dep/json-tg.d -MQ objs/json-tg.o -o objs/json-tg.o json-tg.c
  155. gcc -I. -I. -I./tgl -I/usr/local/include -I/usr/local/Cellar/readline/6.3.8/include -I/usr/local/include -I/usr/include -I/usr/include -DHAVE_CONFIG_H -Wall -Werror -Wextra -Wno-missing-field-initializers -Wno-deprecated-declarations -fno-strict-aliasing -fno-omit-frame-pointer -ggdb -Wno-unused-parameter -fPIC -c -MP -MD -MF dep/python-tg.d -MQ objs/python-tg.o -o objs/python-tg.o python-tg.c
  156. gcc -I. -I. -I./tgl -I/usr/local/include -I/usr/local/Cellar/readline/6.3.8/include -I/usr/local/include -I/usr/include -I/usr/include -DHAVE_CONFIG_H -Wall -Werror -Wextra -Wno-missing-field-initializers -Wno-deprecated-declarations -fno-strict-aliasing -fno-omit-frame-pointer -ggdb -Wno-unused-parameter -fPIC -c -MP -MD -MF dep/python-types.d -MQ objs/python-types.o -o objs/python-types.o python-types.c
  157. gcc -I. -I. -I./tgl -I/usr/local/include -I/usr/local/Cellar/readline/6.3.8/include -I/usr/local/include -I/usr/include -I/usr/include -DHAVE_CONFIG_H -Wall -Werror -Wextra -Wno-missing-field-initializers -Wno-deprecated-declarations -fno-strict-aliasing -fno-omit-frame-pointer -ggdb -Wno-unused-parameter -fPIC -iquote ./tgl -c -MP -MD -MF dep/mtproto-common.d -MQ objs/mtproto-common.o -o objs/mtproto-common.o tgl/mtproto-common.c
  158. gcc -I. -I. -I./tgl -I/usr/local/include -I/usr/local/Cellar/readline/6.3.8/include -I/usr/local/include -I/usr/include -I/usr/include -DHAVE_CONFIG_H -Wall -Werror -Wextra -Wno-missing-field-initializers -Wno-deprecated-declarations -fno-strict-aliasing -fno-omit-frame-pointer -ggdb -Wno-unused-parameter -fPIC -iquote ./tgl -c -MP -MD -MF dep/mtproto-client.d -MQ objs/mtproto-client.o -o objs/mtproto-client.o tgl/mtproto-client.c
  159. gcc -I. -I. -I./tgl -I/usr/local/include -I/usr/local/Cellar/readline/6.3.8/include -I/usr/local/include -I/usr/include -I/usr/include -DHAVE_CONFIG_H -Wall -Werror -Wextra -Wno-missing-field-initializers -Wno-deprecated-declarations -fno-strict-aliasing -fno-omit-frame-pointer -ggdb -Wno-unused-parameter -fPIC -iquote ./tgl -c -MP -MD -MF dep/mtproto-key.d -MQ objs/mtproto-key.o -o objs/mtproto-key.o tgl/mtproto-key.c
  160. gcc -I. -I. -I./tgl -I/usr/local/include -I/usr/local/Cellar/readline/6.3.8/include -I/usr/local/include -I/usr/include -I/usr/include -DHAVE_CONFIG_H -Wall -Werror -Wextra -Wno-missing-field-initializers -Wno-deprecated-declarations -fno-strict-aliasing -fno-omit-frame-pointer -ggdb -Wno-unused-parameter -fPIC -iquote ./tgl -c -MP -MD -MF dep/queries.d -MQ objs/queries.o -o objs/queries.o tgl/queries.c
  161. gcc -I. -I. -I./tgl -I/usr/local/include -I/usr/local/Cellar/readline/6.3.8/include -I/usr/local/include -I/usr/include -I/usr/include -DHAVE_CONFIG_H -Wall -Werror -Wextra -Wno-missing-field-initializers -Wno-deprecated-declarations -fno-strict-aliasing -fno-omit-frame-pointer -ggdb -Wno-unused-parameter -fPIC -iquote ./tgl -c -MP -MD -MF dep/structures.d -MQ objs/structures.o -o objs/structures.o tgl/structures.c
  162. gcc -I. -I. -I./tgl -I/usr/local/include -I/usr/local/Cellar/readline/6.3.8/include -I/usr/local/include -I/usr/include -I/usr/include -DHAVE_CONFIG_H -Wall -Werror -Wextra -Wno-missing-field-initializers -Wno-deprecated-declarations -fno-strict-aliasing -fno-omit-frame-pointer -ggdb -Wno-unused-parameter -fPIC -iquote ./tgl -c -MP -MD -MF dep/binlog.d -MQ objs/binlog.o -o objs/binlog.o tgl/binlog.c
  163. gcc -I. -I. -I./tgl -I/usr/local/include -I/usr/local/Cellar/readline/6.3.8/include -I/usr/local/include -I/usr/include -I/usr/include -DHAVE_CONFIG_H -Wall -Werror -Wextra -Wno-missing-field-initializers -Wno-deprecated-declarations -fno-strict-aliasing -fno-omit-frame-pointer -ggdb -Wno-unused-parameter -fPIC -iquote ./tgl -c -MP -MD -MF dep/tgl.d -MQ objs/tgl.o -o objs/tgl.o tgl/tgl.c
  164. gcc -I. -I. -I./tgl -I/usr/local/include -I/usr/local/Cellar/readline/6.3.8/include -I/usr/local/include -I/usr/include -I/usr/include -DHAVE_CONFIG_H -Wall -Werror -Wextra -Wno-missing-field-initializers -Wno-deprecated-declarations -fno-strict-aliasing -fno-omit-frame-pointer -ggdb -Wno-unused-parameter -fPIC -iquote ./tgl -c -MP -MD -MF dep/updates.d -MQ objs/updates.o -o objs/updates.o tgl/updates.c
  165. gcc -I. -I. -I./tgl -I/usr/local/include -I/usr/local/Cellar/readline/6.3.8/include -I/usr/local/include -I/usr/include -I/usr/include -DHAVE_CONFIG_H -Wall -Werror -Wextra -Wno-missing-field-initializers -Wno-deprecated-declarations -fno-strict-aliasing -fno-omit-frame-pointer -ggdb -Wno-unused-parameter -fPIC -iquote ./tgl -c -MP -MD -MF dep/tgl-net.d -MQ objs/tgl-net.o -o objs/tgl-net.o tgl/tgl-net.c
  166. gcc -I. -I. -I./tgl -I/usr/local/include -I/usr/local/Cellar/readline/6.3.8/include -I/usr/local/include -I/usr/include -I/usr/include -DHAVE_CONFIG_H -Wall -Werror -Wextra -Wno-missing-field-initializers -Wno-deprecated-declarations -fno-strict-aliasing -fno-omit-frame-pointer -ggdb -Wno-unused-parameter -fPIC -iquote ./tgl -c -MP -MD -MF dep/tgl-timers.d -MQ objs/tgl-timers.o -o objs/tgl-timers.o tgl/tgl-timers.c
  167. gcc -I. -I. -I./tgl -I/usr/local/include -I/usr/local/Cellar/readline/6.3.8/include -I/usr/local/include -I/usr/include -I/usr/include -DHAVE_CONFIG_H -Wall -Werror -Wextra -Wno-missing-field-initializers -Wno-deprecated-declarations -fno-strict-aliasing -fno-omit-frame-pointer -ggdb -Wno-unused-parameter -fPIC -iquote ./tgl -c -MP -MD -MF dep/tg-mime-types.d -MQ objs/tg-mime-types.o -o objs/tg-mime-types.o tgl/tg-mime-types.c
  168. gcc -I. -I. -I./tgl -I/usr/local/include -I/usr/local/Cellar/readline/6.3.8/include -I/usr/local/include -I/usr/include -I/usr/include -DHAVE_CONFIG_H -Wall -Werror -Wextra -Wno-missing-field-initializers -Wno-deprecated-declarations -fno-strict-aliasing -fno-omit-frame-pointer -ggdb -Wno-unused-parameter -fPIC -iquote ./tgl -c -MP -MD -MF dep/mtproto-utils.d -MQ objs/mtproto-utils.o -o objs/mtproto-utils.o tgl/mtproto-utils.c
  169. cc1: warnings being treated as errors
  170. tgl/mtproto-utils.c: In function 'ull2BN':
  171. tgl/mtproto-utils.c:116: warning: value computed is not used
  172. Makefile.tgl:20: recipe for target 'objs/mtproto-utils.o' failed
  173. make: *** [objs/mtproto-utils.o] Error 1
Advertisement
Add Comment
Please, Sign In to add comment