Advertisement
timcowchip

xorg-xf86-video-v4l

Jan 28th, 2017
137
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 11.98 KB | None | 0 0
  1. timcowchip> sudo prt-get depinst xorg-xf86-video-v4l
  2. prt-get: installing /usr/ports/xorg/xorg-xf86-video-v4l
  3. =======> Downloading 'http://xorg.freedesktop.org/releases/individual/driver/xf86-video-v4l-0.2.0.tar.bz2'.
  4. --2017-01-28 11:47:45-- http://xorg.freedesktop.org/releases/individual/driver/xf86-video-v4l-0.2.0.tar.bz2
  5. Resolving xorg.freedesktop.org... 131.252.210.176, 2610:10:20:722:a800:ff:feda:470f
  6. Connecting to xorg.freedesktop.org|131.252.210.176|:80... connected.
  7. HTTP request sent, awaiting response... 301 Moved Permanently
  8. Location: https://www.x.org/releases/individual/driver/xf86-video-v4l-0.2.0.tar.bz2 [following]
  9. --2017-01-28 11:47:46-- https://www.x.org/releases/individual/driver/xf86-video-v4l-0.2.0.tar.bz2
  10. Resolving www.x.org... 131.252.210.176, 2610:10:20:722:a800:ff:feda:470f
  11. Connecting to www.x.org|131.252.210.176|:443... connected.
  12. HTTP request sent, awaiting response... 200 OK
  13. Length: 244063 (238K) [application/x-bzip2]
  14. Saving to: '/usr/ports/xorg/xorg-xf86-video-v4l/xf86-video-v4l-0.2.0.tar.bz2.partial'
  15.  
  16. xf86-video-v4l-0.2.0.tar 100%[==================================>] 238.34K 1.13MB/s in 0.2s
  17.  
  18. 2017-01-28 11:47:47 (1.13 MB/s) - '/usr/ports/xorg/xorg-xf86-video-v4l/xf86-video-v4l-0.2.0.tar.bz2.partial' saved [244063/244063]
  19.  
  20. =======> Building '/usr/ports/xorg/xorg-xf86-video-v4l/xorg-xf86-video-v4l#0.2.0-1.pkg.tar.gz'.
  21. bsdtar -p -o -C /usr/ports/xorg/xorg-xf86-video-v4l/work/src -xf /usr/ports/xorg/xorg-xf86-video-v4l/xf86-video-v4l-0.2.0.tar.bz2
  22. + build
  23. + cd xf86-video-v4l-0.2.0
  24. + ./configure --prefix=/usr --mandir=/usr/man
  25. checking for a BSD-compatible install... /usr/bin/install -c
  26. checking whether build environment is sane... yes
  27. checking for a thread-safe mkdir -p... /bin/mkdir -p
  28. checking for gawk... gawk
  29. checking whether make sets $(MAKE)... yes
  30. checking whether to enable maintainer-specific portions of Makefiles... no
  31. checking build system type... x86_64-unknown-linux-gnu
  32. checking host system type... x86_64-unknown-linux-gnu
  33. checking for style of include used by make... GNU
  34. checking for gcc... gcc
  35. checking for C compiler default output file name... a.out
  36. checking whether the C compiler works... yes
  37. checking whether we are cross compiling... no
  38. checking for suffix of executables...
  39. checking for suffix of object files... o
  40. checking whether we are using the GNU C compiler... yes
  41. checking whether gcc accepts -g... yes
  42. checking for gcc option to accept ISO C89... none needed
  43. checking dependency style of gcc... gcc3
  44. checking for a sed that does not truncate output... /bin/sed
  45. checking for grep that handles long lines and -e... /usr/bin/grep
  46. checking for egrep... /usr/bin/grep -E
  47. checking for ld used by gcc... /usr/bin/ld
  48. checking if the linker (/usr/bin/ld) is GNU ld... yes
  49. checking for /usr/bin/ld option to reload object files... -r
  50. checking for BSD-compatible nm... /usr/bin/nm -B
  51. checking whether ln -s works... yes
  52. checking how to recognize dependent libraries... pass_all
  53. checking how to run the C preprocessor... gcc -E
  54. checking for ANSI C header files... yes
  55. checking for sys/types.h... yes
  56. checking for sys/stat.h... yes
  57. checking for stdlib.h... yes
  58. checking for string.h... yes
  59. checking for memory.h... yes
  60. checking for strings.h... yes
  61. checking for inttypes.h... yes
  62. checking for stdint.h... yes
  63. checking for unistd.h... yes
  64. checking dlfcn.h usability... yes
  65. checking dlfcn.h presence... yes
  66. checking for dlfcn.h... yes
  67. checking for g++... g++
  68. checking whether we are using the GNU C++ compiler... yes
  69. checking whether g++ accepts -g... yes
  70. checking dependency style of g++... gcc3
  71. checking how to run the C++ preprocessor... g++ -E
  72. checking for g77... no
  73. checking for xlf... no
  74. checking for f77... no
  75. checking for frt... no
  76. checking for pgf77... no
  77. checking for cf77... no
  78. checking for fort77... no
  79. checking for fl32... no
  80. checking for af77... no
  81. checking for xlf90... no
  82. checking for f90... no
  83. checking for pgf90... no
  84. checking for pghpf... no
  85. checking for epcf90... no
  86. checking for gfortran... no
  87. checking for g95... no
  88. checking for xlf95... no
  89. checking for f95... no
  90. checking for fort... no
  91. checking for ifort... no
  92. checking for ifc... no
  93. checking for efc... no
  94. checking for pgf95... no
  95. checking for lf95... no
  96. checking for ftn... no
  97. checking whether we are using the GNU Fortran 77 compiler... no
  98. checking whether accepts -g... no
  99. checking the maximum length of command line arguments... 1572864
  100. checking command to parse /usr/bin/nm -B output from gcc object... ok
  101. checking for objdir... .libs
  102. checking for ar... ar
  103. checking for ranlib... ranlib
  104. checking for strip... strip
  105. checking if gcc supports -fno-rtti -fno-exceptions... no
  106. checking for gcc option to produce PIC... -fPIC
  107. checking if gcc PIC flag -fPIC works... yes
  108. checking if gcc static flag -static works... yes
  109. checking if gcc supports -c -o file.o... yes
  110. checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
  111. checking whether -lc should be explicitly linked in... no
  112. checking dynamic linker characteristics... GNU/Linux ld.so
  113. checking how to hardcode library paths into programs... immediate
  114. checking whether stripping libraries is possible... yes
  115. checking if libtool supports shared libraries... yes
  116. checking whether to build shared libraries... yes
  117. checking whether to build static libraries... no
  118. configure: creating libtool
  119. appending configuration tag "CXX" to libtool
  120. checking for ld used by g++... /usr/bin/ld -m elf_x86_64
  121. checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes
  122. checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
  123. checking for g++ option to produce PIC... -fPIC
  124. checking if g++ PIC flag -fPIC works... yes
  125. checking if g++ static flag -static works... yes
  126. checking if g++ supports -c -o file.o... yes
  127. checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
  128. checking dynamic linker characteristics... GNU/Linux ld.so
  129. checking how to hardcode library paths into programs... immediate
  130. appending configuration tag "F77" to libtool
  131. checking for gcc... (cached) gcc
  132. checking whether we are using the GNU C compiler... (cached) yes
  133. checking whether gcc accepts -g... (cached) yes
  134. checking for gcc option to accept ISO C89... (cached) none needed
  135. checking dependency style of gcc... (cached) gcc3
  136. checking if RANDR is defined... yes
  137. checking if XV is defined... yes
  138. checking for pkg-config... /usr/bin/pkg-config
  139. checking pkg-config is at least version 0.9.0... yes
  140. checking for XORG... yes
  141. checking for ANSI C header files... (cached) yes
  142. configure: creating ./config.status
  143. config.status: creating Makefile
  144. config.status: creating src/Makefile
  145. config.status: creating man/Makefile
  146. config.status: creating config.h
  147. config.status: executing depfiles commands
  148. + make
  149. make all-recursive
  150. make[1]: Entering directory '/usr/ports/xorg/xorg-xf86-video-v4l/work/src/xf86-video-v4l-0.2.0'
  151. Making all in src
  152. make[2]: Entering directory '/usr/ports/xorg/xorg-xf86-video-v4l/work/src/xf86-video-v4l-0.2.0/src'
  153. /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/xorg -fvisibility=hidden -I/usr/include/pixman-1 -I/usr/include/X11/dri -I/usr/include/libdrm -O2 -march=x86-64 -pipe -MT v4l.lo -MD -MP -MF .deps/v4l.Tpo -c -o v4l.lo v4l.c
  154. mkdir .libs
  155. gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/xorg -fvisibility=hidden -I/usr/include/pixman-1 -I/usr/include/X11/dri -I/usr/include/libdrm -O2 -march=x86-64 -pipe -MT v4l.lo -MD -MP -MF .deps/v4l.Tpo -c v4l.c -fPIC -DPIC -o .libs/v4l.o
  156. In file included from v4l.c:21:0:
  157. /usr/include/xorg/xf86PciInfo.h:50:2: warning: #warning "xf86PciInfo.h is deprecated. For greater compatibility, drivers should include necessary PCI IDs locally rather than relying on this file from xorg-server." [-Wcpp]
  158. #warning "xf86PciInfo.h is deprecated. For greater compatibility, drivers should include necessary PCI IDs locally rather than relying on this file from xorg-server."
  159. ^~~~~~~
  160. v4l.c: In function 'V4lCloseDevice':
  161. v4l.c:272:2: warning: implicit declaration of function 'close' [-Wimplicit-function-declaration]
  162. close(V4L_FD);
  163. ^~~~~
  164. v4l.c: In function 'V4lPutVideo':
  165. v4l.c:313:3: warning: implicit declaration of function 'xfree' [-Wimplicit-function-declaration]
  166. xfree(pPPriv->surface);
  167. ^~~~~
  168. v4l.c:321:37: warning: implicit declaration of function 'xalloc' [-Wimplicit-function-declaration]
  169. if (NULL == (pPPriv->surface = xalloc(sizeof(XF86SurfaceRec))))
  170. ^~~~~~
  171. v4l.c:321:35: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
  172. if (NULL == (pPPriv->surface = xalloc(sizeof(XF86SurfaceRec))))
  173. ^
  174. v4l.c:346:12: warning: implicit declaration of function 'ioctl' [-Wimplicit-function-declaration]
  175. if (-1 == ioctl(V4L_FD,VIDIOCSFBUF,&(pPPriv->yuv_fbuf)))
  176. ^~~~~
  177. v4l.c:359:35: error: 'VIDEO_INVERT_CLIPLIST' undeclared (first use in this function)
  178. if (0 == (pPPriv->myfmt->flags & VIDEO_INVERT_CLIPLIST)) {
  179. ^~~~~~~~~~~~~~~~~~~~~
  180. v4l.c:359:35: note: each undeclared identifier is reported only once for each function it appears in
  181. v4l.c:440:24: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
  182. pPPriv->rgb_win.clips = xalloc(pPPriv->rgb_win.clipcount*sizeof(struct video_clip));
  183. ^
  184. v4l.c: In function 'v4l_add_enc':
  185. v4l.c:718:19: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
  186. enc[i].name = xalloc(strlen(norm)+strlen(input)+2);
  187. ^
  188. v4l.c:725:13: warning: passing argument 1 of 'sprintf' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
  189. sprintf(enc[i].name,"%s-%s",norm,fixname(input));
  190. ^~~
  191. In file included from v4l.c:15:0:
  192. /usr/include/stdio.h:366:12: note: expected 'char * restrict' but argument is of type 'const char *'
  193. extern int sprintf (char *__restrict __s,
  194. ^~~~~~~
  195. v4l.c: In function 'V4LBuildEncodings':
  196. v4l.c:741:12: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
  197. p->enc = xalloc(sizeof(XF86VideoEncodingRec) * entries);
  198. ^
  199. v4l.c:745:13: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
  200. p->norm = xalloc(sizeof(int) * entries);
  201. ^
  202. v4l.c:749:14: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
  203. p->input = xalloc(sizeof(int) * entries);
  204. ^
  205. v4l.c: In function 'v4l_add_attr':
  206. v4l.c:842:11: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
  207. *list = xalloc((*count + 1) * sizeof(XF86AttributeRec));
  208. ^
  209. v4l.c: In function 'V4LInit':
  210. v4l.c:921:9: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
  211. pPPriv = xalloc(sizeof(PortPrivRec));
  212. ^
  213. v4l.c:942:8: warning: implicit declaration of function 'xrealloc' [-Wimplicit-function-declaration]
  214. VAR = xrealloc(VAR,sizeof(XF86VideoAdaptorPtr)*(i+1));
  215. ^~~~~~~~
  216. v4l.c:942:6: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
  217. VAR = xrealloc(VAR,sizeof(XF86VideoAdaptorPtr)*(i+1));
  218. ^
  219. v4l.c:943:9: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
  220. VAR[i] = xalloc(sizeof(XF86VideoAdaptorRec));
  221. ^
  222. v4l.c:979:10: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
  223. Private = xalloc(sizeof(DevUnion));
  224. ^
  225. v4l.c:990:18: error: 'VIDEO_INVERT_CLIPLIST' undeclared (first use in this function)
  226. VAR[i]->flags = VIDEO_INVERT_CLIPLIST;
  227. ^~~~~~~~~~~~~~~~~~~~~
  228. make[2]: *** [Makefile:320: v4l.lo] Error 1
  229. make[2]: Leaving directory '/usr/ports/xorg/xorg-xf86-video-v4l/work/src/xf86-video-v4l-0.2.0/src'
  230. make[1]: *** [Makefile:291: all-recursive] Error 1
  231. make[1]: Leaving directory '/usr/ports/xorg/xorg-xf86-video-v4l/work/src/xf86-video-v4l-0.2.0'
  232. make: *** [Makefile:221: all] Error 2
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement