Advertisement
Guest User

compile mjpg-streamer

a guest
Sep 26th, 2015
291
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 32.14 KB | None | 0 0
  1. pi@raspberrypi ~/mjpg/mjpg-streamer-r63 $ make
  2. make -C plugins/input_uvc all
  3. make[1]: Entering directory '/home/pi/mjpg/mjpg-streamer-r63/plugins/input_uvc'
  4. gcc -c -O2 -march=armv6 -mfpu=vfp -mfloat-abi=hard -O2 -DLINUX -D_GNU_SOURCE -Wall -O2 -DLINUX -D_GNU_SOURCE -Wall -shared -fPIC -o v4l2uvc.lo v4l2uvc.c
  5. In file included from v4l2uvc.h:36:0,
  6. from v4l2uvc.c:27:
  7. uvcvideo.h:38:0: warning: "V4L2_CID_BACKLIGHT_COMPENSATION" redefined [enabled by default]
  8. /usr/include/linux/videodev.h:1172:0: note: this is the location of the previous definition
  9. uvcvideo.h:39:0: warning: "V4L2_CID_POWER_LINE_FREQUENCY" redefined [enabled by default]
  10. /usr/include/linux/videodev.h:1162:0: note: this is the location of the previous definition
  11. uvcvideo.h:40:0: warning: "V4L2_CID_SHARPNESS" redefined [enabled by default]
  12. /usr/include/linux/videodev.h:1171:0: note: this is the location of the previous definition
  13. uvcvideo.h:41:0: warning: "V4L2_CID_HUE_AUTO" redefined [enabled by default]
  14. /usr/include/linux/videodev.h:1169:0: note: this is the location of the previous definition
  15. uvcvideo.h:43:0: warning: "V4L2_CID_FOCUS_AUTO" redefined [enabled by default]
  16. /usr/include/linux/videodev.h:1605:0: note: this is the location of the previous definition
  17. uvcvideo.h:44:0: warning: "V4L2_CID_FOCUS_ABSOLUTE" redefined [enabled by default]
  18. /usr/include/linux/videodev.h:1603:0: note: this is the location of the previous definition
  19. uvcvideo.h:45:0: warning: "V4L2_CID_FOCUS_RELATIVE" redefined [enabled by default]
  20. /usr/include/linux/videodev.h:1604:0: note: this is the location of the previous definition
  21. uvcvideo.h:47:0: warning: "V4L2_CID_PAN_RELATIVE" redefined [enabled by default]
  22. /usr/include/linux/videodev.h:1595:0: note: this is the location of the previous definition
  23. uvcvideo.h:48:0: warning: "V4L2_CID_TILT_RELATIVE" redefined [enabled by default]
  24. /usr/include/linux/videodev.h:1596:0: note: this is the location of the previous definition
  25. uvcvideo.h:51:0: warning: "V4L2_CID_EXPOSURE_AUTO" redefined [enabled by default]
  26. /usr/include/linux/videodev.h:1585:0: note: this is the location of the previous definition
  27. uvcvideo.h:52:0: warning: "V4L2_CID_EXPOSURE_ABSOLUTE" redefined [enabled by default]
  28. /usr/include/linux/videodev.h:1592:0: note: this is the location of the previous definition
  29. uvcvideo.h:53:0: warning: "V4L2_CID_EXPOSURE_AUTO_PRIORITY" redefined [enabled by default]
  30. /usr/include/linux/videodev.h:1593:0: note: this is the location of the previous definition
  31. uvcvideo.h:56:0: warning: "V4L2_CID_WHITE_BALANCE_TEMPERATURE" redefined [enabled by default]
  32. /usr/include/linux/videodev.h:1170:0: note: this is the location of the previous definition
  33. v4l2uvc.c: In function ‘v4l2SetControl’:
  34. v4l2uvc.c:432:23: warning: variable ‘val_def’ set but not used [-Wunused-but-set-variable]
  35. v4l2uvc.c:432:17: warning: variable ‘step’ set but not used [-Wunused-but-set-variable]
  36. v4l2uvc.c: In function ‘v4l2UpControl’:
  37. v4l2uvc.c:457:32: warning: variable ‘val_def’ set but not used [-Wunused-but-set-variable]
  38. v4l2uvc.c:457:7: warning: variable ‘min’ set but not used [-Wunused-but-set-variable]
  39. v4l2uvc.c: In function ‘v4l2DownControl’:
  40. v4l2uvc.c:491:32: warning: variable ‘val_def’ set but not used [-Wunused-but-set-variable]
  41. v4l2uvc.c:491:12: warning: variable ‘max’ set but not used [-Wunused-but-set-variable]
  42. gcc -c -O2 -march=armv6 -mfpu=vfp -mfloat-abi=hard -O2 -DLINUX -D_GNU_SOURCE -Wall -O2 -DLINUX -D_GNU_SOURCE -Wall -shared -fPIC -o jpeg_utils.lo jpeg_utils.c
  43. In file included from v4l2uvc.h:36:0,
  44. from jpeg_utils.c:30:
  45. uvcvideo.h:38:0: warning: "V4L2_CID_BACKLIGHT_COMPENSATION" redefined [enabled by default]
  46. /usr/include/linux/videodev.h:1172:0: note: this is the location of the previous definition
  47. uvcvideo.h:39:0: warning: "V4L2_CID_POWER_LINE_FREQUENCY" redefined [enabled by default]
  48. /usr/include/linux/videodev.h:1162:0: note: this is the location of the previous definition
  49. uvcvideo.h:40:0: warning: "V4L2_CID_SHARPNESS" redefined [enabled by default]
  50. /usr/include/linux/videodev.h:1171:0: note: this is the location of the previous definition
  51. uvcvideo.h:41:0: warning: "V4L2_CID_HUE_AUTO" redefined [enabled by default]
  52. /usr/include/linux/videodev.h:1169:0: note: this is the location of the previous definition
  53. uvcvideo.h:43:0: warning: "V4L2_CID_FOCUS_AUTO" redefined [enabled by default]
  54. /usr/include/linux/videodev.h:1605:0: note: this is the location of the previous definition
  55. uvcvideo.h:44:0: warning: "V4L2_CID_FOCUS_ABSOLUTE" redefined [enabled by default]
  56. /usr/include/linux/videodev.h:1603:0: note: this is the location of the previous definition
  57. uvcvideo.h:45:0: warning: "V4L2_CID_FOCUS_RELATIVE" redefined [enabled by default]
  58. /usr/include/linux/videodev.h:1604:0: note: this is the location of the previous definition
  59. uvcvideo.h:47:0: warning: "V4L2_CID_PAN_RELATIVE" redefined [enabled by default]
  60. /usr/include/linux/videodev.h:1595:0: note: this is the location of the previous definition
  61. uvcvideo.h:48:0: warning: "V4L2_CID_TILT_RELATIVE" redefined [enabled by default]
  62. /usr/include/linux/videodev.h:1596:0: note: this is the location of the previous definition
  63. uvcvideo.h:51:0: warning: "V4L2_CID_EXPOSURE_AUTO" redefined [enabled by default]
  64. /usr/include/linux/videodev.h:1585:0: note: this is the location of the previous definition
  65. uvcvideo.h:52:0: warning: "V4L2_CID_EXPOSURE_ABSOLUTE" redefined [enabled by default]
  66. /usr/include/linux/videodev.h:1592:0: note: this is the location of the previous definition
  67. uvcvideo.h:53:0: warning: "V4L2_CID_EXPOSURE_AUTO_PRIORITY" redefined [enabled by default]
  68. /usr/include/linux/videodev.h:1593:0: note: this is the location of the previous definition
  69. uvcvideo.h:56:0: warning: "V4L2_CID_WHITE_BALANCE_TEMPERATURE" redefined [enabled by default]
  70. /usr/include/linux/videodev.h:1170:0: note: this is the location of the previous definition
  71. gcc -c -O2 -march=armv6 -mfpu=vfp -mfloat-abi=hard -O2 -DLINUX -D_GNU_SOURCE -Wall -O2 -DLINUX -D_GNU_SOURCE -Wall -shared -fPIC -o dynctrl.lo dynctrl.c
  72. In file included from dynctrl.c:35:0:
  73. uvcvideo.h:38:0: warning: "V4L2_CID_BACKLIGHT_COMPENSATION" redefined [enabled by default]
  74. /usr/include/linux/videodev2.h:1172:0: note: this is the location of the previous definition
  75. uvcvideo.h:39:0: warning: "V4L2_CID_POWER_LINE_FREQUENCY" redefined [enabled by default]
  76. /usr/include/linux/videodev2.h:1162:0: note: this is the location of the previous definition
  77. uvcvideo.h:40:0: warning: "V4L2_CID_SHARPNESS" redefined [enabled by default]
  78. /usr/include/linux/videodev2.h:1171:0: note: this is the location of the previous definition
  79. uvcvideo.h:41:0: warning: "V4L2_CID_HUE_AUTO" redefined [enabled by default]
  80. /usr/include/linux/videodev2.h:1169:0: note: this is the location of the previous definition
  81. uvcvideo.h:43:0: warning: "V4L2_CID_FOCUS_AUTO" redefined [enabled by default]
  82. /usr/include/linux/videodev2.h:1605:0: note: this is the location of the previous definition
  83. uvcvideo.h:44:0: warning: "V4L2_CID_FOCUS_ABSOLUTE" redefined [enabled by default]
  84. /usr/include/linux/videodev2.h:1603:0: note: this is the location of the previous definition
  85. uvcvideo.h:45:0: warning: "V4L2_CID_FOCUS_RELATIVE" redefined [enabled by default]
  86. /usr/include/linux/videodev2.h:1604:0: note: this is the location of the previous definition
  87. uvcvideo.h:47:0: warning: "V4L2_CID_PAN_RELATIVE" redefined [enabled by default]
  88. /usr/include/linux/videodev2.h:1595:0: note: this is the location of the previous definition
  89. uvcvideo.h:48:0: warning: "V4L2_CID_TILT_RELATIVE" redefined [enabled by default]
  90. /usr/include/linux/videodev2.h:1596:0: note: this is the location of the previous definition
  91. uvcvideo.h:51:0: warning: "V4L2_CID_EXPOSURE_AUTO" redefined [enabled by default]
  92. /usr/include/linux/videodev2.h:1585:0: note: this is the location of the previous definition
  93. uvcvideo.h:52:0: warning: "V4L2_CID_EXPOSURE_ABSOLUTE" redefined [enabled by default]
  94. /usr/include/linux/videodev2.h:1592:0: note: this is the location of the previous definition
  95. uvcvideo.h:53:0: warning: "V4L2_CID_EXPOSURE_AUTO_PRIORITY" redefined [enabled by default]
  96. /usr/include/linux/videodev2.h:1593:0: note: this is the location of the previous definition
  97. uvcvideo.h:56:0: warning: "V4L2_CID_WHITE_BALANCE_TEMPERATURE" redefined [enabled by default]
  98. /usr/include/linux/videodev2.h:1170:0: note: this is the location of the previous definition
  99. gcc -O2 -march=armv6 -mfpu=vfp -mfloat-abi=hard -O2 -DLINUX -D_GNU_SOURCE -Wall -O2 -DLINUX -D_GNU_SOURCE -Wall -shared -fPIC -ljpeg -o input_uvc.so input_uvc.c v4l2uvc.lo jpeg_utils.lo dynctrl.lo
  100. In file included from v4l2uvc.h:36:0,
  101. from input_uvc.c:44:
  102. uvcvideo.h:38:0: warning: "V4L2_CID_BACKLIGHT_COMPENSATION" redefined [enabled by default]
  103. /usr/include/linux/videodev.h:1172:0: note: this is the location of the previous definition
  104. uvcvideo.h:39:0: warning: "V4L2_CID_POWER_LINE_FREQUENCY" redefined [enabled by default]
  105. /usr/include/linux/videodev.h:1162:0: note: this is the location of the previous definition
  106. uvcvideo.h:40:0: warning: "V4L2_CID_SHARPNESS" redefined [enabled by default]
  107. /usr/include/linux/videodev.h:1171:0: note: this is the location of the previous definition
  108. uvcvideo.h:41:0: warning: "V4L2_CID_HUE_AUTO" redefined [enabled by default]
  109. /usr/include/linux/videodev.h:1169:0: note: this is the location of the previous definition
  110. uvcvideo.h:43:0: warning: "V4L2_CID_FOCUS_AUTO" redefined [enabled by default]
  111. /usr/include/linux/videodev.h:1605:0: note: this is the location of the previous definition
  112. uvcvideo.h:44:0: warning: "V4L2_CID_FOCUS_ABSOLUTE" redefined [enabled by default]
  113. /usr/include/linux/videodev.h:1603:0: note: this is the location of the previous definition
  114. uvcvideo.h:45:0: warning: "V4L2_CID_FOCUS_RELATIVE" redefined [enabled by default]
  115. /usr/include/linux/videodev.h:1604:0: note: this is the location of the previous definition
  116. uvcvideo.h:47:0: warning: "V4L2_CID_PAN_RELATIVE" redefined [enabled by default]
  117. /usr/include/linux/videodev.h:1595:0: note: this is the location of the previous definition
  118. uvcvideo.h:48:0: warning: "V4L2_CID_TILT_RELATIVE" redefined [enabled by default]
  119. /usr/include/linux/videodev.h:1596:0: note: this is the location of the previous definition
  120. uvcvideo.h:51:0: warning: "V4L2_CID_EXPOSURE_AUTO" redefined [enabled by default]
  121. /usr/include/linux/videodev.h:1585:0: note: this is the location of the previous definition
  122. uvcvideo.h:52:0: warning: "V4L2_CID_EXPOSURE_ABSOLUTE" redefined [enabled by default]
  123. /usr/include/linux/videodev.h:1592:0: note: this is the location of the previous definition
  124. uvcvideo.h:53:0: warning: "V4L2_CID_EXPOSURE_AUTO_PRIORITY" redefined [enabled by default]
  125. /usr/include/linux/videodev.h:1593:0: note: this is the location of the previous definition
  126. uvcvideo.h:56:0: warning: "V4L2_CID_WHITE_BALANCE_TEMPERATURE" redefined [enabled by default]
  127. /usr/include/linux/videodev.h:1170:0: note: this is the location of the previous definition
  128. input_uvc.c: In function ‘input_init’:
  129. input_uvc.c:307:3: warning: implicit declaration of function ‘input_cmd’ [-Wimplicit-function-declaration]
  130. make[1]: Leaving directory '/home/pi/mjpg/mjpg-streamer-r63/plugins/input_uvc'
  131. cp plugins/input_uvc/input_uvc.so .
  132. make -C plugins/output_file all
  133. make[1]: Entering directory '/home/pi/mjpg/mjpg-streamer-r63/plugins/output_file'
  134. gcc -O2 -march=armv6 -mfpu=vfp -mfloat-abi=hard -O2 -DLINUX -D_GNU_SOURCE -Wall -O2 -DLINUX -D_GNU_SOURCE -Wall -shared -fPIC -o output_file.so output_file.c
  135. make[1]: Leaving directory '/home/pi/mjpg/mjpg-streamer-r63/plugins/output_file'
  136. cp plugins/output_file/output_file.so .
  137. make -C plugins/output_http all
  138. make[1]: Entering directory '/home/pi/mjpg/mjpg-streamer-r63/plugins/output_http'
  139. gcc -c -O2 -march=armv6 -mfpu=vfp -mfloat-abi=hard -O2 -DLINUX -D_GNU_SOURCE -Wall -O2 -DLINUX -D_GNU_SOURCE -Wall -shared -fPIC -o httpd.lo httpd.c
  140. gcc -O2 -march=armv6 -mfpu=vfp -mfloat-abi=hard -O2 -DLINUX -D_GNU_SOURCE -Wall -O2 -DLINUX -D_GNU_SOURCE -Wall -shared -fPIC -o output_http.so output_http.c httpd.lo
  141. make[1]: Leaving directory '/home/pi/mjpg/mjpg-streamer-r63/plugins/output_http'
  142. cp plugins/output_http/output_http.so .
  143. make -C plugins/input_testpicture all
  144. make[1]: Entering directory '/home/pi/mjpg/mjpg-streamer-r63/plugins/input_testpicture'
  145. gcc -O2 -march=armv6 -mfpu=vfp -mfloat-abi=hard -O2 -DLINUX -D_GNU_SOURCE -Wall -O2 -DLINUX -D_GNU_SOURCE -Wall -shared -fPIC -o input_testpicture.so input_testpicture.c
  146. make[1]: Leaving directory '/home/pi/mjpg/mjpg-streamer-r63/plugins/input_testpicture'
  147. cp plugins/input_testpicture/input_testpicture.so .
  148. make -C plugins/output_autofocus all
  149. make[1]: Entering directory '/home/pi/mjpg/mjpg-streamer-r63/plugins/output_autofocus'
  150. gcc -c -O2 -march=armv6 -mfpu=vfp -mfloat-abi=hard -O2 -DLINUX -D_GNU_SOURCE -Wall -DDEBUG -O2 -DLINUX -D_GNU_SOURCE -Wall -shared -fPIC -o processJPEG_onlyCenter.lo processJPEG_onlyCenter.c
  151. processJPEG_onlyCenter.c: In function ‘getFrameSharpnessValue’:
  152. processJPEG_onlyCenter.c:45:7: warning: variable ‘quant_Y’ set but not used [-Wunused-but-set-variable]
  153. gcc -O2 -march=armv6 -mfpu=vfp -mfloat-abi=hard -O2 -DLINUX -D_GNU_SOURCE -Wall -DDEBUG -O2 -DLINUX -D_GNU_SOURCE -Wall -shared -fPIC -lm -o output_autofocus.so output_autofocus.c processJPEG_onlyCenter.lo
  154. make[1]: Leaving directory '/home/pi/mjpg/mjpg-streamer-r63/plugins/output_autofocus'
  155. cp plugins/output_autofocus/output_autofocus.so .
  156. make -C plugins/input_gspcav1 all
  157. make[1]: Entering directory '/home/pi/mjpg/mjpg-streamer-r63/plugins/input_gspcav1'
  158. gcc -c -O2 -march=armv6 -mfpu=vfp -mfloat-abi=hard -O2 -DLINUX -D_GNU_SOURCE -Wall -O2 -DLINUX -D_GNU_SOURCE -Wall -shared -fPIC -o spcav4l.lo spcav4l.c
  159. In file included from spcav4l.c:25:0:
  160. spcav4l.h:134:20: error: field ‘vmmap’ has incomplete type
  161. spcav4l.h:135:26: error: field ‘videocap’ has incomplete type
  162. spcav4l.h:137:20: error: field ‘videombuf’ has incomplete type
  163. spcav4l.h:138:23: error: field ‘videopict’ has incomplete type
  164. spcav4l.h:139:22: error: field ‘videowin’ has incomplete type
  165. spcav4l.h:140:23: error: field ‘videochan’ has incomplete type
  166. spcav4l.c: In function ‘convertframe’:
  167. spcav4l.c:162:7: error: ‘VIDEO_PALETTE_YUV420P’ undeclared (first use in this function)
  168. spcav4l.c:162:7: note: each undeclared identifier is reported only once for each function it appears in
  169. spcav4l.c:165:7: error: ‘VIDEO_PALETTE_RGB24’ undeclared (first use in this function)
  170. spcav4l.c:168:7: error: ‘VIDEO_PALETTE_RGB565’ undeclared (first use in this function)
  171. spcav4l.c:171:7: error: ‘VIDEO_PALETTE_RGB32’ undeclared (first use in this function)
  172. spcav4l.c: In function ‘v4lGrab’:
  173. spcav4l.c:200:26: error: ‘VIDIOCSYNC’ undeclared (first use in this function)
  174. spcav4l.c:236:27: error: ‘VIDIOCMCAPTURE’ undeclared (first use in this function)
  175. spcav4l.c:192:10: warning: variable ‘temps’ set but not used [-Wunused-but-set-variable]
  176. spcav4l.c: In function ‘GetVideoPict’:
  177. spcav4l.c:294:22: error: ‘VIDIOCGPICT’ undeclared (first use in this function)
  178. spcav4l.c: In function ‘SetVideoPict’:
  179. spcav4l.c:310:22: error: ‘VIDIOCSPICT’ undeclared (first use in this function)
  180. spcav4l.c: In function ‘init_v4l’:
  181. spcav4l.c:335:22: error: ‘VIDIOCGCAP’ undeclared (first use in this function)
  182. spcav4l.c:342:23: error: ‘VIDIOCGCHAN’ undeclared (first use in this function)
  183. spcav4l.c:393:26: error: ‘VIDIOCGMBUF’ undeclared (first use in this function)
  184. spcav4l.c:410:23: error: ‘VIDIOCMCAPTURE’ undeclared (first use in this function)
  185. spcav4l.c:424:26: error: ‘VIDIOCGWIN’ undeclared (first use in this function)
  186. spcav4l.c:428:26: error: ‘VIDIOCSWIN’ undeclared (first use in this function)
  187. spcav4l.c: In function ‘probePalette’:
  188. spcav4l.c:439:33: error: ‘VIDEO_PALETTE_YUV420P’ undeclared (first use in this function)
  189. spcav4l.c:439:55: error: ‘VIDEO_PALETTE_RGB24’ undeclared (first use in this function)
  190. spcav4l.c:439:75: error: ‘VIDEO_PALETTE_RGB565’ undeclared (first use in this function)
  191. spcav4l.c:439:96: error: ‘VIDEO_PALETTE_RGB32’ undeclared (first use in this function)
  192. spcav4l.c:440:23: error: storage size of ‘pict’ isn’t known
  193. spcav4l.c:446:21: error: ‘VIDIOCGPICT’ undeclared (first use in this function)
  194. spcav4l.c:446:2: warning: passing argument 2 of ‘ioctl’ makes integer from pointer without a cast [enabled by default]
  195. /usr/include/arm-linux-gnueabihf/sys/ioctl.h:42:12: note: expected ‘long unsigned int’ but argument is of type ‘int *’
  196. spcav4l.c:453:6: error: request for member ‘palette’ in something not a structure or union
  197. spcav4l.c:453:2: warning: statement with no effect [-Wunused-value]
  198. spcav4l.c:455:6: error: request for member ‘depth’ in something not a structure or union
  199. spcav4l.c:455:2: warning: statement with no effect [-Wunused-value]
  200. spcav4l.c:456:41: error: request for member ‘palette’ in something not a structure or union
  201. spcav4l.c:456:54: error: request for member ‘depth’ in something not a structure or union
  202. spcav4l.c:456:2: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘int *’ [-Wformat]
  203. spcav4l.c:456:2: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘int *’ [-Wformat]
  204. spcav4l.c:457:21: error: ‘VIDIOCSPICT’ undeclared (first use in this function)
  205. spcav4l.c:457:2: warning: passing argument 2 of ‘ioctl’ makes integer from pointer without a cast [enabled by default]
  206. /usr/include/arm-linux-gnueabihf/sys/ioctl.h:42:12: note: expected ‘long unsigned int’ but argument is of type ‘int *’
  207. spcav4l.c:462:2: warning: passing argument 2 of ‘ioctl’ makes integer from pointer without a cast [enabled by default]
  208. /usr/include/arm-linux-gnueabihf/sys/ioctl.h:42:12: note: expected ‘long unsigned int’ but argument is of type ‘int *’
  209. spcav4l.c:467:10: error: request for member ‘palette’ in something not a structure or union
  210. spcav4l.c:467:19: warning: comparison between pointer and integer [enabled by default]
  211. spcav4l.c:440:23: warning: unused variable ‘pict’ [-Wunused-variable]
  212. spcav4l.c: In function ‘probeSize’:
  213. spcav4l.c:489:22: error: storage size of ‘win’ isn’t known
  214. spcav4l.c:495:21: error: request for member ‘maxwidth’ in something not a structure or union
  215. spcav4l.c:495:7: warning: assignment makes integer from pointer without a cast [enabled by default]
  216. spcav4l.c:496:21: error: request for member ‘minwidth’ in something not a structure or union
  217. spcav4l.c:496:7: warning: assignment makes integer from pointer without a cast [enabled by default]
  218. spcav4l.c:497:21: error: request for member ‘maxheight’ in something not a structure or union
  219. spcav4l.c:497:7: warning: assignment makes integer from pointer without a cast [enabled by default]
  220. spcav4l.c:498:21: error: request for member ‘minheight’ in something not a structure or union
  221. spcav4l.c:498:7: warning: assignment makes integer from pointer without a cast [enabled by default]
  222. spcav4l.c:507:22: error: ‘VIDIOCGWIN’ undeclared (first use in this function)
  223. spcav4l.c:507:3: warning: passing argument 2 of ‘ioctl’ makes integer from pointer without a cast [enabled by default]
  224. /usr/include/arm-linux-gnueabihf/sys/ioctl.h:42:12: note: expected ‘long unsigned int’ but argument is of type ‘int *’
  225. spcav4l.c:513:5: error: request for member ‘width’ in something not a structure or union
  226. spcav4l.c:513:2: warning: statement with no effect [-Wunused-value]
  227. spcav4l.c:514:5: error: request for member ‘height’ in something not a structure or union
  228. spcav4l.c:514:2: warning: statement with no effect [-Wunused-value]
  229. spcav4l.c:515:21: error: ‘VIDIOCSWIN’ undeclared (first use in this function)
  230. spcav4l.c:515:2: warning: passing argument 2 of ‘ioctl’ makes integer from pointer without a cast [enabled by default]
  231. /usr/include/arm-linux-gnueabihf/sys/ioctl.h:42:12: note: expected ‘long unsigned int’ but argument is of type ‘int *’
  232. spcav4l.c:517:13: error: request for member ‘width’ in something not a structure or union
  233. spcav4l.c:517:24: error: request for member ‘height’ in something not a structure or union
  234. spcav4l.c:517:10: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘int *’ [-Wformat]
  235. spcav4l.c:517:10: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘int *’ [-Wformat]
  236. spcav4l.c:521:8: error: request for member ‘width’ in something not a structure or union
  237. spcav4l.c:521:19: error: request for member ‘height’ in something not a structure or union
  238. spcav4l.c:521:5: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘int *’ [-Wformat]
  239. spcav4l.c:521:5: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘int *’ [-Wformat]
  240. spcav4l.c:490:21: warning: variable ‘minh’ set but not used [-Wunused-but-set-variable]
  241. spcav4l.c:490:16: warning: variable ‘maxh’ set but not used [-Wunused-but-set-variable]
  242. spcav4l.c:489:22: warning: unused variable ‘win’ [-Wunused-variable]
  243. spcav4l.c: In function ‘changeSize’:
  244. spcav4l.c:542:31: error: request for member ‘palette’ in something not a structure or union
  245. spcav4l.c:542:16: warning: assignment makes integer from pointer without a cast [enabled by default]
  246. spcav4l.c:543:28: error: request for member ‘depth’ in something not a structure or union
  247. spcav4l.c:543:13: warning: assignment makes integer from pointer without a cast [enabled by default]
  248. spcav4l.c:552:16: error: request for member ‘height’ in something not a structure or union
  249. spcav4l.c:552:7: warning: statement with no effect [-Wunused-value]
  250. spcav4l.c:553:16: error: request for member ‘width’ in something not a structure or union
  251. spcav4l.c:553:7: warning: statement with no effect [-Wunused-value]
  252. spcav4l.c:554:16: error: request for member ‘format’ in something not a structure or union
  253. spcav4l.c:554:7: warning: statement with no effect [-Wunused-value]
  254. spcav4l.c:560:26: error: ‘VIDIOCGWIN’ undeclared (first use in this function)
  255. spcav4l.c:560:7: warning: passing argument 2 of ‘ioctl’ makes integer from pointer without a cast [enabled by default]
  256. /usr/include/arm-linux-gnueabihf/sys/ioctl.h:42:12: note: expected ‘long unsigned int’ but argument is of type ‘int *’
  257. spcav4l.c:562:19: error: request for member ‘height’ in something not a structure or union
  258. spcav4l.c:562:7: warning: statement with no effect [-Wunused-value]
  259. spcav4l.c:563:19: error: request for member ‘width’ in something not a structure or union
  260. spcav4l.c:563:7: warning: statement with no effect [-Wunused-value]
  261. spcav4l.c:564:26: error: ‘VIDIOCSWIN’ undeclared (first use in this function)
  262. spcav4l.c:564:7: warning: passing argument 2 of ‘ioctl’ makes integer from pointer without a cast [enabled by default]
  263. /usr/include/arm-linux-gnueabihf/sys/ioctl.h:42:12: note: expected ‘long unsigned int’ but argument is of type ‘int *’
  264. spcav4l.c:567:20: error: request for member ‘height’ in something not a structure or union
  265. spcav4l.c:567:41: error: request for member ‘width’ in something not a structure or union
  266. spcav4l.c:567:8: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘int *’ [-Wformat]
  267. spcav4l.c:567:8: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘int *’ [-Wformat]
  268. spcav4l.c:540:7: warning: variable ‘erreur’ set but not used [-Wunused-but-set-variable]
  269. spcav4l.c: In function ‘convertpalette’:
  270. spcav4l.c:654:7: error: ‘VIDEO_PALETTE_YUV420P’ undeclared (first use in this function)
  271. spcav4l.c:657:7: error: ‘VIDEO_PALETTE_RGB24’ undeclared (first use in this function)
  272. spcav4l.c:660:7: error: ‘VIDEO_PALETTE_RGB565’ undeclared (first use in this function)
  273. spcav4l.c:663:7: error: ‘VIDEO_PALETTE_RGB32’ undeclared (first use in this function)
  274. spcav4l.c: In function ‘paletteconvert’:
  275. spcav4l.c:678:10: error: ‘VIDEO_PALETTE_YUV420P’ undeclared (first use in this function)
  276. spcav4l.c:678:3: warning: return makes integer from pointer without a cast [enabled by default]
  277. spcav4l.c:681:10: error: ‘VIDEO_PALETTE_RGB24’ undeclared (first use in this function)
  278. spcav4l.c:681:3: warning: return makes integer from pointer without a cast [enabled by default]
  279. spcav4l.c:684:10: error: ‘VIDEO_PALETTE_RGB565’ undeclared (first use in this function)
  280. spcav4l.c:684:3: warning: return makes integer from pointer without a cast [enabled by default]
  281. spcav4l.c:687:10: error: ‘VIDEO_PALETTE_RGB32’ undeclared (first use in this function)
  282. spcav4l.c:687:3: warning: return makes integer from pointer without a cast [enabled by default]
  283. spcav4l.c: In function ‘checkpalette’:
  284. spcav4l.c:731:16: error: request for member ‘height’ in something not a structure or union
  285. spcav4l.c:731:7: warning: statement with no effect [-Wunused-value]
  286. spcav4l.c:732:16: error: request for member ‘width’ in something not a structure or union
  287. spcav4l.c:732:7: warning: statement with no effect [-Wunused-value]
  288. spcav4l.c:733:16: error: request for member ‘format’ in something not a structure or union
  289. spcav4l.c:733:7: warning: statement with no effect [-Wunused-value]
  290. spcav4l.c:735:13: error: request for member ‘frame’ in something not a structure or union
  291. spcav4l.c:735:4: warning: statement with no effect [-Wunused-value]
  292. spcav4l.c:736:23: error: ‘VIDIOCMCAPTURE’ undeclared (first use in this function)
  293. spcav4l.c:736:4: warning: passing argument 2 of ‘ioctl’ makes integer from pointer without a cast [enabled by default]
  294. /usr/include/arm-linux-gnueabihf/sys/ioctl.h:42:12: note: expected ‘long unsigned int’ but argument is of type ‘int *’
  295. spcav4l.c: In function ‘GetDepth’:
  296. spcav4l.c:888:10: error: ‘VIDEO_PALETTE_RAW’ undeclared (first use in this function)
  297. spcav4l.c:893:10: error: ‘VIDEO_PALETTE_YUV420P’ undeclared (first use in this function)
  298. spcav4l.c:898:10: error: ‘VIDEO_PALETTE_RGB565’ undeclared (first use in this function)
  299. spcav4l.c:901:10: error: ‘VIDEO_PALETTE_RGB24’ undeclared (first use in this function)
  300. spcav4l.c:904:10: error: ‘VIDEO_PALETTE_RGB32’ undeclared (first use in this function)
  301. spcav4l.c: In function ‘SpcaGetBrightness’:
  302. spcav4l.c:924:27: error: request for member ‘brightness’ in something not a structure or union
  303. spcav4l.c:924:40: error: invalid operands to binary >> (have ‘int *’ and ‘int’)
  304. spcav4l.c:924:3: warning: return makes integer from pointer without a cast [enabled by default]
  305. spcav4l.c: In function ‘SpcaSetBrightness’:
  306. spcav4l.c:930:18: error: request for member ‘brightness’ in something not a structure or union
  307. spcav4l.c:930:3: warning: statement with no effect [-Wunused-value]
  308. spcav4l.c: In function ‘SpcaGetContrast’:
  309. spcav4l.c:945:27: error: request for member ‘contrast’ in something not a structure or union
  310. spcav4l.c:945:38: error: invalid operands to binary >> (have ‘int *’ and ‘int’)
  311. spcav4l.c:945:3: warning: return makes integer from pointer without a cast [enabled by default]
  312. spcav4l.c: In function ‘SpcaSetContrast’:
  313. spcav4l.c:951:18: error: request for member ‘contrast’ in something not a structure or union
  314. spcav4l.c:951:3: warning: statement with no effect [-Wunused-value]
  315. spcav4l.c: In function ‘SpcaGetColors’:
  316. spcav4l.c:965:27: error: request for member ‘colour’ in something not a structure or union
  317. spcav4l.c:965:36: error: invalid operands to binary >> (have ‘int *’ and ‘int’)
  318. spcav4l.c:965:3: warning: return makes integer from pointer without a cast [enabled by default]
  319. spcav4l.c: In function ‘SpcaSetColors’:
  320. spcav4l.c:971:18: error: request for member ‘colour’ in something not a structure or union
  321. spcav4l.c:971:3: warning: statement with no effect [-Wunused-value]
  322. spcav4l.c: In function ‘upbright’:
  323. spcav4l.c:982:26: error: request for member ‘brightness’ in something not a structure or union
  324. spcav4l.c:982:9: warning: assignment makes integer from pointer without a cast [enabled by default]
  325. spcav4l.c:985:17: error: request for member ‘brightness’ in something not a structure or union
  326. spcav4l.c:985:2: warning: statement with no effect [-Wunused-value]
  327. spcav4l.c: In function ‘downbright’:
  328. spcav4l.c:998:26: error: request for member ‘brightness’ in something not a structure or union
  329. spcav4l.c:998:9: warning: assignment makes integer from pointer without a cast [enabled by default]
  330. spcav4l.c:1001:17: error: request for member ‘brightness’ in something not a structure or union
  331. spcav4l.c:1001:2: warning: statement with no effect [-Wunused-value]
  332. spcav4l.c: In function ‘upcontrast’:
  333. spcav4l.c:1014:28: error: request for member ‘contrast’ in something not a structure or union
  334. spcav4l.c:1014:11: warning: assignment makes integer from pointer without a cast [enabled by default]
  335. spcav4l.c:1017:17: error: request for member ‘contrast’ in something not a structure or union
  336. spcav4l.c:1017:2: warning: statement with no effect [-Wunused-value]
  337. spcav4l.c: In function ‘downcontrast’:
  338. spcav4l.c:1030:28: error: request for member ‘contrast’ in something not a structure or union
  339. spcav4l.c:1030:11: warning: assignment makes integer from pointer without a cast [enabled by default]
  340. spcav4l.c:1033:17: error: request for member ‘contrast’ in something not a structure or union
  341. spcav4l.c:1033:2: warning: statement with no effect [-Wunused-value]
  342. spcav4l.c: In function ‘spcaSetAutoExpo’:
  343. spcav4l.c:1085:14: error: ‘BASE_VIDIOCPRIVATE’ undeclared (first use in this function)
  344. spcav4l.c:1085:14: error: invalid operands to binary << (have ‘int *’ and ‘int’)
  345. spcav4l.c:1085:14: error: invalid operands to binary | (have ‘unsigned int’ and ‘int *’)
  346. spcav4l.c:1085:14: error: invalid operands to binary | (have ‘int *’ and ‘unsigned int’)
  347. spcav4l.c:1085:14: warning: passing argument 2 of ‘ioctl’ makes integer from pointer without a cast [enabled by default]
  348. /usr/include/arm-linux-gnueabihf/sys/ioctl.h:42:12: note: expected ‘long unsigned int’ but argument is of type ‘int *’
  349. spcav4l.c: In function ‘spcaPrintParam’:
  350. spcav4l.c:1093:14: error: ‘BASE_VIDIOCPRIVATE’ undeclared (first use in this function)
  351. spcav4l.c:1093:14: error: invalid operands to binary << (have ‘int *’ and ‘int’)
  352. spcav4l.c:1093:14: error: invalid operands to binary | (have ‘unsigned int’ and ‘int *’)
  353. spcav4l.c:1093:14: error: invalid operands to binary | (have ‘int *’ and ‘unsigned int’)
  354. spcav4l.c:1093:14: warning: passing argument 2 of ‘ioctl’ makes integer from pointer without a cast [enabled by default]
  355. /usr/include/arm-linux-gnueabihf/sys/ioctl.h:42:12: note: expected ‘long unsigned int’ but argument is of type ‘int *’
  356. spcav4l.c: In function ‘spcaSetTimeInterval’:
  357. spcav4l.c:1105:14: error: ‘BASE_VIDIOCPRIVATE’ undeclared (first use in this function)
  358. spcav4l.c:1105:14: error: invalid operands to binary << (have ‘int *’ and ‘int’)
  359. spcav4l.c:1105:14: error: invalid operands to binary | (have ‘unsigned int’ and ‘int *’)
  360. spcav4l.c:1105:14: error: invalid operands to binary | (have ‘int *’ and ‘unsigned int’)
  361. spcav4l.c:1105:14: warning: passing argument 2 of ‘ioctl’ makes integer from pointer without a cast [enabled by default]
  362. /usr/include/arm-linux-gnueabihf/sys/ioctl.h:42:12: note: expected ‘long unsigned int’ but argument is of type ‘int *’
  363. spcav4l.c: In function ‘spcaSetQuality’:
  364. spcav4l.c:1117:14: error: ‘BASE_VIDIOCPRIVATE’ undeclared (first use in this function)
  365. spcav4l.c:1117:14: error: invalid operands to binary << (have ‘int *’ and ‘int’)
  366. spcav4l.c:1117:14: error: invalid operands to binary | (have ‘unsigned int’ and ‘int *’)
  367. spcav4l.c:1117:14: error: invalid operands to binary | (have ‘int *’ and ‘unsigned int’)
  368. spcav4l.c:1117:14: warning: passing argument 2 of ‘ioctl’ makes integer from pointer without a cast [enabled by default]
  369. /usr/include/arm-linux-gnueabihf/sys/ioctl.h:42:12: note: expected ‘long unsigned int’ but argument is of type ‘int *’
  370. Makefile:27: recipe for target 'spcav4l.lo' failed
  371. make[1]: *** [spcav4l.lo] Error 1
  372. make[1]: Leaving directory '/home/pi/mjpg/mjpg-streamer-r63/plugins/input_gspcav1'
  373. Makefile:55: recipe for target 'input_gspcav1.so' failed
  374. make: *** [input_gspcav1.so] Error 2
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement