[MPlayer-dev-eng] Linking mplayer fails

Xidorn Quan quanxunzhen at gmail.com
Tue Apr 2 12:00:18 CEST 2013


On Tue, Apr 2, 2013 at 5:52 PM, Reimar Döffinger
<Reimar.Doeffinger at gmx.de>wrote:

> On Tue, Apr 02, 2013 at 09:19:08AM +0800, Xidorn Quan wrote:
> > On Tue, Apr 2, 2013 at 2:26 AM, Reimar Döffinger
> > <Reimar.Doeffinger at gmx.de>wrote:
> > > A better way would be to actually test if linking non-PIC code actually
> > > works.
> > > Also, do you know if it is only the missing CONFIG_PIC that causes the
> > > linking failure or if we actually need to explicitly add -fPIC if we
> use
> > > PIE?
> > >
> >
> > For me, it is not a linking failure. It fails when compiling as I
> mentioned
> > before. If I add -DPIC to YASMFLAGS in config.mak directly, it passes
> > compilation but fails to link.
>
> Can you try this patch (others are welcome to test as well):
>

It works for me.


-- 
Xidorn Quan
GnuPG fingerprint: 6F1E DF9A D250 7505 63E2  345E 7570 8D3F 7C9A 1209


More information about the MPlayer-dev-eng mailing list