"vo" stands for video output. In this case libvo/vo_vdpau.
I haven't built mplayer on a machine where vdpau was supported by my
compiled xorg driver. I actually don't even know what kind of support
NetBSD itself has for vdpau.
Is this build for gmplayer altered from the original pkgsrc
configuration?
On Thu, Oct 19, 2017 at 02:17:43PM +0800, Paul Goyette wrote:
> On Thu, 19 Oct 2017, Paul Goyette wrote:
>
> > With pkgsrc updated to just a few short hours ago, I'm trying to build
> > gmplayer but it fails. The error messages (along with the rest of the
> > log file from the build) is attached. My untrained eye notices that it
> > might be looking for libvo objects, but failing to find them.
> >
> > The only dependency I see for anything related to libvo is for
> > libvorbis, but that package is definitely already installed.
> >
> > Any clues?
>
> Looks like the original message may be being delayed for list-owner approval
> (due to its size, a bit over 200kb).
>
> Below is the last bit of the log file, hopefully it will be enough to get a
> clue...
>
> gcc -MMD -MP -Wundef -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -D_ISOC99_SOURCE -I. -O2 -I/usr/pkg/include/cdparanoia -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/faad2 -I/usr/X11R7/include -I/usr/pkg/include/SDL2 -I/usr/X11R7/include/libdrm -I/usr/X11R7/include/freetype2 -I/usr/pkg/include/ffmpeg3 -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/faad2 -I/usr/X11R7/include -I/usr/pkg/include/SDL2 -I/usr/X11R7/include/libdrm -I/usr/X11R7/include/freetype2 -I/usr/pkg/include/ffmpeg3 -fpie -DPIC -D_THREAD_SAFE -I/usr/X11R7/include -I/usr/pkg/include -I/usr/pkg/include -D_REENTRANT -I/usr/pkg/include -I/usr/X11R7/include/freetype2 -DZLIB_CONST -I/usr/pkg/include/ffmpeg3 -I/usr/pkg/include/ffmpeg3 -I/usr/pkg/include/gtk-2.0 -I/usr/pkg/lib/gtk-2.0/include -I/usr/pkg/include/pango-1.0 -I/usr/pkg/include/glib/glib-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/pkg/include -I/usr/pkg/include/cairo -I/usr/X11R7/include/pixman-1 -I/usr/X11R7/include -I/usr/X11R7/include/freetype2 -I/usr/pkg/include/libpng16 -I/usr/pkg/include/harfbuzz -I/usr/pkg/include/glib/gio-unix-2.0/ -D_REENTRANT -I/usr/pkg/include/gdk-pixbuf-2.0 -D_REENTRANT -I/usr/pkg/include/atk-1.0 -D_REENTRANT -pthread -pthread -I/usr/pkg/include -c -o libvo/vo_xover.o libvo/vo_xover.c
> gcc -MMD -MP -Wundef -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -D_ISOC99_SOURCE -I. -O2 -I/usr/pkg/include/cdparanoia -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/faad2 -I/usr/X11R7/include -I/usr/pkg/include/SDL2 -I/usr/X11R7/include/libdrm -I/usr/X11R7/include/freetype2 -I/usr/pkg/include/ffmpeg3 -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/faad2 -I/usr/X11R7/include -I/usr/pkg/include/SDL2 -I/usr/X11R7/include/libdrm -I/usr/X11R7/include/freetype2 -I/usr/pkg/include/ffmpeg3 -fpie -DPIC -D_THREAD_SAFE -I/usr/X11R7/include -I/usr/pkg/include -I/usr/pkg/include -D_REENTRANT -I/usr/pkg/include -I/usr/X11R7/include/freetype2 -DZLIB_CONST -I/usr/pkg/include/ffmpeg3 -I/usr/pkg/include/ffmpeg3 -I/usr/pkg/include/gtk-2.0 -I/usr/pkg/lib/gtk-2.0/include -I/usr/pkg/include/pango-1.0 -I/usr/pkg/include/glib/glib-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/pkg/include -I/usr/pkg/include/cairo -I/usr/X11R7/include/pixman-1 -I/usr/X11R7/include -I/usr/X11R7/include/freetype2 -I/usr/pkg/include/libpng16 -I/usr/pkg/include/harfbuzz -I/usr/pkg/include/glib/gio-unix-2.0/ -D_REENTRANT -I/usr/pkg/include/gdk-pixbuf-2.0 -D_REENTRANT -I/usr/pkg/include/atk-1.0 -D_REENTRANT -pthread -pthread -I/usr/pkg/include -c -o libvo/vo_xv.o libvo/vo_xv.c
> gcc -MMD -MP -Wundef -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -D_ISOC99_SOURCE -I. -O2 -I/usr/pkg/include/cdparanoia -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/faad2 -I/usr/X11R7/include -I/usr/pkg/include/SDL2 -I/usr/X11R7/include/libdrm -I/usr/X11R7/include/freetype2 -I/usr/pkg/include/ffmpeg3 -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/faad2 -I/usr/X11R7/include -I/usr/pkg/include/SDL2 -I/usr/X11R7/include/libdrm -I/usr/X11R7/include/freetype2 -I/usr/pkg/include/ffmpeg3 -fpie -DPIC -D_THREAD_SAFE -I/usr/X11R7/include -I/usr/pkg/include -I/usr/pkg/include -D_REENTRANT -I/usr/pkg/include -I/usr/X11R7/include/freetype2 -DZLIB_CONST -I/usr/pkg/include/ffmpeg3 -I/usr/pkg/include/ffmpeg3 -I/usr/pkg/include/gtk-2.0 -I/usr/pkg/lib/gtk-2.0/include -I/usr/pkg/include/pango-1.0 -I/usr/pkg/include/glib/glib-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/pkg/include -I/usr/pkg/include/cairo -I/usr/X11R7/include/pixman-1 -I/usr/X11R7/include -I/usr/X11R7/include/freetype2 -I/usr/pkg/include/libpng16 -I/usr/pkg/include/harfbuzz -I/usr/pkg/include/glib/gio-unix-2.0/ -D_REENTRANT -I/usr/pkg/include/gdk-pixbuf-2.0 -D_REENTRANT -I/usr/pkg/include/atk-1.0 -D_REENTRANT -pthread -pthread -I/usr/pkg/include -c -o libvo/vo_xvmc.o libvo/vo_xvmc.c
> libvo/vo_vdpau.c:131:8: error: unknown type name 'VdpPresentationQueueTargetCreateX11'
> static VdpPresentationQueueTargetCreateX11 *vdp_presentation_queue_target_create_x11;
> ^
> libvo/vo_vdpau.c: In function 'win_x11_init_vdpau_procs':
> libvo/vo_vdpau.c:394:10: error: 'VDP_FUNC_ID_PRESENTATION_QUEUE_TARGET_CREATE_X11' undeclared (first use in this function)
> {VDP_FUNC_ID_PRESENTATION_QUEUE_TARGET_CREATE_X11,
> ^
> libvo/vo_vdpau.c:394:10: note: each undeclared identifier is reported only once for each function it appears in
> libvo/vo_vdpau.c:419:14: warning: implicit declaration of function 'vdp_device_create_x11' [-Wimplicit-function-declaration]
> vdp_st = vdp_device_create_x11(mDisplay, mScreen,
> ^
> libvo/vo_vdpau.c: In function 'win_x11_init_vdpau_flip_queue':
> libvo/vo_vdpau.c:449:14: error: called object 'vdp_presentation_queue_target_create_x11' is not a function or function pointer
> vdp_st = vdp_presentation_queue_target_create_x11(vdp_device, vo_window,
> ^
> libvo/vo_vdpau.c:131:51: note: declared here
> static VdpPresentationQueueTargetCreateX11 *vdp_presentation_queue_target_create_x11;
> ^
> libvo/vo_vdpau.c:449:12: error: incompatible types when assigning to type 'VdpStatus {aka enum <anonymous>}' from type 'const struct vdp_function *'
> vdp_st = vdp_presentation_queue_target_create_x11(vdp_device, vo_window,
> ^
> gcc -MMD -MP -Wundef -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -D_ISOC99_SOURCE -I. -O2 -I/usr/pkg/include/cdparanoia -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/faad2 -I/usr/X11R7/include -I/usr/pkg/include/SDL2 -I/usr/X11R7/include/libdrm -I/usr/X11R7/include/freetype2 -I/usr/pkg/include/ffmpeg3 -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/faad2 -I/usr/X11R7/include -I/usr/pkg/include/SDL2 -I/usr/X11R7/include/libdrm -I/usr/X11R7/include/freetype2 -I/usr/pkg/include/ffmpeg3 -fpie -DPIC -D_THREAD_SAFE -I/usr/X11R7/include -I/usr/pkg/include -I/usr/pkg/include -D_REENTRANT -I/usr/pkg/include -I/usr/X11R7/include/freetype2 -DZLIB_CONST -I/usr/pkg/include/ffmpeg3 -I/usr/pkg/include/ffmpeg3 -I/usr/pkg/include/gtk-2.0 -I/usr/pkg/lib/gtk-2.0/include -I/usr/pkg/include/pango-1.0 -I/usr/pkg/include/glib/glib-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/pkg/include -I/usr/pkg/include/cairo -I/usr/X11R7/include/pixman-1 -I/usr/X11R7/include -I/usr/X11R7/include/freetype2 -I/usr/pkg/include/libpng16 -I/usr/pkg/include/harfbuzz -I/usr/pkg/include/glib/gio-unix-2.0/ -D_REENTRANT -I/usr/pkg/include/gdk-pixbuf-2.0 -D_REENTRANT -I/usr/pkg/include/atk-1.0 -D_REENTRANT -pthread -pthread -I/usr/pkg/include -c -o libvo/vo_yuv4mpeg.o libvo/vo_yuv4mpeg.c
> libvo/vo_vdpau.c: In function 'draw_image':
> libvo/vo_vdpau.c:1096:35: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
> VdpVideoSurface surface = (VdpVideoSurface)mpi->priv;
> ^
> libvo/vo_x11.c: In function 'draw_slice':
> libvo/vo_x11.c:495:27: warning: passing argument 2 of 'sws_scale' from incompatible pointer type [-Wincompatible-pointer-types]
> sws_scale(swsContext, src, stride, y, h, dst, dstStride);
> ^
> Makefile:726: recipe for target 'libvo/vo_vdpau.o' failed
> gmake: *** [libvo/vo_vdpau.o] Error 1
> gmake: *** Waiting for unfinished jobs....
> In file included from libvo/vo_x11.c:53:0:
> /tmp/pkgs/multimedia/gmplayer/work.x86_64/.buildlink/include/ffmpeg3/libswscale/swscale.h:217:5: note: expected 'const __uint8_t * const* {aka const unsigned char * const*}' but argument is of type '__uint8_t ** {aka unsigned char **}'
> int sws_scale(struct SwsContext *c, const uint8_t *const srcSlice[],
> ^
> libvo/vo_xvmc.c:96:12: warning: 'xvmc_pix_fmt' is deprecated [-Wdeprecated-declarations]
> struct xvmc_pix_fmt shared;
> ^
> In file included from libvo/vo_xvmc.c:48:0:
> /tmp/pkgs/multimedia/gmplayer/work.x86_64/.buildlink/include/ffmpeg3/libavcodec/xvmc.h:46:29: note: declared here
> struct attribute_deprecated xvmc_pix_fmt {
> ^
> *** Error code 2
>
> Stop.
> make[1]: stopped in /build/pkgsrc/multimedia/gmplayer
> *** Error code 1
>
> Stop.
> make: stopped in /build/pkgsrc/multimedia/gmplayer
>
>
> +------------------+--------------------------+----------------------------+
> | Paul Goyette | PGP Key fingerprint: | E-mail addresses: |
> | (Retired) | FA29 0E3B 35AF E8AE 6651 | paul at whooppee dot com |
> | Kernel Developer | 0786 F758 55DE 53BA 7731 | pgoyette at netbsd dot org |
> +------------------+--------------------------+----------------------------+