GNOME Bugzilla – Bug 700400
video: can't build without orc support - implicit declaration of function 'video_orc_pack_NV16'
Last modified: 2013-05-15 17:27:13 UTC
When I try to build gst-plugins-base from git, I get: CC libgstvideo_1.0_la-video-format.lo video-format.c: In function 'unpack_NV16': video-format.c:930:3: error: implicit declaration of function 'video_orc_unpack_NV16' [-Werror=implicit-function-declaration] video-format.c:930:3: error: nested extern declaration of 'video_orc_unpack_NV16' [-Werror=nested-externs] video-format.c: In function 'pack_NV16': video-format.c:940:3: error: implicit declaration of function 'video_orc_pack_NV16' [-Werror=implicit-function-declaration] video-format.c:940:3: error: nested extern declaration of 'video_orc_pack_NV16' [-Werror=nested-externs] cc1: all warnings being treated as errors Even though in the configure step, it says it won't build orc: configure: *** Orc acceleration disabled. Requires Orc >= 0.4.17, which was not found. Slower code paths will be used. I narrowed the problem down to commit af24e238802112ae7072a8246a05c5df2ccfcc7c (https://bugzilla.gnome.org/show_bug.cgi?id=700377). I can build with the previous commit (74a31a02fc6b2d6cba91765e6bc62525fa9bffb5).
Created attachment 244342 [details] [review] Patch to only build NV16 if Orc is available This fixes it for me, but I can't test it with Orc, since I'm on Ubuntu 12.04 (Orc package is too old).
This should fix it: commit 77405b97ed713cf461499b9ac2f4326216376f2e Author: Tim-Philipp Müller <tim.muller@collabora.co.uk> Date: Wed May 15 18:20:50 2013 +0100 video: update disted orc backup files to fix build without liborc https://bugzilla.gnome.org/show_bug.cgi?id=700400
That worked for me. Thanks!