1. iwlib.c:2514: warning: excess elements in struct initializer
  2. iwlib.c:2514: warning: (near initialization for 'standard_ioctl_descr[27]')
  3. iwlib.c:2515: error: unknown field 'max_tokens' specified in initializer
  4. iwlib.c:2515: warning: excess elements in struct initializer
  5. iwlib.c:2515: warning: (near initialization for 'standard_ioctl_descr[27]')
  6. iwlib.c:2516: error: unknown field 'flags' specified in initializer
  7. iwlib.c:2516: warning: excess elements in struct initializer
  8. iwlib.c:2516: warning: (near initialization for 'standard_ioctl_descr[27]')
  9. iwlib.c:2519: error: unknown field 'header_type' specified in initializer
  10. iwlib.c:2519: warning: excess elements in struct initializer
  11. iwlib.c:2519: warning: (near initialization for 'standard_ioctl_descr[28]')
  12. iwlib.c:2520: error: unknown field 'token_size' specified in initializer
  13. iwlib.c:2520: warning: excess elements in struct initializer
  14. iwlib.c:2520: warning: (near initialization for 'standard_ioctl_descr[28]')
  15. iwlib.c:2521: error: unknown field 'max_tokens' specified in initializer
  16. iwlib.c:2521: warning: excess elements in struct initializer
  17. iwlib.c:2521: warning: (near initialization for 'standard_ioctl_descr[28]')
  18. iwlib.c:2524: error: unknown field 'header_type' specified in initializer
  19. iwlib.c:2524: warning: excess elements in struct initializer
  20. iwlib.c:2524: warning: (near initialization for 'standard_ioctl_descr[29]')
  21. iwlib.c:2525: error: unknown field 'token_size' specified in initializer
  22. iwlib.c:2525: warning: excess elements in struct initializer
  23. iwlib.c:2525: warning: (near initialization for 'standard_ioctl_descr[29]')
  24. iwlib.c:2526: error: unknown field 'max_tokens' specified in initializer
  25. iwlib.c:2526: warning: excess elements in struct initializer
  26. iwlib.c:2526: warning: (near initialization for 'standard_ioctl_descr[29]')
  27. iwlib.c:2529: error: unknown field 'header_type' specified in initializer
  28. iwlib.c:2529: warning: excess elements in struct initializer
  29. iwlib.c:2529: warning: (near initialization for 'standard_ioctl_descr[32]')
  30. iwlib.c:2532: error: unknown field 'header_type' specified in initializer
  31. iwlib.c:2532: warning: excess elements in struct initializer
  32. iwlib.c:2532: warning: (near initialization for 'standard_ioctl_descr[33]')
  33. iwlib.c:2535: error: unknown field 'header_type' specified in initializer
  34. iwlib.c:2535: warning: excess elements in struct initializer
  35. iwlib.c:2535: warning: (near initialization for 'standard_ioctl_descr[34]')
  36. iwlib.c:2538: error: unknown field 'header_type' specified in initializer
  37. iwlib.c:2538: warning: excess elements in struct initializer
  38. iwlib.c:2538: warning: (near initialization for 'standard_ioctl_descr[35]')
  39. iwlib.c:2541: error: unknown field 'header_type' specified in initializer
  40. iwlib.c:2541: warning: excess elements in struct initializer
  41. iwlib.c:2541: warning: (near initialization for 'standard_ioctl_descr[36]')
  42. iwlib.c:2544: error: unknown field 'header_type' specified in initializer
  43. iwlib.c:2544: warning: excess elements in struct initializer
  44. iwlib.c:2544: warning: (near initialization for 'standard_ioctl_descr[37]')
  45. iwlib.c:2547: error: unknown field 'header_type' specified in initializer
  46. iwlib.c:2547: warning: excess elements in struct initializer
  47. iwlib.c:2547: warning: (near initialization for 'standard_ioctl_descr[38]')
  48. iwlib.c:2550: error: unknown field 'header_type' specified in initializer
  49. iwlib.c:2550: warning: excess elements in struct initializer
  50. iwlib.c:2550: warning: (near initialization for 'standard_ioctl_descr[39]')
  51. iwlib.c:2553: error: unknown field 'header_type' specified in initializer
  52. iwlib.c:2553: warning: excess elements in struct initializer
  53. iwlib.c:2553: warning: (near initialization for 'standard_ioctl_descr[40]')
  54. iwlib.c:2556: error: unknown field 'header_type' specified in initializer
  55. iwlib.c:2556: warning: excess elements in struct initializer
  56. iwlib.c:2556: warning: (near initialization for 'standard_ioctl_descr[41]')
  57. iwlib.c:2559: error: unknown field 'header_type' specified in initializer
  58. iwlib.c:2559: warning: excess elements in struct initializer
  59. iwlib.c:2559: warning: (near initialization for 'standard_ioctl_descr[42]')
  60. iwlib.c:2560: error: unknown field 'token_size' specified in initializer
  61. iwlib.c:2560: warning: excess elements in struct initializer
  62. iwlib.c:2560: warning: (near initialization for 'standard_ioctl_descr[42]')
  63. iwlib.c:2561: error: unknown field 'max_tokens' specified in initializer
  64. iwlib.c:2561: warning: excess elements in struct initializer
  65. iwlib.c:2561: warning: (near initialization for 'standard_ioctl_descr[42]')
  66. iwlib.c:2562: error: unknown field 'flags' specified in initializer
  67. iwlib.c:2562: warning: excess elements in struct initializer
  68. iwlib.c:2562: warning: (near initialization for 'standard_ioctl_descr[42]')
  69. iwlib.c:2565: error: unknown field 'header_type' specified in initializer
  70. iwlib.c:2565: warning: excess elements in struct initializer
  71. iwlib.c:2565: warning: (near initialization for 'standard_ioctl_descr[43]')
  72. iwlib.c:2566: error: unknown field 'token_size' specified in initializer
  73. iwlib.c:2566: warning: excess elements in struct initializer
  74. iwlib.c:2566: warning: (near initialization for 'standard_ioctl_descr[43]')
  75. iwlib.c:2567: error: unknown field 'max_tokens' specified in initializer
  76. iwlib.c:2567: warning: excess elements in struct initializer
  77. iwlib.c:2567: warning: (near initialization for 'standard_ioctl_descr[43]')
  78. iwlib.c:2568: error: unknown field 'flags' specified in initializer
  79. iwlib.c:2568: warning: excess elements in struct initializer
  80. iwlib.c:2568: warning: (near initialization for 'standard_ioctl_descr[43]')
  81. iwlib.c:2571: error: unknown field 'header_type' specified in initializer
  82. iwlib.c:2571: warning: excess elements in struct initializer
  83. iwlib.c:2571: warning: (near initialization for 'standard_ioctl_descr[44]')
  84. iwlib.c:2574: error: unknown field 'header_type' specified in initializer
  85. iwlib.c:2574: warning: excess elements in struct initializer
  86. iwlib.c:2574: warning: (near initialization for 'standard_ioctl_descr[45]')
  87. iwlib.c:2577: error: unknown field 'header_type' specified in initializer
  88. iwlib.c:2577: warning: excess elements in struct initializer
  89. iwlib.c:2577: warning: (near initialization for 'standard_ioctl_descr[46]')
  90. iwlib.c:2580: error: unknown field 'header_type' specified in initializer
  91. iwlib.c:2580: warning: excess elements in struct initializer
  92. iwlib.c:2580: warning: (near initialization for 'standard_ioctl_descr[47]')
  93. iwlib.c:2583: error: unknown field 'header_type' specified in initializer
  94. iwlib.c:2583: warning: excess elements in struct initializer
  95. iwlib.c:2583: warning: (near initialization for 'standard_ioctl_descr[48]')
  96. iwlib.c:2584: error: unknown field 'token_size' specified in initializer
  97. iwlib.c:2584: warning: excess elements in struct initializer
  98. iwlib.c:2584: warning: (near initialization for 'standard_ioctl_descr[48]')
  99. iwlib.c:2585: error: unknown field 'max_tokens' specified in initializer
  100. iwlib.c:2585: warning: excess elements in struct initializer
  101. iwlib.c:2585: warning: (near initialization for 'standard_ioctl_descr[48]')
  102. iwlib.c:2588: error: unknown field 'header_type' specified in initializer
  103. iwlib.c:2588: warning: excess elements in struct initializer
  104. iwlib.c:2588: warning: (near initialization for 'standard_ioctl_descr[49]')
  105. iwlib.c:2589: error: unknown field 'token_size' specified in initializer
  106. iwlib.c:2589: warning: excess elements in struct initializer
  107. iwlib.c:2589: warning: (near initialization for 'standard_ioctl_descr[49]')
  108. iwlib.c:2590: error: unknown field 'max_tokens' specified in initializer
  109. iwlib.c:2590: warning: excess elements in struct initializer
  110. iwlib.c:2590: warning: (near initialization for 'standard_ioctl_descr[49]')
  111. iwlib.c:2593: error: unknown field 'header_type' specified in initializer
  112. iwlib.c:2593: warning: excess elements in struct initializer
  113. iwlib.c:2593: warning: (near initialization for 'standard_ioctl_descr[50]')
  114. iwlib.c:2596: error: unknown field 'header_type' specified in initializer
  115. iwlib.c:2596: warning: excess elements in struct initializer
  116. iwlib.c:2596: warning: (near initialization for 'standard_ioctl_descr[51]')
  117. iwlib.c:2599: error: unknown field 'header_type' specified in initializer
  118. iwlib.c:2599: warning: excess elements in struct initializer
  119. iwlib.c:2599: warning: (near initialization for 'standard_ioctl_descr[52]')
  120. iwlib.c:2600: error: unknown field 'token_size' specified in initializer
  121. iwlib.c:2600: warning: excess elements in struct initializer
  122. iwlib.c:2600: warning: (near initialization for 'standard_ioctl_descr[52]')
  123. iwlib.c:2601: error: unknown field 'min_tokens' specified in initializer
  124. iwlib.c:2601: warning: excess elements in struct initializer
  125. iwlib.c:2601: warning: (near initialization for 'standard_ioctl_descr[52]')
  126. iwlib.c:2602: error: unknown field 'max_tokens' specified in initializer
  127. iwlib.c:2603: warning: excess elements in struct initializer
  128. iwlib.c:2603: warning: (near initialization for 'standard_ioctl_descr[52]')
  129. iwlib.c:2606: error: unknown field 'header_type' specified in initializer
  130. iwlib.c:2606: warning: excess elements in struct initializer
  131. iwlib.c:2606: warning: (near initialization for 'standard_ioctl_descr[53]')
  132. iwlib.c:2607: error: unknown field 'token_size' specified in initializer
  133. iwlib.c:2607: warning: excess elements in struct initializer
  134. iwlib.c:2607: warning: (near initialization for 'standard_ioctl_descr[53]')
  135. iwlib.c:2608: error: unknown field 'min_tokens' specified in initializer
  136. iwlib.c:2608: warning: excess elements in struct initializer
  137. iwlib.c:2608: warning: (near initialization for 'standard_ioctl_descr[53]')
  138. iwlib.c:2609: error: unknown field 'max_tokens' specified in initializer
  139. iwlib.c:2610: warning: excess elements in struct initializer
  140. iwlib.c:2610: warning: (near initialization for 'standard_ioctl_descr[53]')
  141. iwlib.c:2613: error: unknown field 'header_type' specified in initializer
  142. iwlib.c:2613: warning: excess elements in struct initializer
  143. iwlib.c:2613: warning: (near initialization for 'standard_ioctl_descr[54]')
  144. iwlib.c:2614: error: unknown field 'token_size' specified in initializer
  145. iwlib.c:2614: warning: excess elements in struct initializer
  146. iwlib.c:2614: warning: (near initialization for 'standard_ioctl_descr[54]')
  147. iwlib.c:2615: error: unknown field 'min_tokens' specified in initializer
  148. iwlib.c:2615: warning: excess elements in struct initializer
  149. iwlib.c:2615: warning: (near initialization for 'standard_ioctl_descr[54]')
  150. iwlib.c:2616: error: unknown field 'max_tokens' specified in initializer
  151. iwlib.c:2616: warning: excess elements in struct initializer
  152. iwlib.c:2616: warning: (near initialization for 'standard_ioctl_descr[54]')
  153. iwlib.c:2619: warning: division by zero
  154. iwlib.c:2620: error: initializer element is not constant
  155. iwlib.c:2628: error: unknown field 'header_type' specified in initializer
  156. iwlib.c:2628: warning: excess elements in struct initializer
  157. iwlib.c:2628: warning: (near initialization for 'standard_event_descr[0]')
  158. iwlib.c:2631: error: unknown field 'header_type' specified in initializer
  159. iwlib.c:2631: warning: excess elements in struct initializer
  160. iwlib.c:2631: warning: (near initialization for 'standard_event_descr[1]')
  161. iwlib.c:2634: error: unknown field 'header_type' specified in initializer
  162. iwlib.c:2634: warning: excess elements in struct initializer
  163. iwlib.c:2634: warning: (near initialization for 'standard_event_descr[2]')
  164. iwlib.c:2635: error: unknown field 'token_size' specified in initializer
  165. iwlib.c:2635: warning: excess elements in struct initializer
  166. iwlib.c:2635: warning: (near initialization for 'standard_event_descr[2]')
  167. iwlib.c:2636: error: unknown field 'max_tokens' specified in initializer
  168. iwlib.c:2636: warning: excess elements in struct initializer
  169. iwlib.c:2636: warning: (near initialization for 'standard_event_descr[2]')
  170. iwlib.c:2639: error: unknown field 'header_type' specified in initializer
  171. iwlib.c:2639: warning: excess elements in struct initializer
  172. iwlib.c:2639: warning: (near initialization for 'standard_event_descr[3]')
  173. iwlib.c:2642: error: unknown field 'header_type' specified in initializer
  174. iwlib.c:2642: warning: excess elements in struct initializer
  175. iwlib.c:2642: warning: (near initialization for 'standard_event_descr[4]')
  176. iwlib.c:2645: error: unknown field 'header_type' specified in initializer
  177. iwlib.c:2645: warning: excess elements in struct initializer
  178. iwlib.c:2645: warning: (near initialization for 'standard_event_descr[5]')
  179. iwlib.c:2646: error: unknown field 'token_size' specified in initializer
  180. iwlib.c:2646: warning: excess elements in struct initializer
  181. iwlib.c:2646: warning: (near initialization for 'standard_event_descr[5]')
  182. iwlib.c:2647: error: unknown field 'max_tokens' specified in initializer
  183. iwlib.c:2647: warning: excess elements in struct initializer
  184. iwlib.c:2647: warning: (near initialization for 'standard_event_descr[5]')
  185. iwlib.c:2650: error: unknown field 'header_type' specified in initializer
  186. iwlib.c:2650: warning: excess elements in struct initializer
  187. iwlib.c:2650: warning: (near initialization for 'standard_event_descr[6]')
  188. iwlib.c:2651: error: unknown field 'token_size' specified in initializer
  189. iwlib.c:2651: warning: excess elements in struct initializer
  190. iwlib.c:2651: warning: (near initialization for 'standard_event_descr[6]')
  191. iwlib.c:2652: error: unknown field 'max_tokens' specified in initializer
  192. iwlib.c:2652: warning: excess elements in struct initializer
  193. iwlib.c:2652: warning: (near initialization for 'standard_event_descr[6]')
  194. iwlib.c:2655: error: unknown field 'header_type' specified in initializer
  195. iwlib.c:2655: warning: excess elements in struct initializer
  196. iwlib.c:2655: warning: (near initialization for 'standard_event_descr[7]')
  197. iwlib.c:2656: error: unknown field 'token_size' specified in initializer
  198. iwlib.c:2656: warning: excess elements in struct initializer
  199. iwlib.c:2656: warning: (near initialization for 'standard_event_descr[7]')
  200. iwlib.c:2657: error: unknown field 'max_tokens' specified in initializer
  201. iwlib.c:2657: warning: excess elements in struct initializer
  202. iwlib.c:2657: warning: (near initialization for 'standard_event_descr[7]')
  203. iwlib.c:2660: error: unknown field 'header_type' specified in initializer
  204. iwlib.c:2660: warning: excess elements in struct initializer
  205. iwlib.c:2660: warning: (near initialization for 'standard_event_descr[8]')
  206. iwlib.c:2661: error: unknown field 'token_size' specified in initializer
  207. iwlib.c:2661: warning: excess elements in struct initializer
  208. iwlib.c:2661: warning: (near initialization for 'standard_event_descr[8]')
  209. iwlib.c:2662: error: unknown field 'max_tokens' specified in initializer
  210. iwlib.c:2662: warning: excess elements in struct initializer
  211. iwlib.c:2662: warning: (near initialization for 'standard_event_descr[8]')
  212. iwlib.c:2665: error: unknown field 'header_type' specified in initializer
  213. iwlib.c:2665: warning: excess elements in struct initializer
  214. iwlib.c:2665: warning: (near initialization for 'standard_event_descr[9]')
  215. iwlib.c:2666: error: unknown field 'token_size' specified in initializer
  216. iwlib.c:2666: warning: excess elements in struct initializer
  217. iwlib.c:2666: warning: (near initialization for 'standard_event_descr[9]')
  218. iwlib.c:2667: error: unknown field 'max_tokens' specified in initializer
  219. iwlib.c:2667: warning: excess elements in struct initializer
  220. iwlib.c:2667: warning: (near initialization for 'standard_event_descr[9]')
  221. iwlib.c:2670: warning: division by zero
  222. iwlib.c:2671: error: initializer element is not constant
  223. iwlib.c:2677: error: initializer element is not constant
  224. iwlib.c:2677: error: (near initialization for 'event_type_size[2]')
  225. iwlib.c:2679: error: initializer element is not constant
  226. iwlib.c:2679: error: (near initialization for 'event_type_size[4]')
  227. iwlib.c:2681: error: invalid application of 'sizeof' to incomplete type 'struct sockaddr'
  228. iwlib.c: In function 'iw_init_event_stream':
  229. iwlib.c:2699: warning: incompatible implicit declaration of built-in function 'memset'
  230. iwlib.c: In function 'iw_extract_event_stream':
  231. iwlib.c:2715: error: 'NULL' undeclared (first use in this function)
  232. iwlib.c:2715: warning: initialization from incompatible pointer type
  233. iwlib.c:2733: warning: incompatible implicit declaration of built-in function 'memcpy'
  234. iwlib.c:2741: error: 'struct iw_event' has no member named 'len'
  235. iwlib.c:2741: warning: comparison between pointer and integer
  236. iwlib.c:2745: error: 'struct iw_event' has no member named 'cmd'
  237. iwlib.c:2745: warning: comparison between pointer and integer
  238. iwlib.c:2747: error: 'struct iw_event' has no member named 'cmd'
  239. iwlib.c:2747: warning: assignment makes integer from pointer without a cast
  240. iwlib.c:2753: error: 'struct iw_event' has no member named 'cmd'
  241. iwlib.c:2753: warning: assignment makes integer from pointer without a cast
  242. iwlib.c:2757: warning: comparison of distinct pointer types lacks a cast
  243. iwlib.c:2758: error: 'const struct iw_ioctl_description' has no member named 'header_type'
  244. iwlib.c:2758: warning: assignment makes integer from pointer without a cast
  245. iwlib.c:2763: warning: cast discards qualifiers from pointer target type
  246. iwlib.c:2763: error: 'struct iw_point' has no member named 'length'
  247. iwlib.c:2763: warning: cast discards qualifiers from pointer target type
  248. iwlib.c:2769: error: 'struct iw_event' has no member named 'len'
  249. iwlib.c:2769: error: invalid operands to binary + (have 'char *' and 'const int *')
  250. iwlib.c:2769: warning: statement with no effect
  251. iwlib.c:2775: warning: comparison of distinct pointer types lacks a cast
  252. iwlib.c:2789: error: 'struct iw_event' has no member named 'len'
  253. iwlib.c:2789: error: invalid operands to binary + (have 'char *' and 'const int *')
  254. iwlib.c:2789: warning: statement with no effect
  255. iwlib.c:2795: warning: cast discards qualifiers from pointer target type
  256. iwlib.c:2795: error: 'struct iw_point' has no member named 'length'
  257. iwlib.c:2795: warning: cast discards qualifiers from pointer target type
  258. iwlib.c:2807: error: 'struct iw_event' has no member named 'len'
  259. iwlib.c:2807: warning: initialization makes integer from pointer without a cast
  260. iwlib.c:2811: error: 'struct iw_event' has no member named 'u'
  261. iwlib.c:2811: error: request for member 'data' in something not a structure or union
  262. iwlib.c:2811: error: request for member 'pointer' in something not a structure or union
  263. iwlib.c:2811: warning: statement with no effect
  264. iwlib.c:2814: warning: comparison of distinct pointer types lacks a cast
  265. iwlib.c:2816: error: 'struct iw_event' has no member named 'u'
  266. iwlib.c:2816: error: request for member 'data' in something not a structure or union
  267. iwlib.c:2816: error: request for member 'pointer' in something not a structure or union
  268. iwlib.c:2816: warning: statement with no effect
  269. iwlib.c:2822: error: 'struct iw_event' has no member named 'u'
  270. iwlib.c:2822: error: request for member 'data' in something not a structure or union
  271. iwlib.c:2822: error: request for member 'length' in something not a structure or union
  272. iwlib.c:2822: error: 'const struct iw_ioctl_description' has no member named 'token_size'
  273. iwlib.c:2822: error: invalid operands to binary * (have 'const int *' and 'const int *')
  274. iwlib.c:2822: warning: initialization makes integer from pointer without a cast
  275. iwlib.c:2830: error: '__u16' undeclared (first use in this function)
  276. iwlib.c:2830: warning: statement with no effect
  277. iwlib.c:2830: error: expected ';' before 'alt_dlen'
  278. iwlib.c:2831: error: 'alt_dlen' undeclared (first use in this function)
  279. iwlib.c:2831: error: 'const struct iw_ioctl_description' has no member named 'token_size'
  280. iwlib.c:2831: error: invalid operands to binary * (have 'const int *' and 'const int *')
  281. iwlib.c:2831: warning: initialization makes integer from pointer without a cast
  282. iwlib.c:2841: warning: cast discards qualifiers from pointer target type
  283. iwlib.c:2841: error: 'struct iw_point' has no member named 'length'
  284. iwlib.c:2841: warning: cast discards qualifiers from pointer target type
  285. iwlib.c:2844: error: 'struct iw_event' has no member named 'u'
  286. iwlib.c:2844: error: request for member 'data' in something not a structure or union
  287. iwlib.c:2844: error: request for member 'pointer' in something not a structure or union
  288. iwlib.c:2844: warning: statement with no effect
  289. iwlib.c:2852: error: 'struct iw_event' has no member named 'u'
  290. iwlib.c:2852: error: request for member 'data' in something not a structure or union
  291. iwlib.c:2852: error: request for member 'pointer' in something not a structure or union
  292. iwlib.c:2852: warning: statement with no effect
  293. iwlib.c:2855: error: 'struct iw_event' has no member named 'u'
  294. iwlib.c:2855: error: request for member 'data' in something not a structure or union
  295. iwlib.c:2855: error: request for member 'length' in something not a structure or union
  296. iwlib.c:2855: error: 'const struct iw_ioctl_description' has no member named 'max_tokens'
  297. iwlib.c:2856: error: 'const struct iw_ioctl_description' has no member named 'flags'
  298. iwlib.c:2856: error: invalid operands to binary & (have 'const int *' and 'int')
  299. iwlib.c:2857: error: 'struct iw_event' has no member named 'u'
  300. iwlib.c:2857: error: request for member 'data' in something not a structure or union
  301. iwlib.c:2857: error: request for member 'pointer' in something not a structure or union
  302. iwlib.c:2857: warning: statement with no effect
  303. iwlib.c:2859: error: 'struct iw_event' has no member named 'u'
  304. iwlib.c:2859: error: request for member 'data' in something not a structure or union
  305. iwlib.c:2859: error: request for member 'length' in something not a structure or union
  306. iwlib.c:2859: error: 'const struct iw_ioctl_description' has no member named 'min_tokens'
  307. iwlib.c:2860: error: 'struct iw_event' has no member named 'u'
  308. iwlib.c:2860: error: request for member 'data' in something not a structure or union
  309. iwlib.c:2860: error: request for member 'pointer' in something not a structure or union
  310. iwlib.c:2860: warning: statement with no effect
  311. iwlib.c:2869: error: 'struct iw_event' has no member named 'u'
  312. iwlib.c:2869: error: request for member 'data' in something not a structure or union
  313. iwlib.c:2869: error: request for member 'pointer' in something not a structure or union
  314. iwlib.c:2869: warning: statement with no effect
  315. iwlib.c:2872: error: 'struct iw_event' has no member named 'len'
  316. iwlib.c:2872: error: invalid operands to binary + (have 'char *' and 'const int *')
  317. iwlib.c:2872: warning: statement with no effect
  318. iwlib.c:2880: warning: comparison of distinct pointer types lacks a cast
  319. iwlib.c:2881: error: 'struct iw_event' has no member named 'len'
  320. iwlib.c:2881: error: invalid operands to binary % (have 'const int *' and 'unsigned int')
  321. iwlib.c:2881: warning: comparison between pointer and integer
  322. iwlib.c:2882: error: 'struct iw_event' has no member named 'len'
  323. iwlib.c:2882: warning: comparison between pointer and integer
  324. iwlib.c:2896: error: 'struct iw_event' has no member named 'len'
  325. iwlib.c:2896: error: invalid operands to binary + (have 'char *' and 'const int *')
  326. iwlib.c:2896: warning: comparison of distinct pointer types lacks a cast
  327. iwlib.c:2902: warning: assignment from incompatible pointer type
  328. iwlib.c:2903: error: 'struct iw_event' has no member named 'len'
  329. iwlib.c:2903: error: invalid operands to binary + (have 'char *' and 'const int *')
  330. iwlib.c:2903: warning: statement with no effect
  331. iwlib.c: In function 'iw_process_scanning_token':
  332. iwlib.c:2950: error: 'struct iw_event' has no member named 'cmd'
  333. iwlib.c:2955: warning: implicit declaration of function 'malloc'
  334. iwlib.c:2955: warning: incompatible implicit declaration of built-in function 'malloc'
  335. iwlib.c:2956: error: 'NULL' undeclared (first use in this function)
  336. iwlib.c:2956: warning: comparison of distinct pointer types lacks a cast
  337. iwlib.c:2959: warning: comparison of distinct pointer types lacks a cast
  338. iwlib.c:2963: warning: incompatible implicit declaration of built-in function 'bzero'
  339. iwlib.c:2967: warning: incompatible implicit declaration of built-in function 'memcpy'
  340. iwlib.c:2967: error: 'struct iw_event' has no member named 'u'
  341. iwlib.c:2967: error: request for member 'ap_addr' in something not a structure or union
  342. iwlib.c:2967: error: invalid application of 'sizeof' to incomplete type 'sockaddr'
  343. iwlib.c:2971: error: 'struct iw_event' has no member named 'u'
  344. iwlib.c:2971: error: request for member 'nwid' in something not a structure or union
  345. iwlib.c:2975: error: 'struct iw_event' has no member named 'u'
  346. iwlib.c:2975: error: request for member 'freq' in something not a structure or union
  347. iwlib.c:2975: warning: passing argument 1 of 'iw_freq2float' from incompatible pointer type
  348. iwlib.c:977: note: expected 'const struct iwfreq *' but argument is of type 'const int (*)[1]'
  349. iwlib.c:2976: error: 'struct iw_event' has no member named 'u'
  350. iwlib.c:2976: error: request for member 'freq' in something not a structure or union
  351. iwlib.c:2976: error: request for member 'flags' in something not a structure or union
  352. iwlib.c:2976: warning: assignment makes integer from pointer without a cast
  353. iwlib.c:2979: error: 'struct iw_event' has no member named 'u'
  354. iwlib.c:2979: error: request for member 'mode' in something not a structure or union
  355. iwlib.c:2979: warning: assignment makes integer from pointer without a cast
  356. iwlib.c:2985: error: 'struct iw_event' has no member named 'u'
  357. iwlib.c:2985: error: request for member 'data' in something not a structure or union
  358. iwlib.c:2985: error: request for member 'flags' in something not a structure or union
  359. iwlib.c:2985: warning: assignment makes integer from pointer without a cast
  360. iwlib.c:2986: warning: incompatible implicit declaration of built-in function 'memset'
  361. iwlib.c:2987: error: 'struct iw_event' has no member named 'u'
  362. iwlib.c:2987: error: request for member 'essid' in something not a structure or union
  363. iwlib.c:2987: error: request for member 'pointer' in something not a structure or union
  364. iwlib.c:2987: error: 'struct iw_event' has no member named 'u'
  365. iwlib.c:2987: error: request for member 'essid' in something not a structure or union
  366. iwlib.c:2987: error: request for member 'length' in something not a structure or union
  367. iwlib.c:2988: error: 'struct iw_event' has no member named 'u'
  368. iwlib.c:2988: error: request for member 'essid' in something not a structure or union
  369. iwlib.c:2988: error: request for member 'pointer' in something not a structure or union
  370. iwlib.c:2988: error: 'struct iw_event' has no member named 'u'
  371. iwlib.c:2988: error: request for member 'essid' in something not a structure or union
  372. iwlib.c:2988: error: request for member 'length' in something not a structure or union
  373. iwlib.c:2988: warning: passing argument 3 of 'memcpy' makes integer from pointer without a cast
  374. iwlib.c:2988: note: expected 'unsigned int' but argument is of type 'const int *'
  375. iwlib.c:2992: error: 'struct iw_event' has no member named 'u'
  376. iwlib.c:2992: error: request for member 'data' in something not a structure or union
  377. iwlib.c:2992: error: request for member 'length' in something not a structure or union
  378. iwlib.c:2992: warning: assignment makes integer from pointer without a cast
  379. iwlib.c:2993: error: 'struct iw_event' has no member named 'u'
  380. iwlib.c:2993: error: request for member 'data' in something not a structure or union
  381. iwlib.c:2993: error: request for member 'flags' in something not a structure or union
  382. iwlib.c:2993: warning: assignment makes integer from pointer without a cast
  383. iwlib.c:2994: error: 'struct iw_event' has no member named 'u'
  384. iwlib.c:2994: error: request for member 'data' in something not a structure or union
  385. iwlib.c:2994: error: request for member 'pointer' in something not a structure or union
  386. iwlib.c:2995: error: 'struct iw_event' has no member named 'u'
  387. iwlib.c:2995: error: request for member 'essid' in something not a structure or union
  388. iwlib.c:2995: error: request for member 'pointer' in something not a structure or union
  389. iwlib.c:2995: error: 'struct iw_event' has no member named 'u'
  390. iwlib.c:2995: error: request for member 'data' in something not a structure or union
  391. iwlib.c:2995: error: request for member 'length' in something not a structure or union
  392. iwlib.c:2995: warning: passing argument 3 of 'memcpy' makes integer from pointer without a cast
  393. iwlib.c:2995: note: expected 'unsigned int' but argument is of type 'const int *'
  394. iwlib.c:3002: error: 'iwstats' has no member named 'qual'
  395. iwlib.c:3002: error: 'struct iw_event' has no member named 'u'
  396. iwlib.c:3002: error: request for member 'qual' in something not a structure or union
  397. iwlib.c:3008: error: 'struct iw_event' has no member named 'u'
  398. iwlib.c:3008: error: request for member 'bitrate' in something not a structure or union
  399. iwlib.c:3008: error: request for member 'value' in something not a structure or union
  400. iwlib.c:3008: error: 'iwparam' has no member named 'value'
  401. iwlib.c:3011: error: 'struct iw_event' has no member named 'u'
  402. iwlib.c:3011: error: request for member 'bitrate' in something not a structure or union
  403. iwlib.c: In function 'iw_process_scan':
  404. iwlib.c:3038: error: 'NULL' undeclared (first use in this function)
  405. iwlib.c:3038: warning: initialization from incompatible pointer type
  406. iwlib.c:3046: error: 'errno' undeclared (first use in this function)
  407. iwlib.c:3046: error: 'ETIME' undeclared (first use in this function)
  408. iwlib.c:3046: warning: statement with no effect
  409. iwlib.c:3054: error: 'union iwreq_data' has no member named 'data'
  410. iwlib.c:3054: error: request for member 'pointer' in something not a structure or union
  411. iwlib.c:3054: warning: statement with no effect
  412. iwlib.c:3055: error: 'union iwreq_data' has no member named 'data'
  413. iwlib.c:3055: error: request for member 'flags' in something not a structure or union
  414. iwlib.c:3055: warning: statement with no effect
  415. iwlib.c:3056: error: 'union iwreq_data' has no member named 'data'
  416. iwlib.c:3056: error: request for member 'length' in something not a structure or union
  417. iwlib.c:3056: warning: statement with no effect
  418. iwlib.c:3059: error: 'EPERM' undeclared (first use in this function)
  419. iwlib.c:3067: warning: incompatible implicit declaration of built-in function 'realloc'
  420. iwlib.c:3068: warning: comparison of distinct pointer types lacks a cast
  421. iwlib.c:3072: warning: incompatible implicit declaration of built-in function 'free'
  422. iwlib.c:3073: error: 'ENOMEM' undeclared (first use in this function)
  423. iwlib.c:3073: warning: statement with no effect
  424. iwlib.c:3079: error: 'union iwreq_data' has no member named 'data'
  425. iwlib.c:3079: error: request for member 'pointer' in something not a structure or union
  426. iwlib.c:3079: warning: statement with no effect
  427. iwlib.c:3080: error: 'union iwreq_data' has no member named 'data'
  428. iwlib.c:3080: error: request for member 'flags' in something not a structure or union
  429. iwlib.c:3080: warning: statement with no effect
  430. iwlib.c:3081: error: 'union iwreq_data' has no member named 'data'
  431. iwlib.c:3081: error: request for member 'length' in something not a structure or union
  432. iwlib.c:3081: warning: statement with no effect
  433. iwlib.c:3085: error: 'E2BIG' undeclared (first use in this function)
  434. iwlib.c:3096: error: 'union iwreq_data' has no member named 'data'
  435. iwlib.c:3096: error: request for member 'length' in something not a structure or union
  436. iwlib.c:3096: warning: comparison between pointer and integer
  437. iwlib.c:3097: error: 'union iwreq_data' has no member named 'data'
  438. iwlib.c:3097: error: request for member 'length' in something not a structure or union
  439. iwlib.c:3097: warning: assignment makes integer from pointer without a cast
  440. iwlib.c:3106: error: 'EAGAIN' undeclared (first use in this function)
  441. iwlib.c:3108: warning: incompatible implicit declaration of built-in function 'free'
  442. iwlib.c:3113: warning: incompatible implicit declaration of built-in function 'free'
  443. iwlib.c:3119: error: 'union iwreq_data' has no member named 'data'
  444. iwlib.c:3119: error: request for member 'length' in something not a structure or union
  445. iwlib.c:3123: warning: initialization from incompatible pointer type
  446. iwlib.c:3135: error: 'union iwreq_data' has no member named 'data'
  447. iwlib.c:3135: error: request for member 'length' in something not a structure or union
  448. iwlib.c:3135: warning: passing argument 3 of 'iw_init_event_stream' makes integer from pointer without a cast
  449. iwlib.c:2694: note: expected 'int' but argument is of type 'const int *'
  450. iwlib.c:3137: warning: assignment from incompatible pointer type
  451. iwlib.c:3149: warning: comparison of distinct pointer types lacks a cast
  452. iwlib.c:3151: warning: incompatible implicit declaration of built-in function 'free'
  453. iwlib.c:3152: warning: statement with no effect
  454. iwlib.c:3156: warning: comparison of distinct pointer types lacks a cast
  455. iwlib.c:3164: warning: incompatible implicit declaration of built-in function 'free'
  456. iwlib.c: In function 'iw_scan':
  457. iwlib.c:3195: error: 'NULL' undeclared (first use in this function)
  458. iwlib.c:3195: warning: assignment from incompatible pointer type
  459. iwlib.c:3209: warning: implicit declaration of function 'usleep'
  460. make: *** [iwlib.so] Error 1