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 665378 - Fail to compile xvidenc in ubuntu 11.04 uninstalled setup
Fail to compile xvidenc in ubuntu 11.04 uninstalled setup
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-bad
git master
Other Linux
: Normal blocker
: 0.10.23
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2011-12-02 10:23 UTC by Josep Torra Valles
Modified: 2011-12-02 10:47 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Josep Torra Valles 2011-12-02 10:23:51 UTC
As from today update -bad produces the following errors.

$ dpkg -l | grep xvid
ii  libxvidcore-dev                       2:1.2.2+debian-1ubuntu2                    An open source MPEG-4 video codec (development)
ii  libxvidcore4                          2:1.2.2+debian-1ubuntu2                    An open source MPEG-4 video codec (library)

From xvid.h:
#define XVID_VERSION             XVID_MAKE_VERSION(1,2,2)
#define XVID_API                 XVID_MAKE_API(4, 2)


gstxvidenc.c: In function ‘gst_xvidenc_profile_get_type’:
gstxvidenc.c:132:8: error: ‘XVID_PROFILE_S_L4a’ undeclared (first use in this function)
gstxvidenc.c:132:8: note: each undeclared identifier is reported only once for each function it appears in
gstxvidenc.c:133:8: error: ‘XVID_PROFILE_S_L5’ undeclared (first use in this function)
gstxvidenc.c:134:8: error: ‘XVID_PROFILE_S_L6’ undeclared (first use in this function)
gstxvidenc.c: In function ‘gst_xvidenc_setup’:
gstxvidenc.c:635:21: error: ‘XVID_PROFILE_S_L4a’ undeclared (first use in this function)
cc1: warnings being treated as errors
gstxvidenc.c:635:19: error: assignment makes integer from pointer without a cast
gstxvidenc.c:637:21: error: ‘XVID_PROFILE_S_L5’ undeclared (first use in this function)
gstxvidenc.c:637:19: error: assignment makes integer from pointer without a cast
gstxvidenc.c:639:21: error: ‘XVID_PROFILE_S_L6’ undeclared (first use in this function)
gstxvidenc.c:639:19: error: assignment makes integer from pointer without a cast
gstxvidenc.c: In function ‘gst_xvidenc_setcaps’:
gstxvidenc.c:914:14: error: ‘XVID_PROFILE_S_L4a’ undeclared (first use in this function)
gstxvidenc.c:918:14: error: ‘XVID_PROFILE_S_L5’ undeclared (first use in this function)
gstxvidenc.c:922:14: error: ‘XVID_PROFILE_S_L6’ undeclared (first use in this function)
Comment 1 Sebastian Dröge (slomo) 2011-12-02 10:47:15 UTC
commit a1044ac635e06d305fb3312650f93c0f14d66731
Author: Sebastian Dröge <sebastian.droege@collabora.co.uk>
Date:   Fri Dec 2 11:46:03 2011 +0100

    configure: Require XVID API >= 4.3
    
    This is required for encoding the simple profile
    with levels 4a, 5 or 6.
    
    Fixes bug #665378.