Hello world!
I've just been updating xorg, one of the things I've updated was
libXvMC-1.0.6. It seems to have had a bad effect on xine-lib, the build
fails like so:
libtool: compile: 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_BITS=64 -DXINE_COMPILE -O3
-fomit-frame-pointer -fexpensive-optimizations -fschedule-insns2 -ffast-math
-finline-functions -Wpointer-arith -g -O2 -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-xvmc_mocomp.lo -MD -MP -MF
.deps/xineplug_vo_out_xxmc_la-xvmc_mocomp.Tpo -c xvmc_mocomp.c -fPIC -DPIC -o
.libs/xineplug_vo_out_xxmc_la-xvmc_mocomp.o
video_out_xxmc.c: In function 'xxmc_xvmc_destroy_surfaces':
video_out_xxmc.c:181:7: error: implicit declaration of function
'XvMCFlushSurface'
video_out_xxmc.c:181:7: warning: nested extern declaration of 'XvMCFlushSurface'
video_out_xxmc.c:182:7: error: implicit declaration of function
'XvMCSyncSurface'
video_out_xxmc.c:182:7: warning: nested extern declaration of 'XvMCSyncSurface'
I was able to make it compile Ok by including
/usr/include/X11/extensions/XvMClib.h
sed -i '/xxmc.h/a#include <X11/extensions/XvMClib.h>' \
src/video_out/{xvmc_mocomp.c,video_out_xxmc.c}
Just thought I'd post about it here in case anyone else came across
this issue.
Andy
--
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page