Bug#610635: xine-lib: FTBFS: error: implicit declaration of function 'XvMCFlushSurface'

January 20th, 2011 - 12:10 pm ET by Daniel Schepler | Report spam
Source: xine-lib
Version: 1.1.19-2
Severity: serious

From my pbuilder build log:

...
/bin/bash ../../libtool --tagÌ --mode=compile x86_64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../../include -I../.. -I../../include -I../../include -I../../src -I../../src/xine-engine -I../../src/xine-engine -I../../src/xine-utils -I../../src/input -I../../src/input -I../../lib -I../../lib -DXINE_COMPILE
-fvisibility=hidden -fno-strict-aliasing -D_REENTRANT -D_FILE_OFFSET_BITSd -DXINE_COMPILE -O3 -fomit-frame-pointer -fexpensive-optimizations -fschedule-insns2 -ffast-math -finline-functions -Wpointer-arith -g -O2 -g -Wall -Wchar-subscripts -Wnested-externs -
Wcast-align -Wmissing-declarations -Wmissing-prototypes -Wmissing-format-attribute -Wno-pointer-sign -Wformat=2 -Wno-format-zero-length -Wstrict-aliasing=2 -Werror=implicit-function-declaration -DNDEBUG -MT xineplug_vo_out_xxmc_la-video_out_xxmc.lo -MD -MP -
MF .deps/xineplug_vo_out_xxmc_la-video_out_xxmc.Tpo -c -o xineplug_vo_out_xxmc_la-video_out_xxmc.lo `test -f 'video_out_xxmc.c' || echo './'`video_out_xxmc.c
libtool: compile: x86_64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../../include -I../.. -I../../include -I../../include -I../../src -I../../src/xine-engine -I../../src/xine-engine -I../../src/xine-utils -I../../src/input -I../../src/input -I../../lib -I../../lib -DXINE_COMPILE -fvisibility=hidden -fno-strict-
aliasing -D_REENTRANT -D_FILE_OFFSET_BITSd -DXINE_COMPILE -O3 -fomit-frame-pointer -fexpensive-optimizations -fschedule-insns2 -ffast-math -finline-functions -Wpointer-arith -g -O2 -g -Wall -Wchar-subscripts -Wnested-externs -Wcast-align -Wmissing-declarations
-Wmissing-prototypes -Wmissing-format-attribute -Wno-pointer-sign -Wformat=2 -Wno-format-zero-length -Wstrict-aliasing=2 -Werror=implicit-function-declaration -DNDEBUG -MT xineplug_vo_out_xxmc_la-video_out_xxmc.lo -MD -MP -MF .deps/xineplug_vo_out_xxmc_la-
video_out_xxmc.Tpo -c video_out_xxmc.c -fPIC -DPIC -o .libs/xineplug_vo_out_xxmc_la-video_out_xxmc.o
video_out_xxmc.c: In function 'xxmc_xvmc_destroy_surfaces':
video_out_xxmc.c:181: error: implicit declaration of function 'XvMCFlushSurface'
video_out_xxmc.c:181: warning: nested extern declaration of 'XvMCFlushSurface'
video_out_xxmc.c:182: error: implicit declaration of function 'XvMCSyncSurface'
video_out_xxmc.c:182: warning: nested extern declaration of 'XvMCSyncSurface'
...
make[4]: *** [xineplug_vo_out_xxmc_la-video_out_xxmc.lo] Error 1
make[4]: Leaving directory `/tmp/buildd/xine-lib-1.1.19/src/video_out'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/tmp/buildd/xine-lib-1.1.19/src/video_out'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/tmp/buildd/xine-lib-1.1.19/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/buildd/xine-lib-1.1.19'
make: *** [build-stamp] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2
Daniel Schepler



To UNSUBSCRIBE, email to debian-bugs-rc-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
email Follow the discussionReplies 2 repliesReplies Make a reply

Similar topics

Replies

#1 Julien Cristau
January 23rd, 2011 - 12:40 pm ET | Report spam

On Sun, Jan 23, 2011 at 18:08:06 +0100, Reinhard Tartler wrote:

On Thu, Jan 20, 2011 at 17:56:43 (CET), Daniel Schepler wrote:

> Source: xine-lib
> Version: 1.1.19-2
> Severity: serious
>
> From my pbuilder build log:
>
> ...
> video_out_xxmc.c: In function 'xxmc_xvmc_destroy_surfaces':
> video_out_xxmc.c:181: error: implicit declaration of function 'XvMCFlushSurface'
> video_out_xxmc.c:181: warning: nested extern declaration of 'XvMCFlushSurface'
> video_out_xxmc.c:182: error: implicit declaration of function 'XvMCSyncSurface'
> video_out_xxmc.c:182: warning: nested extern declaration of 'XvMCSyncSurface'
> ...
> make[4]: *** [xineplug_vo_out_xxmc_la-video_out_xxmc.lo] Error 1

The following patch fixes this. Julien, should this be fixed in xine-lib
or rather in x11proto-video-dev?



In xine-lib, I think. Sorry for the breakage.

Cheers,
Julien






To UNSUBSCRIBE, email to
with a subject of "unsubscribe". Trouble? Contact
Replies Reply to this message
#2 Reinhard Tartler
January 23rd, 2011 - 12:40 pm ET | Report spam
On Thu, Jan 20, 2011 at 17:56:43 (CET), Daniel Schepler wrote:

Source: xine-lib
Version: 1.1.19-2
Severity: serious

From my pbuilder build log:

...
video_out_xxmc.c: In function 'xxmc_xvmc_destroy_surfaces':
video_out_xxmc.c:181: error: implicit declaration of function 'XvMCFlushSurface'
video_out_xxmc.c:181: warning: nested extern declaration of 'XvMCFlushSurface'
video_out_xxmc.c:182: error: implicit declaration of function 'XvMCSyncSurface'
video_out_xxmc.c:182: warning: nested extern declaration of 'XvMCSyncSurface'
...
make[4]: *** [xineplug_vo_out_xxmc_la-video_out_xxmc.lo] Error 1



The following patch fixes this. Julien, should this be fixed in xine-lib
or rather in x11proto-video-dev?

cat debian/patches/fix-bug610635.diff




From: Reinhard Tartler
Subject: Fix FTBFS
Bug-Debian: http://bugs.debian.org/610635

it seems that the current version of vldXvMC.h from x11proto-video-dev
does no longer include the required XvMClib.h header.


Index: natty/src/video_out/xxmc.h
natty.orig/src/video_out/xxmc.h 2011-01-23 17:55:01.333928003 +0100
+++ natty/src/video_out/xxmc.h 2011-01-23 17:54:48.509926463 +0100
@@ -79,6 +79,7 @@
#include <X11/extensions/Xvlib.h>
#ifdef HAVE_VLDXVMC
#include <X11/extensions/vldXvMC.h>
+ #include <X11/extensions/XvMClib.h>
#else
#include <X11/extensions/XvMClib.h>
#include <X11/extensions/XvMC.h>

Gruesse/greetings,
Reinhard Tartler, KeyID 945348A4



To UNSUBSCRIBE, email to
with a subject of "unsubscribe". Trouble? Contact
email Follow the discussion Replies Reply to this message
Help Create a new topicReplies Make a reply
Search Make your own search