After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 700400 - video: can't build without orc support - implicit declaration of function 'video_orc_pack_NV16'
video: can't build without orc support - implicit declaration of function 'vi...
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-base
git master
Other Linux
: Normal normal
: 1.1.1
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2013-05-15 16:54 UTC by Brendan Long
Modified: 2013-05-15 17:27 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Patch to only build NV16 if Orc is available (1.45 KB, patch)
2013-05-15 17:12 UTC, Brendan Long
rejected Details | Review

Description Brendan Long 2013-05-15 16:54:54 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).
Comment 1 Brendan Long 2013-05-15 17:12:30 UTC
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).
Comment 2 Tim-Philipp Müller 2013-05-15 17:22:31 UTC
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
Comment 3 Brendan Long 2013-05-15 17:27:13 UTC
That worked for me. Thanks!