doomgod

Odamex build error again

Nov 19th, 2013
184
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.60 KB | None | 0 0
  1. [stas@bsdvm ~/doom/odasrc/release]$ cmake -DCMAKE_BUILD_TYPE=Release ..
  2. -- The C compiler identification is Clang 3.3.0
  3. -- The CXX compiler identification is Clang 3.3.0
  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/CC
  9. -- Check for working CXX compiler: /usr/bin/CC -- works
  10. -- Detecting CXX compiler ABI info
  11. -- Detecting CXX compiler ABI info - done
  12. -- Textscreen will be statically linked.
  13. -- Looking for include file pthread.h
  14. -- Looking for include file pthread.h - found
  15. -- Looking for pthread_create
  16. -- Looking for pthread_create - not found
  17. -- Looking for pthread_create in pthreads
  18. -- Looking for pthread_create in pthreads - not found
  19. -- Looking for pthread_create in pthread
  20. -- Looking for pthread_create in pthread - found
  21. -- Found Threads: TRUE
  22. -- Found SDL: /usr/local/lib/libSDLmain.a;/usr/local/lib/libSDL.so;-lpthread
  23. -- Found SDL_mixer: /usr/local/lib/libSDL_mixer.so (found version "1.2.12")
  24. -- Could NOT find PortMidi (missing: PORTMIDI_INCLUDE_DIR PORTMIDI_LIBRARIES)
  25. CMake Warning at client/CMakeLists.txt:71 (message):
  26. PortMidi not found, client will be built without PortMidi support.
  27.  
  28.  
  29. -- Found wxWidgets: TRUE
  30. -- Configuring done
  31. -- Generating done
  32. -- Build files have been written to: /home/stas/doom/odasrc/release
  33. [stas@bsdvm ~/doom/odasrc/release]$ make
  34. Scanning dependencies of target upnpc-static
  35. [ 0%] Building C object libminiupnpc/CMakeFiles/upnpc-static.dir/igd_desc_parse.c.o
  36. [ 0%] Building C object libminiupnpc/CMakeFiles/upnpc-static.dir/miniupnpc.c.o
  37. [ 1%] Building C object libminiupnpc/CMakeFiles/upnpc-static.dir/minixml.c.o
  38. [ 1%] Building C object libminiupnpc/CMakeFiles/upnpc-static.dir/minisoap.c.o
  39. /home/stas/doom/odasrc/libminiupnpc/minisoap.c:95:3: warning: implicitly declaring library
  40. function 'snprintf' with type 'int (char *, unsigned int, const char *, ...)'
  41. snprintf(portstr, sizeof(portstr), ":%hu", port);
  42. ^
  43. /home/stas/doom/odasrc/libminiupnpc/minisoap.c:95:3: note: please include the header
  44. <stdio.h> or explicitly provide a declaration for 'snprintf'
  45. 1 warning generated.
  46. [ 1%] Building C object libminiupnpc/CMakeFiles/upnpc-static.dir/miniwget.c.o
  47. /home/stas/doom/odasrc/libminiupnpc/miniwget.c:145:13: warning: implicitly declaring
  48. library function 'strncasecmp' with type 'int (const char *, const char *, unsigned
  49. int)'
  50. if(0==strncasecmp(header_buf+linest...
  51. ^
  52. /home/stas/doom/odasrc/libminiupnpc/miniwget.c:145:13: note: please include the header
  53. <strings.h> or explicitly provide a declaration for 'strncasecmp'
  54. /home/stas/doom/odasrc/libminiupnpc/miniwget.c:362:8: warning: implicitly declaring library
  55. function 'snprintf' with type 'int (char *, unsigned int, const char *, ...)'
  56. len = snprintf(buf, sizeof(buf),
  57. ^
  58. /home/stas/doom/odasrc/libminiupnpc/miniwget.c:362:8: note: please include the header
  59. <stdio.h> or explicitly provide a declaration for 'snprintf'
  60. 2 warnings generated.
  61. [ 2%] Building C object libminiupnpc/CMakeFiles/upnpc-static.dir/upnpc.c.o
  62. /home/stas/doom/odasrc/libminiupnpc/upnpc.c:130:3: warning: implicitly declaring library
  63. function 'snprintf' with type 'int (char *, unsigned int, const char *, ...)'
  64. snprintf(index, 6, "%d", i);
  65. ^
  66. /home/stas/doom/odasrc/libminiupnpc/upnpc.c:130:3: note: please include the header
  67. <stdio.h> or explicitly provide a declaration for 'snprintf'
  68. 1 warning generated.
  69. [ 2%] Building C object libminiupnpc/CMakeFiles/upnpc-static.dir/upnpcommands.c.o
  70. /home/stas/doom/odasrc/libminiupnpc/upnpcommands.c:18:32: warning: implicit declaration of
  71. function 'strtoull' is invalid in C99 [-Wimplicit-function-declaration]
  72. return s ? ((UNSIGNED_INTEGER)STRTOUI(s, NULL, 0)) : 0;
  73. ^
  74. /home/stas/doom/odasrc/libminiupnpc/miniupnpctypes.h:12:17: note: expanded from macro
  75. 'STRTOUI'
  76. #define STRTOUI strtoull
  77. ^
  78. 1 warning generated.
  79. [ 3%] Building C object libminiupnpc/CMakeFiles/upnpc-static.dir/upnpreplyparse.c.o
  80. [ 3%] Building C object libminiupnpc/CMakeFiles/upnpc-static.dir/upnperrors.c.o
  81. [ 3%] Building C object libminiupnpc/CMakeFiles/upnpc-static.dir/connecthostport.c.o
  82. /home/stas/doom/odasrc/libminiupnpc/connecthostport.c:147:2: warning: implicitly declaring
  83. library function 'snprintf' with type 'int (char *, unsigned int, const char *, ...)'
  84. snprintf(port_str, sizeof(port_str), "%hu", port);
  85. ^
  86. /home/stas/doom/odasrc/libminiupnpc/connecthostport.c:147:2: note: please include the
  87. header <stdio.h> or explicitly provide a declaration for 'snprintf'
  88. /home/stas/doom/odasrc/libminiupnpc/connecthostport.c:183:9: error: incomplete definition
  89. of type 'struct sockaddr_in6'
  90. addr6->sin6_scope_id = scope_id;
  91. ~~~~~^
  92. /home/stas/doom/odasrc/libminiupnpc/connecthostport.c:182:11: note: forward declaration of
  93. 'struct sockaddr_in6'
  94. struct sockaddr_in6 * addr6 = (struct sockaddr_in6 *)p->ai_addr;
  95. ^
  96. 1 warning and 1 error generated.
  97. *** Error code 1
  98.  
  99. Stop.
  100. make[2]: stopped in /usr/home/stas/doom/odasrc/release
  101. *** Error code 1
  102.  
  103. Stop.
  104. make[1]: stopped in /usr/home/stas/doom/odasrc/release
  105. *** Error code 1
  106.  
  107. Stop.
  108. make: stopped in /usr/home/stas/doom/odasrc/release
Advertisement
Add Comment
Please, Sign In to add comment