[winswitch] xpra build error

Antoine Martin antoine at nagafix.co.uk
Mon Jun 1 08:09:05 BST 2015


On 30/05/15 23:14, daltrey wrote:
> Is this something that can be fixed?
Yes, either:
1) use ffmpeg and not libav
2) use the 0.14.x branch with whatever libav patches are needed for your 
specific libav version:
http://xpra.org/trac/browser/xpra/tags/v0.14.x/src/patches
> Revised spec file has better set of "Requires" and builds on openSuSE
> 13.1 but I get the following on openSuSE 13.2.  Maybe I have an
> uninstalled build dependency?  If so, rpmbuild does not give me that
> error...
>
> I will re-check and let you know.
>
> building 'xpra.codecs.dec_avcodec.decoder' extension
> creating build/temp.linux-x86_64-2.7/xpra/codecs/dec_avcodec
> gcc -pthread -fno-strict-aliasing -fmessage-length=0
> -grecord-gcc-switches -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector
> -funwind-tables -fasynchronous-unwind-tables -g -DNDEBUG
> -fmessage-length=0 -grecord-gcc-switches -O2 -Wall -D_FORTIFY_SOURCE=2
> -fstack-protector -funwind-tables -fasynchronous-unwind-tables -g
> -DOPENSSL_LOAD_CONF -fPIC -I/usr/include/python2.7 -c
> xpra/codecs/dec_avcodec/decoder.c -o
> build/temp.linux-x86_64-2.7/xpra/codecs/dec_avcodec/decoder.o -Wall
> -Werror=implicit-function-declaration -fPIC
> xpra/codecs/dec_avcodec/decoder.c: In function 'initdecoder':
> xpra/codecs/dec_avcodec/decoder.c:11087:45: error: 'AV_PIX_FMT_YUV420P'
> undeclared (first use in this function)
>     __pyx_t_1 = __Pyx_PyInt_From_unsigned_int(AV_PIX_FMT_YUV420P); if
> (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 13;
> __pyx_clineno = __LINE__; goto __pyx_L1_error;}
(snip)

Antoine



More information about the shifter-users mailing list