Advertisement
Guest User

Untitled

a guest
Jan 22nd, 2020
105
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 17.51 KB | None | 0 0
  1. Klone nach 'libusb' ...
  2. remote: Enumerating objects: 184, done.
  3. remote: Counting objects: 100% (184/184), done.
  4. remote: Compressing objects: 100% (149/149), done.
  5. remote: Total 184 (delta 63), reused 71 (delta 33), pack-reused 0
  6. Empfange Objekte: 100% (184/184), 382.68 KiB | 1.87 MiB/s, Fertig.
  7. Löse Unterschiede auf: 100% (63/63), Fertig.
  8. patching file libusb/os/windows_usb.c
  9. libtoolize: putting auxiliary files in '.'.
  10. libtoolize: copying file './ltmain.sh'
  11. libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'.
  12. libtoolize: copying file 'm4/libtool.m4'
  13. libtoolize: copying file 'm4/ltoptions.m4'
  14. libtoolize: copying file 'm4/ltsugar.m4'
  15. libtoolize: copying file 'm4/ltversion.m4'
  16. libtoolize: copying file 'm4/lt~obsolete.m4'
  17. configure.ac:4: installing './compile'
  18. configure.ac:4: installing './config.guess'
  19. configure.ac:4: installing './config.sub'
  20. configure.ac:2: installing './install-sh'
  21. configure.ac:2: installing './missing'
  22. Makefile.am: installing './depcomp'
  23. libtoolize: putting auxiliary files in '.'.
  24. libtoolize: copying file './ltmain.sh'
  25. libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'.
  26. libtoolize: copying file 'm4/libtool.m4'
  27. libtoolize: copying file 'm4/ltoptions.m4'
  28. libtoolize: copying file 'm4/ltsugar.m4'
  29. libtoolize: copying file 'm4/ltversion.m4'
  30. libtoolize: copying file 'm4/lt~obsolete.m4'
  31. configure.ac:38: installing './compile'
  32. configure.ac:39: installing './config.guess'
  33. configure.ac:39: installing './config.sub'
  34. configure.ac:29: installing './install-sh'
  35. configure.ac:29: installing './missing'
  36. examples/Makefile.am: installing './depcomp'
  37. checking for a BSD-compatible install... /usr/bin/install -c
  38. checking whether build environment is sane... yes
  39. checking for i686-w64-mingw32.static.posix-strip... no
  40. checking for strip... strip
  41. checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
  42. checking for gawk... gawk
  43. checking whether make sets $(MAKE)... yes
  44. checking whether make supports nested variables... yes
  45. checking whether to enable maintainer-specific portions of Makefiles... no
  46. checking whether make supports nested variables... (cached) yes
  47. checking for i686-w64-mingw32.static.posix-gcc... no
  48. checking for gcc... gcc
  49. checking whether the C compiler works... yes
  50. checking for C compiler default output file name... a.out
  51. checking for suffix of executables...
  52. checking whether we are cross compiling... no
  53. checking for suffix of object files... o
  54. checking whether we are using the GNU C compiler... yes
  55. checking whether gcc accepts -g... yes
  56. checking for gcc option to accept ISO C89... none needed
  57. checking whether gcc understands -c and -o together... yes
  58. checking whether make supports the include directive... yes (GNU style)
  59. checking dependency style of gcc... gcc3
  60. checking build system type... x86_64-pc-linux-gnu
  61. checking host system type... i686-w64-mingw32.static.posix
  62. checking how to print strings... printf
  63. checking for a sed that does not truncate output... /usr/bin/sed
  64. checking for grep that handles long lines and -e... /usr/bin/grep
  65. checking for egrep... /usr/bin/grep -E
  66. checking for fgrep... /usr/bin/grep -F
  67. checking for ld used by gcc... /usr/bin/ld
  68. checking if the linker (/usr/bin/ld) is GNU ld... yes
  69. checking for BSD- or MS-compatible name lister (nm)... no
  70. checking for i686-w64-mingw32.static.posix-dumpbin... no
  71. checking for i686-w64-mingw32.static.posix-link... no
  72. checking for dumpbin... no
  73. checking for link... link -dump
  74. checking the name lister (nm) interface... BSD nm
  75. checking whether ln -s works... yes
  76. checking the maximum length of command line arguments... 1572864
  77. checking how to convert x86_64-pc-linux-gnu file names to i686-w64-mingw32.static.posix format... func_convert_file_nix_to_w32
  78. checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop
  79. checking for /usr/bin/ld option to reload object files... -r
  80. checking for i686-w64-mingw32.static.posix-objdump... no
  81. checking for objdump... objdump
  82. checking how to recognize dependent libraries... file_magic ^x86 archive import|^x86 DLL
  83. checking for i686-w64-mingw32.static.posix-dlltool... no
  84. checking for dlltool... no
  85. checking how to associate runtime and link libraries... func_cygming_dll_for_implib_fallback
  86. checking for i686-w64-mingw32.static.posix-ar... no
  87. checking for ar... ar
  88. checking for archiver @FILE support... @
  89. checking for i686-w64-mingw32.static.posix-strip... strip
  90. checking for i686-w64-mingw32.static.posix-ranlib... no
  91. checking for ranlib... ranlib
  92. checking command to parse nm output from gcc object... ok
  93. checking for sysroot... no
  94. checking for a working dd... /usr/bin/dd
  95. checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1
  96. checking for i686-w64-mingw32.static.posix-mt... no
  97. checking for mt... mt
  98. checking if mt is a manifest tool... no
  99. checking how to run the C preprocessor... gcc -E
  100. checking for ANSI C header files... yes
  101. checking for sys/types.h... yes
  102. checking for sys/stat.h... yes
  103. checking for stdlib.h... yes
  104. checking for string.h... yes
  105. checking for memory.h... yes
  106. checking for strings.h... yes
  107. checking for inttypes.h... yes
  108. checking for stdint.h... yes
  109. checking for unistd.h... yes
  110. checking for dlfcn.h... yes
  111. checking for objdir... .libs
  112. checking if gcc supports -fno-rtti -fno-exceptions... no
  113. checking for gcc option to produce PIC... -DDLL_EXPORT -DPIC
  114. checking if gcc PIC flag -DDLL_EXPORT -DPIC works... yes
  115. checking if gcc static flag -static works... yes
  116. checking if gcc supports -c -o file.o... yes
  117. checking if gcc supports -c -o file.o... (cached) yes
  118. checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
  119. checking dynamic linker characteristics... Win32 ld.exe
  120. checking how to hardcode library paths into programs... immediate
  121. checking whether stripping libraries is possible... yes
  122. checking if libtool supports shared libraries... yes
  123. checking whether to build shared libraries... no
  124. checking whether to build static libraries... yes
  125. checking for i686-w64-mingw32.static.posix-windres... no
  126. checking for windres... no
  127. checking for inline... inline
  128. checking operating system... Windows
  129. checking sys/eventfd.h usability... yes
  130. checking sys/eventfd.h presence... yes
  131. checking for sys/eventfd.h... yes
  132. checking whether EFD_NONBLOCK is declared... yes
  133. checking whether to use eventfd for signalling... yes
  134. checking sys/timerfd.h usability... yes
  135. checking sys/timerfd.h presence... yes
  136. checking for sys/timerfd.h... yes
  137. checking whether TFD_NONBLOCK is declared... yes
  138. checking whether to use timerfd for timing... yes
  139. checking for struct timespec... yes
  140. checking syslog.h usability... yes
  141. checking syslog.h presence... yes
  142. checking for syslog.h... yes
  143. checking for syslog... yes
  144. checking for sigaction... yes
  145. checking sys/time.h usability... yes
  146. checking sys/time.h presence... yes
  147. checking for sys/time.h... yes
  148. checking for gettimeofday... yes
  149. checking signal.h usability... yes
  150. checking signal.h presence... yes
  151. checking for signal.h... yes
  152. checking whether CC supports -std=gnu99... yes
  153. checking that generated files are newer than configure... done
  154. configure: creating ./config.status
  155. config.status: creating libusb-1.0.pc
  156. config.status: creating Makefile
  157. config.status: creating libusb/Makefile
  158. config.status: creating examples/Makefile
  159. config.status: creating tests/Makefile
  160. config.status: creating doc/Makefile
  161. config.status: creating doc/doxygen.cfg
  162. config.status: creating config.h
  163. config.status: executing depfiles commands
  164. config.status: executing libtool commands
  165. make all-recursive
  166. make[1]: Verzeichnis „/home/frank/Projekte/elektronik/sigrok/sigrok-util/cross-compile/mingw/build_release_32/libusb“ wird betreten
  167. Making all in libusb
  168. make[2]: Verzeichnis „/home/frank/Projekte/elektronik/sigrok/sigrok-util/cross-compile/mingw/build_release_32/libusb/libusb“ wird betreten
  169. make[3]: Verzeichnis „/home/frank/Projekte/elektronik/sigrok/sigrok-util/cross-compile/mingw/build_release_32/libusb/libusb“ wird betreten
  170. CC libusb_1_0_la-core.lo
  171. In file included from libusbi.h:247,
  172. from core.c:44:
  173. os/events_windows.h:8:9: error: unknown type name ‘HANDLE’
  174. 8 | typedef HANDLE usbi_event_t;
  175. | ^~~~~~
  176. os/events_windows.h:9:9: error: unknown type name ‘HANDLE’
  177. 9 | typedef HANDLE usbi_timer_t;
  178. | ^~~~~~
  179. In file included from libusbi.h:248,
  180. from core.c:44:
  181. os/threads_windows.h:31:2: error: unknown type name ‘DWORD’
  182. 31 | DWORD tid;
  183. | ^~~~~
  184. os/threads_windows.h:32:2: error: unknown type name ‘HANDLE’
  185. 32 | HANDLE event;
  186. | ^~~~~~
  187. os/threads_windows.h:24:42: error: unknown type name ‘LONG’
  188. 24 | #define usbi_mutex_static_t volatile LONG
  189. | ^~~~
  190. os/threads_windows.h:64:28: note: in expansion of macro ‘usbi_mutex_static_t’
  191. 64 | int usbi_mutex_static_lock(usbi_mutex_static_t *mutex);
  192. | ^~~~~~~~~~~~~~~~~~~
  193. os/threads_windows.h:24:42: error: unknown type name ‘LONG’
  194. 24 | #define usbi_mutex_static_t volatile LONG
  195. | ^~~~
  196. os/threads_windows.h:65:30: note: in expansion of macro ‘usbi_mutex_static_t’
  197. 65 | int usbi_mutex_static_unlock(usbi_mutex_static_t *mutex);
  198. | ^~~~~~~~~~~~~~~~~~~
  199. os/threads_windows.h:27:33: error: unknown type name ‘HANDLE’
  200. 27 | #define usbi_mutex_t HANDLE
  201. | ^~~~~~
  202. os/threads_windows.h:68:21: note: in expansion of macro ‘usbi_mutex_t’
  203. 68 | int usbi_mutex_init(usbi_mutex_t *mutex,
  204. | ^~~~~~~~~~~~
  205. os/threads_windows.h:27:33: error: unknown type name ‘HANDLE’
  206. 27 | #define usbi_mutex_t HANDLE
  207. | ^~~~~~
  208. os/threads_windows.h:70:21: note: in expansion of macro ‘usbi_mutex_t’
  209. 70 | int usbi_mutex_lock(usbi_mutex_t *mutex);
  210. | ^~~~~~~~~~~~
  211. os/threads_windows.h:27:33: error: unknown type name ‘HANDLE’
  212. 27 | #define usbi_mutex_t HANDLE
  213. | ^~~~~~
  214. os/threads_windows.h:71:23: note: in expansion of macro ‘usbi_mutex_t’
  215. 71 | int usbi_mutex_unlock(usbi_mutex_t *mutex);
  216. | ^~~~~~~~~~~~
  217. os/threads_windows.h:27:33: error: unknown type name ‘HANDLE’
  218. 27 | #define usbi_mutex_t HANDLE
  219. | ^~~~~~
  220. os/threads_windows.h:72:24: note: in expansion of macro ‘usbi_mutex_t’
  221. 72 | int usbi_mutex_trylock(usbi_mutex_t *mutex);
  222. | ^~~~~~~~~~~~
  223. os/threads_windows.h:27:33: error: unknown type name ‘HANDLE’
  224. 27 | #define usbi_mutex_t HANDLE
  225. | ^~~~~~
  226. os/threads_windows.h:73:24: note: in expansion of macro ‘usbi_mutex_t’
  227. 73 | int usbi_mutex_destroy(usbi_mutex_t *mutex);
  228. | ^~~~~~~~~~~~
  229. os/threads_windows.h:27:33: error: unknown type name ‘HANDLE’
  230. 27 | #define usbi_mutex_t HANDLE
  231. | ^~~~~~
  232. os/threads_windows.h:78:39: note: in expansion of macro ‘usbi_mutex_t’
  233. 78 | int usbi_cond_wait(usbi_cond_t *cond, usbi_mutex_t *mutex);
  234. | ^~~~~~~~~~~~
  235. os/threads_windows.h:27:33: error: unknown type name ‘HANDLE’
  236. 27 | #define usbi_mutex_t HANDLE
  237. | ^~~~~~
  238. os/threads_windows.h:80:7: note: in expansion of macro ‘usbi_mutex_t’
  239. 80 | usbi_mutex_t *mutex,
  240. | ^~~~~~~~~~~~
  241. os/threads_windows.h:27:33: error: unknown type name ‘HANDLE’
  242. 27 | #define usbi_mutex_t HANDLE
  243. | ^~~~~~
  244. libusbi.h:265:2: note: in expansion of macro ‘usbi_mutex_t’
  245. 265 | usbi_mutex_t usb_devs_lock;
  246. | ^~~~~~~~~~~~
  247. os/threads_windows.h:27:33: error: unknown type name ‘HANDLE’
  248. 27 | #define usbi_mutex_t HANDLE
  249. | ^~~~~~
  250. libusbi.h:270:2: note: in expansion of macro ‘usbi_mutex_t’
  251. 270 | usbi_mutex_t open_devs_lock;
  252. | ^~~~~~~~~~~~
  253. os/threads_windows.h:27:33: error: unknown type name ‘HANDLE’
  254. 27 | #define usbi_mutex_t HANDLE
  255. | ^~~~~~
  256. libusbi.h:274:2: note: in expansion of macro ‘usbi_mutex_t’
  257. 274 | usbi_mutex_t hotplug_cbs_lock;
  258. | ^~~~~~~~~~~~
  259. os/threads_windows.h:27:33: error: unknown type name ‘HANDLE’
  260. 27 | #define usbi_mutex_t HANDLE
  261. | ^~~~~~
  262. libusbi.h:281:2: note: in expansion of macro ‘usbi_mutex_t’
  263. 281 | usbi_mutex_t flying_transfers_lock;
  264. | ^~~~~~~~~~~~
  265. os/threads_windows.h:27:33: error: unknown type name ‘HANDLE’
  266. 27 | #define usbi_mutex_t HANDLE
  267. | ^~~~~~
  268. libusbi.h:289:2: note: in expansion of macro ‘usbi_mutex_t’
  269. 289 | usbi_mutex_t events_lock;
  270. | ^~~~~~~~~~~~
  271. os/threads_windows.h:27:33: error: unknown type name ‘HANDLE’
  272. 27 | #define usbi_mutex_t HANDLE
  273. | ^~~~~~
  274. libusbi.h:296:2: note: in expansion of macro ‘usbi_mutex_t’
  275. 296 | usbi_mutex_t event_waiters_lock;
  276. | ^~~~~~~~~~~~
  277. os/threads_windows.h:27:33: error: unknown type name ‘HANDLE’
  278. 27 | #define usbi_mutex_t HANDLE
  279. | ^~~~~~
  280. libusbi.h:300:2: note: in expansion of macro ‘usbi_mutex_t’
  281. 300 | usbi_mutex_t event_data_lock;
  282. | ^~~~~~~~~~~~
  283. os/threads_windows.h:27:33: error: unknown type name ‘HANDLE’
  284. 27 | #define usbi_mutex_t HANDLE
  285. | ^~~~~~
  286. libusbi.h:335:2: note: in expansion of macro ‘usbi_mutex_t’
  287. 335 | usbi_mutex_t lock;
  288. | ^~~~~~~~~~~~
  289. os/threads_windows.h:27:33: error: unknown type name ‘HANDLE’
  290. 27 | #define usbi_mutex_t HANDLE
  291. | ^~~~~~
  292. libusbi.h:364:2: note: in expansion of macro ‘usbi_mutex_t’
  293. 364 | usbi_mutex_t lock;
  294. | ^~~~~~~~~~~~
  295. os/threads_windows.h:27:33: error: unknown type name ‘HANDLE’
  296. 27 | #define usbi_mutex_t HANDLE
  297. | ^~~~~~
  298. libusbi.h:413:2: note: in expansion of macro ‘usbi_mutex_t’
  299. 413 | usbi_mutex_t lock;
  300. | ^~~~~~~~~~~~
  301. os/threads_windows.h:27:33: error: unknown type name ‘HANDLE’
  302. 27 | #define usbi_mutex_t HANDLE
  303. | ^~~~~~
  304. libusbi.h:417:2: note: in expansion of macro ‘usbi_mutex_t’
  305. 417 | usbi_mutex_t flags_lock;
  306. | ^~~~~~~~~~~~
  307. os/threads_windows.h:24:42: error: unknown type name ‘LONG’
  308. 24 | #define usbi_mutex_static_t volatile LONG
  309. | ^~~~
  310. libusbi.h:1101:8: note: in expansion of macro ‘usbi_mutex_static_t’
  311. 1101 | extern usbi_mutex_static_t active_contexts_lock;
  312. | ^~~~~~~~~~~~~~~~~~~
  313. os/threads_windows.h:24:42: error: unknown type name ‘LONG’
  314. 24 | #define usbi_mutex_static_t volatile LONG
  315. | ^~~~
  316. core.c:70:8: note: in expansion of macro ‘usbi_mutex_static_t’
  317. 70 | static usbi_mutex_static_t default_context_lock = USBI_MUTEX_INITIALIZER;
  318. | ^~~~~~~~~~~~~~~~~~~
  319. os/threads_windows.h:24:42: error: unknown type name ‘LONG’
  320. 24 | #define usbi_mutex_static_t volatile LONG
  321. | ^~~~
  322. core.c:73:1: note: in expansion of macro ‘usbi_mutex_static_t’
  323. 73 | usbi_mutex_static_t active_contexts_lock = USBI_MUTEX_INITIALIZER;
  324. | ^~~~~~~~~~~~~~~~~~~
  325. core.c: In function ‘usbi_alloc_device’:
  326. core.c:669:6: error: implicit declaration of function ‘usbi_mutex_init’; did you mean ‘usbi_mutex_t’? [-Werror=implicit-function-declaration]
  327. 669 | r = usbi_mutex_init(&dev->lock, NULL);
  328. | ^~~~~~~~~~~~~~~
  329. | usbi_mutex_t
  330. core.c: In function ‘usbi_connect_device’:
  331. core.c:693:2: error: implicit declaration of function ‘usbi_mutex_lock’; did you mean ‘usbi_mutex_t’? [-Werror=implicit-function-declaration]
  332. 693 | usbi_mutex_lock(&dev->ctx->usb_devs_lock);
  333. | ^~~~~~~~~~~~~~~
  334. | usbi_mutex_t
  335. core.c:695:2: error: implicit declaration of function ‘usbi_mutex_unlock’; did you mean ‘usbi_mutex_t’? [-Werror=implicit-function-declaration]
  336. 695 | usbi_mutex_unlock(&dev->ctx->usb_devs_lock);
  337. | ^~~~~~~~~~~~~~~~~
  338. | usbi_mutex_t
  339. core.c: In function ‘libusb_unref_device’:
  340. core.c:1156:3: error: implicit declaration of function ‘usbi_mutex_destroy’; did you mean ‘usbi_cond_destroy’? [-Werror=implicit-function-declaration]
  341. 1156 | usbi_mutex_destroy(&dev->lock);
  342. | ^~~~~~~~~~~~~~~~~~
  343. | usbi_cond_destroy
  344. cc1: some warnings being treated as errors
  345. make[3]: *** [Makefile:618: libusb_1_0_la-core.lo] Fehler 1
  346. make[3]: Verzeichnis „/home/frank/Projekte/elektronik/sigrok/sigrok-util/cross-compile/mingw/build_release_32/libusb/libusb“ wird verlassen
  347. make[2]: *** [Makefile:771: all-recursive] Fehler 1
  348. make[2]: Verzeichnis „/home/frank/Projekte/elektronik/sigrok/sigrok-util/cross-compile/mingw/build_release_32/libusb/libusb“ wird verlassen
  349. make[1]: *** [Makefile:472: all-recursive] Fehler 1
  350. make[1]: Verzeichnis „/home/frank/Projekte/elektronik/sigrok/sigrok-util/cross-compile/mingw/build_release_32/libusb“ wird verlassen
  351. make: *** [Makefile:381: all] Fehler 2
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement