[MPlayer-dev-eng] Linking mplayer fails

Dan Oscarsson Dan.Oscarsson at tieto.com
Mon Apr 1 13:24:03 CEST 2013


mån 2013-04-01 klockan 12:44 +0200 skrev Grozdan:
> On Mon, Apr 1, 2013 at 12:40 PM, Dan Oscarsson <Dan.Oscarsson at tieto.com>wrote:
> 
> > mån 2013-04-01 klockan 12:22 +0200 skrev Nicolas George:
> > > Le duodi 12 germinal, an CCXXI, Dan Oscarsson a écrit :
> > > > Tried to create mplayer under opensuse 12.3 but linking fails with:
> > > >
> > > >
> > /usr/lib64/gcc/x86_64-suse-linux/4.7/../../../../x86_64-suse-linux/bin/ld:
> > libmpcodecs/vf_fspp.o: relocation R_X86_64_32S against `.rodata' can not be
> > used when making a shared object; recompile with -fPIC
> > > > libmpcodecs/vf_fspp.o: could not read symbols: Bad value
> > > > collect2: error: ld returned 1 exit status
> > >
> > > Wild guess: try to revert 36098.
> > >
> >
> > If I get that by doing:
> > svn co -r 36098 svn://svn.mplayerhq.hu/mplayer/trunk mplayer
> >
> > it does not help. Same failure.
> >
> 
> I'm on openSUSE 12.3 myself and revision 36090 works here so you may want
> to check that out

Yes, it works.
Tested many more revisions. 36097 is OK. 36098 is not.

The difference seams to be related to PIC.
Working version have #define CONFIG_PIC 1 in mplayer/config.h, but set
to 0 in revision 36098.

   Dan



More information about the MPlayer-dev-eng mailing list