GNOME Bugzilla – Bug 665378
Fail to compile xvidenc in ubuntu 11.04 uninstalled setup
Last modified: 2011-12-02 10:47:26 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)
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.