Advertisement
Guest User

Motion Build Error

a guest
Jun 3rd, 2015
260
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 20.35 KB | None | 0 0
  1. romain@Xubuntu-64:~/motion$ ./configure --with-ffmpeg=/home/romain/ffmpeg_build
  2. checking for gcc... gcc
  3. checking whether the C compiler works... yes
  4. checking for C compiler default output file name... a.out
  5. checking for suffix of executables...
  6. checking whether we are cross compiling... no
  7. checking for suffix of object files... o
  8. checking whether we are using the GNU C compiler... yes
  9. checking whether gcc accepts -g... yes
  10. checking for gcc option to accept ISO C89... none needed
  11. checking for Darwin... no
  12. checking for *BSD... no
  13. checking for gcc... (cached) gcc
  14. checking whether we are using the GNU C compiler... (cached) yes
  15. checking whether gcc accepts -g... (cached) yes
  16. checking for gcc option to accept ISO C89... (cached) none needed
  17. checking threads... yes
  18. checking for sdl... yes
  19. checking for libjpeg-turbo... skipping
  20. checking for libjpeg-mmx... skipping
  21. checking for jpeg_set_defaults in -ljpeg... yes
  22. checking for ffmpeg libraries in -> /home/romain/ffmpeg_build <-... found
  23. checking for ffmpeg headers in /home/romain/ffmpeg_build... found /home/romain/ffmpeg_build/include/libavformat/avformat.h
  24. checking file_protocol is defined in ffmpeg ?... no
  25. checking for sqlite3_open in -lsqlite3... no
  26. checking for mysql support... testing
  27. checking autodect mysql headers... not found
  28. Invalid MySQL directory - unable to find mysql.h.
  29. checking for PostgreSQL... testing
  30. checking autodect pgsql headers... not found
  31. Invalid PostgreSQL directory - unable to find libpq-fe.h.
  32. checking how to run the C preprocessor... gcc -E
  33. checking for grep that handles long lines and -e... /bin/grep
  34. checking for egrep... /bin/grep -E
  35. checking for ANSI C header files... yes
  36. checking for sys/types.h... yes
  37. checking for sys/stat.h... yes
  38. checking for stdlib.h... yes
  39. checking for string.h... yes
  40. checking for memory.h... yes
  41. checking for strings.h... yes
  42. checking for inttypes.h... yes
  43. checking for stdint.h... yes
  44. checking for unistd.h... yes
  45. checking stdio.h usability... yes
  46. checking stdio.h presence... yes
  47. checking for stdio.h... yes
  48. checking for unistd.h... (cached) yes
  49. checking for stdint.h... (cached) yes
  50. checking fcntl.h usability... yes
  51. checking fcntl.h presence... yes
  52. checking for fcntl.h... yes
  53. checking time.h usability... yes
  54. checking time.h presence... yes
  55. checking for time.h... yes
  56. checking signal.h usability... yes
  57. checking signal.h presence... yes
  58. checking for signal.h... yes
  59. checking sys/ioctl.h usability... yes
  60. checking sys/ioctl.h presence... yes
  61. checking for sys/ioctl.h... yes
  62. checking sys/mman.h usability... yes
  63. checking sys/mman.h presence... yes
  64. checking for sys/mman.h... yes
  65. checking linux/videodev.h usability... no
  66. checking linux/videodev.h presence... no
  67. checking for linux/videodev.h... no
  68. checking linux/videodev2.h usability... yes
  69. checking linux/videodev2.h presence... yes
  70. checking for linux/videodev2.h... yes
  71. checking sys/param.h usability... yes
  72. checking sys/param.h presence... yes
  73. checking for sys/param.h... yes
  74. checking for sys/types.h... (cached) yes
  75. checking for get_current_dir_name... yes
  76. checking for struct v4l2_buffer... no
  77. checking for V42L support... no
  78. checking for V42L *old* support... testing
  79. checking for linux/videodev2.h... (cached) yes
  80. checking size of short... 2
  81. checking size of int... 4
  82. checking size of long int... 8
  83. checking size of long long... 8
  84. checking size of int *... 8
  85. checking size of void *... 8
  86. checking for an ANSI C-conforming const... yes
  87. Detected CPU: Intel(R) Xeon(R) CPU E3-1275 V2 @ 3.50GHz
  88. CPU optimization: -march=native -mtune=native
  89. checking for bswap instruction... yes
  90. checking for avformat_alloc_context... no
  91. checking for av_avformat_alloc_context... no
  92. checking for av_register_protocol2... no
  93. checking for av_register_protocol... no
  94. checking for av_get_media_type_string... yes
  95. configure: creating ./config.status
  96. config.status: creating thread1.conf
  97. config.status: creating thread2.conf
  98. config.status: creating thread3.conf
  99. config.status: creating thread4.conf
  100. config.status: creating motion-dist.conf
  101. config.status: creating motion.init-FreeBSD.sh
  102. config.status: creating motion.init-Debian
  103. config.status: creating motion.init-Fedora
  104. config.status: creating motion.spec
  105. config.status: creating Makefile
  106. config.status: creating config.h
  107.  
  108. **************************
  109. Configure status
  110. motion trunkREV561
  111. **************************
  112.  
  113. OS : Linux
  114. pthread support: Yes
  115. jpeg support: Yes
  116. V4L support: Yes
  117. V4L2 support: Yes
  118. SDL support: Yes
  119. FFmpeg support: Yes
  120. SQLite3 support: No
  121. MYSQL support: No
  122. PostgreSQL support: No
  123.  
  124. CFLAGS: -g -O2 -D_REENTRANT -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DHAVE_FFMPEG -I/home/romain/ffmpeg_build/include -DFFMPEG_NEW_INCLUDES -DHAVE_FFMPEG_NEW -DMOTION_V4L2 -DMOTION_V4L2_OLD -DTYPE_32BIT="int" -DHAVE_BSWAP -march=native -mtune=native
  125. LIBS: -lm -lpthread -L/usr/lib/x86_64-linux-gnu -lSDL -ljpeg -L/home/romain/ffmpeg_build/lib -lavformat -lavcodec -lavutil -lm -lz -lvorbis
  126. LDFLAGS: -L/home/romain/ffmpeg_build/lib
  127.  
  128. Install prefix: /usr/local
  129.  
  130. romain@Xubuntu-64:~/motion$ make
  131. Welcome to the setup procedure for Motion, the motion detection daemon! If you get
  132. error messages during this procedure, please report them to the mailing list. The
  133. Motion Guide contains all information you should need to get Motion up and running.
  134. Run "make updateguide" to download the latest version of the Motion Guide.
  135.  
  136. Version: trunkREV561
  137. Platform: Linux (if this is incorrect, please read README.FreeBSD)
  138.  
  139. Generating dependencies, please wait...
  140.  
  141. Compiling Motion object files...
  142. --------------------------------------------------------------------------------
  143. gcc -g -O2 -D_REENTRANT -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DHAVE_FFMPEG -I/home/romain/ffmpeg_build/include -DFFMPEG_NEW_INCLUDES -DHAVE_FFMPEG_NEW -DMOTION_V4L2 -DMOTION_V4L2_OLD -DTYPE_32BIT="int" -DHAVE_BSWAP -march=native -mtune=native -Wall -DVERSION=\"trunkREV561\" -Dsysconfdir=\"/usr/local/etc\" -c -o motion.o motion.c
  144. gcc -g -O2 -D_REENTRANT -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DHAVE_FFMPEG -I/home/romain/ffmpeg_build/include -DFFMPEG_NEW_INCLUDES -DHAVE_FFMPEG_NEW -DMOTION_V4L2 -DMOTION_V4L2_OLD -DTYPE_32BIT="int" -DHAVE_BSWAP -march=native -mtune=native -Wall -DVERSION=\"trunkREV561\" -Dsysconfdir=\"/usr/local/etc\" -c -o logger.o logger.c
  145. logger.c: In function ‘motion_log’:
  146. logger.c:232:2: warning: #warning "************************************" [-Wcpp]
  147. #warning "************************************"
  148. ^
  149. logger.c:233:2: warning: #warning "* Using GNU-COMPLIANT strerror_r() *" [-Wcpp]
  150. #warning "* Using GNU-COMPLIANT strerror_r() *"
  151. ^
  152. logger.c:234:2: warning: #warning "************************************" [-Wcpp]
  153. #warning "************************************"
  154. ^
  155. gcc -g -O2 -D_REENTRANT -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DHAVE_FFMPEG -I/home/romain/ffmpeg_build/include -DFFMPEG_NEW_INCLUDES -DHAVE_FFMPEG_NEW -DMOTION_V4L2 -DMOTION_V4L2_OLD -DTYPE_32BIT="int" -DHAVE_BSWAP -march=native -mtune=native -Wall -DVERSION=\"trunkREV561\" -Dsysconfdir=\"/usr/local/etc\" -c -o conf.o conf.c
  156. gcc -g -O2 -D_REENTRANT -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DHAVE_FFMPEG -I/home/romain/ffmpeg_build/include -DFFMPEG_NEW_INCLUDES -DHAVE_FFMPEG_NEW -DMOTION_V4L2 -DMOTION_V4L2_OLD -DTYPE_32BIT="int" -DHAVE_BSWAP -march=native -mtune=native -Wall -DVERSION=\"trunkREV561\" -Dsysconfdir=\"/usr/local/etc\" -c -o draw.o draw.c
  157. gcc -g -O2 -D_REENTRANT -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DHAVE_FFMPEG -I/home/romain/ffmpeg_build/include -DFFMPEG_NEW_INCLUDES -DHAVE_FFMPEG_NEW -DMOTION_V4L2 -DMOTION_V4L2_OLD -DTYPE_32BIT="int" -DHAVE_BSWAP -march=native -mtune=native -Wall -DVERSION=\"trunkREV561\" -Dsysconfdir=\"/usr/local/etc\" -c -o jpegutils.o jpegutils.c
  158. jpegutils.c: In function ‘decode_jpeg_gray_raw’:
  159. jpegutils.c:773:20: warning: variable ‘hsf’ set but not used [-Wunused-but-set-variable]
  160. int numfields, hsf[3], field, yl, yc, xsl, xsc, xs, xd, hdown;
  161. ^
  162. gcc -g -O2 -D_REENTRANT -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DHAVE_FFMPEG -I/home/romain/ffmpeg_build/include -DFFMPEG_NEW_INCLUDES -DHAVE_FFMPEG_NEW -DMOTION_V4L2 -DMOTION_V4L2_OLD -DTYPE_32BIT="int" -DHAVE_BSWAP -march=native -mtune=native -Wall -DVERSION=\"trunkREV561\" -Dsysconfdir=\"/usr/local/etc\" -c -o vloopback_motion.o vloopback_motion.c
  163. gcc -g -O2 -D_REENTRANT -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DHAVE_FFMPEG -I/home/romain/ffmpeg_build/include -DFFMPEG_NEW_INCLUDES -DHAVE_FFMPEG_NEW -DMOTION_V4L2 -DMOTION_V4L2_OLD -DTYPE_32BIT="int" -DHAVE_BSWAP -march=native -mtune=native -Wall -DVERSION=\"trunkREV561\" -Dsysconfdir=\"/usr/local/etc\" -c -o video.o video.c
  164. gcc -g -O2 -D_REENTRANT -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DHAVE_FFMPEG -I/home/romain/ffmpeg_build/include -DFFMPEG_NEW_INCLUDES -DHAVE_FFMPEG_NEW -DMOTION_V4L2 -DMOTION_V4L2_OLD -DTYPE_32BIT="int" -DHAVE_BSWAP -march=native -mtune=native -Wall -DVERSION=\"trunkREV561\" -Dsysconfdir=\"/usr/local/etc\" -c -o video2.o video2.c
  165. gcc -g -O2 -D_REENTRANT -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DHAVE_FFMPEG -I/home/romain/ffmpeg_build/include -DFFMPEG_NEW_INCLUDES -DHAVE_FFMPEG_NEW -DMOTION_V4L2 -DMOTION_V4L2_OLD -DTYPE_32BIT="int" -DHAVE_BSWAP -march=native -mtune=native -Wall -DVERSION=\"trunkREV561\" -Dsysconfdir=\"/usr/local/etc\" -c -o video_common.o video_common.c
  166. gcc -g -O2 -D_REENTRANT -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DHAVE_FFMPEG -I/home/romain/ffmpeg_build/include -DFFMPEG_NEW_INCLUDES -DHAVE_FFMPEG_NEW -DMOTION_V4L2 -DMOTION_V4L2_OLD -DTYPE_32BIT="int" -DHAVE_BSWAP -march=native -mtune=native -Wall -DVERSION=\"trunkREV561\" -Dsysconfdir=\"/usr/local/etc\" -c -o netcam.o netcam.c
  167. gcc -g -O2 -D_REENTRANT -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DHAVE_FFMPEG -I/home/romain/ffmpeg_build/include -DFFMPEG_NEW_INCLUDES -DHAVE_FFMPEG_NEW -DMOTION_V4L2 -DMOTION_V4L2_OLD -DTYPE_32BIT="int" -DHAVE_BSWAP -march=native -mtune=native -Wall -DVERSION=\"trunkREV561\" -Dsysconfdir=\"/usr/local/etc\" -c -o netcam_ftp.o netcam_ftp.c
  168. netcam_ftp.c: In function ‘ftp_send_type’:
  169. netcam_ftp.c:793:20: warning: variable ‘utype’ set but not used [-Wunused-but-set-variable]
  170. char buf[100], utype;
  171. ^
  172. gcc -g -O2 -D_REENTRANT -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DHAVE_FFMPEG -I/home/romain/ffmpeg_build/include -DFFMPEG_NEW_INCLUDES -DHAVE_FFMPEG_NEW -DMOTION_V4L2 -DMOTION_V4L2_OLD -DTYPE_32BIT="int" -DHAVE_BSWAP -march=native -mtune=native -Wall -DVERSION=\"trunkREV561\" -Dsysconfdir=\"/usr/local/etc\" -c -o netcam_jpeg.o netcam_jpeg.c
  173. gcc -g -O2 -D_REENTRANT -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DHAVE_FFMPEG -I/home/romain/ffmpeg_build/include -DFFMPEG_NEW_INCLUDES -DHAVE_FFMPEG_NEW -DMOTION_V4L2 -DMOTION_V4L2_OLD -DTYPE_32BIT="int" -DHAVE_BSWAP -march=native -mtune=native -Wall -DVERSION=\"trunkREV561\" -Dsysconfdir=\"/usr/local/etc\" -c -o netcam_wget.o netcam_wget.c
  174. gcc -g -O2 -D_REENTRANT -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DHAVE_FFMPEG -I/home/romain/ffmpeg_build/include -DFFMPEG_NEW_INCLUDES -DHAVE_FFMPEG_NEW -DMOTION_V4L2 -DMOTION_V4L2_OLD -DTYPE_32BIT="int" -DHAVE_BSWAP -march=native -mtune=native -Wall -DVERSION=\"trunkREV561\" -Dsysconfdir=\"/usr/local/etc\" -c -o track.o track.c
  175. track.c: In function ‘servo_center’:
  176. track.c:566:18: warning: variable ‘ret’ set but not used [-Wunused-but-set-variable]
  177. unsigned int ret = 0;
  178. ^
  179. gcc -g -O2 -D_REENTRANT -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DHAVE_FFMPEG -I/home/romain/ffmpeg_build/include -DFFMPEG_NEW_INCLUDES -DHAVE_FFMPEG_NEW -DMOTION_V4L2 -DMOTION_V4L2_OLD -DTYPE_32BIT="int" -DHAVE_BSWAP -march=native -mtune=native -Wall -DVERSION=\"trunkREV561\" -Dsysconfdir=\"/usr/local/etc\" -c -o alg.o alg.c
  180. gcc -g -O2 -D_REENTRANT -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DHAVE_FFMPEG -I/home/romain/ffmpeg_build/include -DFFMPEG_NEW_INCLUDES -DHAVE_FFMPEG_NEW -DMOTION_V4L2 -DMOTION_V4L2_OLD -DTYPE_32BIT="int" -DHAVE_BSWAP -march=native -mtune=native -Wall -DVERSION=\"trunkREV561\" -Dsysconfdir=\"/usr/local/etc\" -c -o event.o event.c
  181. gcc -g -O2 -D_REENTRANT -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DHAVE_FFMPEG -I/home/romain/ffmpeg_build/include -DFFMPEG_NEW_INCLUDES -DHAVE_FFMPEG_NEW -DMOTION_V4L2 -DMOTION_V4L2_OLD -DTYPE_32BIT="int" -DHAVE_BSWAP -march=native -mtune=native -Wall -DVERSION=\"trunkREV561\" -Dsysconfdir=\"/usr/local/etc\" -c -o picture.o picture.c
  182. picture.c: In function ‘put_ppm_bgr24_file’:
  183. picture.c:682:9: warning: variable ‘warningkiller’ set but not used [-Wunused-but-set-variable]
  184. int warningkiller;
  185. ^
  186. gcc -g -O2 -D_REENTRANT -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DHAVE_FFMPEG -I/home/romain/ffmpeg_build/include -DFFMPEG_NEW_INCLUDES -DHAVE_FFMPEG_NEW -DMOTION_V4L2 -DMOTION_V4L2_OLD -DTYPE_32BIT="int" -DHAVE_BSWAP -march=native -mtune=native -Wall -DVERSION=\"trunkREV561\" -Dsysconfdir=\"/usr/local/etc\" -c -o rotate.o rotate.c
  187. gcc -g -O2 -D_REENTRANT -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DHAVE_FFMPEG -I/home/romain/ffmpeg_build/include -DFFMPEG_NEW_INCLUDES -DHAVE_FFMPEG_NEW -DMOTION_V4L2 -DMOTION_V4L2_OLD -DTYPE_32BIT="int" -DHAVE_BSWAP -march=native -mtune=native -Wall -DVERSION=\"trunkREV561\" -Dsysconfdir=\"/usr/local/etc\" -c -o webhttpd.o webhttpd.c
  188. webhttpd.c: In function ‘send_template_raw’:
  189. webhttpd.c:282:13: warning: variable ‘nwrite’ set but not used [-Wunused-but-set-variable]
  190. ssize_t nwrite = 0;
  191. ^
  192. webhttpd.c: In function ‘send_template_end_client’:
  193. webhttpd.c:291:13: warning: variable ‘nwrite’ set but not used [-Wunused-but-set-variable]
  194. ssize_t nwrite = 0;
  195. ^
  196. webhttpd.c: In function ‘response_client’:
  197. webhttpd.c:300:13: warning: variable ‘nwrite’ set but not used [-Wunused-but-set-variable]
  198. ssize_t nwrite = 0;
  199. ^
  200. gcc -g -O2 -D_REENTRANT -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DHAVE_FFMPEG -I/home/romain/ffmpeg_build/include -DFFMPEG_NEW_INCLUDES -DHAVE_FFMPEG_NEW -DMOTION_V4L2 -DMOTION_V4L2_OLD -DTYPE_32BIT="int" -DHAVE_BSWAP -march=native -mtune=native -Wall -DVERSION=\"trunkREV561\" -Dsysconfdir=\"/usr/local/etc\" -c -o stream.o stream.c
  201. stream.c: In function ‘handle_md5_digest’:
  202. stream.c:572:14: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
  203. write(p->sock, buffer, strlen(buffer));
  204. ^
  205. stream.c:573:14: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
  206. write(p->sock, auth_failed_html_template, strlen(auth_failed_html_template));
  207. ^
  208. stream.c:610:10: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
  209. write(p->sock, internal_error_template, strlen(internal_error_template));
  210. ^
  211. stream.c: In function ‘handle_basic_auth’:
  212. stream.c:245:10: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
  213. write(p->sock, request_auth_response_template, strlen (request_auth_response_template));
  214. ^
  215. gcc -g -O2 -D_REENTRANT -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DHAVE_FFMPEG -I/home/romain/ffmpeg_build/include -DFFMPEG_NEW_INCLUDES -DHAVE_FFMPEG_NEW -DMOTION_V4L2 -DMOTION_V4L2_OLD -DTYPE_32BIT="int" -DHAVE_BSWAP -march=native -mtune=native -Wall -DVERSION=\"trunkREV561\" -Dsysconfdir=\"/usr/local/etc\" -c -o md5.o md5.c
  216. gcc -g -O2 -D_REENTRANT -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DHAVE_FFMPEG -I/home/romain/ffmpeg_build/include -DFFMPEG_NEW_INCLUDES -DHAVE_FFMPEG_NEW -DMOTION_V4L2 -DMOTION_V4L2_OLD -DTYPE_32BIT="int" -DHAVE_BSWAP -march=native -mtune=native -Wall -DVERSION=\"trunkREV561\" -Dsysconfdir=\"/usr/local/etc\" -c -o ffmpeg.o ffmpeg.c
  217. ffmpeg.c:27:10: warning: #warning ************************************************** [-Wcpp]
  218. # warning **************************************************
  219. ^
  220. ffmpeg.c:28:10: warning: #warning Your version of FFmpeg is newer than version 0.4.8 [-Wcpp]
  221. # warning Your version of FFmpeg is newer than version 0.4.8
  222. ^
  223. ffmpeg.c:29:10: warning: #warning Newer versions of ffmpeg do not support MPEG1 with [-Wcpp]
  224. # warning Newer versions of ffmpeg do not support MPEG1 with
  225. ^
  226. ffmpeg.c:30:10: warning: #warning non-standard framerate. MPEG1 will be disabled for [-Wcpp]
  227. # warning non-standard framerate. MPEG1 will be disabled for
  228. ^
  229. ffmpeg.c:31:10: warning: #warning normal video output. You can still use mpeg4 and [-Wcpp]
  230. # warning normal video output. You can still use mpeg4 and
  231. ^
  232. ffmpeg.c:32:10: warning: #warning and mpeg4ms which are both better in terms of size [-Wcpp]
  233. # warning and mpeg4ms which are both better in terms of size
  234. ^
  235. ffmpeg.c:33:10: warning: #warning and quality. MPEG1 is always used for timelapse. [-Wcpp]
  236. # warning and quality. MPEG1 is always used for timelapse.
  237. ^
  238. ffmpeg.c:34:10: warning: #warning Please read the Motion Guide for more information. [-Wcpp]
  239. # warning Please read the Motion Guide for more information.
  240. ^
  241. ffmpeg.c:35:10: warning: #warning Note that this is not an error message! [-Wcpp]
  242. # warning Note that this is not an error message!
  243. ^
  244. ffmpeg.c:36:10: warning: #warning ************************************************** [-Wcpp]
  245. # warning **************************************************
  246. ^
  247. ffmpeg.c: In function ‘ffmpeg_open’:
  248. ffmpeg.c:635:5: warning: ‘avcodec_alloc_frame’ is deprecated (declared at /home/romain/ffmpeg_build/include/libavcodec/avcodec.h:3622) [-Wdeprecated-declarations]
  249. ffmpeg->picture = avcodec_alloc_frame();
  250. ^
  251. ffmpeg.c: In function ‘ffmpeg_prepare_frame’:
  252. ffmpeg.c:952:5: warning: ‘avcodec_alloc_frame’ is deprecated (declared at /home/romain/ffmpeg_build/include/libavcodec/avcodec.h:3622) [-Wdeprecated-declarations]
  253. picture = avcodec_alloc_frame();
  254. ^
  255. ffmpeg.c: In function ‘ffmpeg_deinterlace’:
  256. ffmpeg.c:1001:5: warning: ‘avpicture_deinterlace’ is deprecated (declared at /home/romain/ffmpeg_build/include/libavcodec/avcodec.h:4834) [-Wdeprecated-declarations]
  257. avpicture_deinterlace(&picture, &picture, PIX_FMT_YUV420P, width, height);
  258. ^
  259. gcc -g -O2 -D_REENTRANT -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DHAVE_FFMPEG -I/home/romain/ffmpeg_build/include -DFFMPEG_NEW_INCLUDES -DHAVE_FFMPEG_NEW -DMOTION_V4L2 -DMOTION_V4L2_OLD -DTYPE_32BIT="int" -DHAVE_BSWAP -march=native -mtune=native -Wall -DVERSION=\"trunkREV561\" -Dsysconfdir=\"/usr/local/etc\" -c -o sdl.o sdl.c
  260. gcc -g -O2 -D_REENTRANT -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DHAVE_FFMPEG -I/home/romain/ffmpeg_build/include -DFFMPEG_NEW_INCLUDES -DHAVE_FFMPEG_NEW -DMOTION_V4L2 -DMOTION_V4L2_OLD -DTYPE_32BIT="int" -DHAVE_BSWAP -march=native -mtune=native -Wall -DVERSION=\"trunkREV561\" -Dsysconfdir=\"/usr/local/etc\" -c -o netcam_rtsp.o netcam_rtsp.c
  261. netcam_rtsp.c: In function ‘netcam_read_rtsp_image’:
  262. netcam_rtsp.c:236:3: warning: ‘avcodec_alloc_frame’ is deprecated (declared at /home/romain/ffmpeg_build/include/libavcodec/avcodec.h:3622) [-Wdeprecated-declarations]
  263. AVFrame *frame = avcodec_alloc_frame();
  264. ^
  265. --------------------------------------------------------------------------------
  266. Motion object files compiled.
  267.  
  268. Linking Motion...
  269. --------------------------------------------------------------------------------
  270. gcc -L/home/romain/ffmpeg_build/lib -o motion motion.o logger.o conf.o draw.o jpegutils.o vloopback_motion.o video.o video2.o video_common.o netcam.o netcam_ftp.o netcam_jpeg.o netcam_wget.o track.o alg.o event.o picture.o rotate.o webhttpd.o stream.o md5.o ffmpeg.o sdl.o netcam_rtsp.o -lm -lpthread -L/usr/lib/x86_64-linux-gnu -lSDL -ljpeg -L/home/romain/ffmpeg_build/lib -lavformat -lavcodec -lavutil -lm -lz -lvorbis
  271. /usr/bin/ld: /home/romain/ffmpeg_build/lib/libavcodec.a(libvorbisenc.o): référence au symbole non défini «vorbis_encode_setup_vbr»
  272. //usr/lib/x86_64-linux-gnu/libvorbisenc.so.2: error adding symbols: DSO missing from command line
  273. collect2: error: ld returned 1 exit status
  274. make: *** [motion] Erreur 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement