Web lists-archives.com

Re: [MPlayer-dev-eng] [PATCH]Win32: correct the encoding of filename in console message




Hello,
First only on the second part:

On Sun, Aug 09, 2015 at 02:20:57AM +0800, 朱海 wrote:
> 2) When building Linux x86_64 STATIC version mplayer, I got a link error at the last step and fixed it by adding '-lXau' to config.mak by hand.
> But I am not sure if this is a platform dependent issue or not (Ubuntu 15.04), anyone can help check and fix it ? I'm not very familiar with config system -.-
> build commands:
> ./configure --enable-static
> make -j6
> Error messages:
> /usr/lib/gcc/x86_64-linux-gnu/4.9/../../../x86_64-linux-gnu/libaudio.a(ConnSvr.o): In function `_AuConnectServer':
> (.text+0x934): undefined reference to `XauDisposeAuth'
> /usr/lib/gcc/x86_64-linux-gnu/4.9/../../../x86_64-linux-gnu/libaudio.a(ConnSvr.o): In function `_AuConnectServer':
> (.text+0x9dc): undefined reference to `XauGetBestAuthByAddr'


Look at the
echocheck "NAS"
part.
Brute-force solution: add -lXau in the lines below.
A better solution would be to change the code to properly
use a test function so that linking is tested, compare e.g.
the "statement_check esd.h 'esd_get_latency(0)'" a few lines above.
That would have discovered the issue and disabled that feature
instead of failing to link.
_______________________________________________
MPlayer-dev-eng mailing list
MPlayer-dev-eng@xxxxxxxxxxxx
https://lists.mplayerhq.hu/mailman/listinfo/mplayer-dev-eng