Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 22 Jul 2012 13:40:22 +0200
From:      Raimund Steger <>
Subject:   Re: error compiling mplayer
Message-ID:  <>
In-Reply-To: <>
References:  <>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help

David Banning wrote:
> getting this error on compile of mplayer;
> /usr/local/lib/ undefined reference to `XRRGetScreenResourcesCurrent'
> /usr/local/lib/ undefined reference to `XRRGetOutputPrimary'
> collect2: ld returned 1 exit status
> gmake: *** [mplayer] Error 1
> *** Error code 1
> Stop in /usr/ports/multimedia/mplayer.
> *** Error code 1
> I wonder if anyone could direct me as to how I could collect more information
> to resolve this.
> FreeBSD version is 8.2

That doesn't look like a problem with mplayer per se, rather with your 
GTK or XRANDR install.

What do the following commands return:

nm -D /usr/local/lib/|grep XRRGetOutputPrimary
nm -D /usr/local/lib/|grep XRRGetOutputPrimary

Additionally, a somewhat larger snippet of your compilation output would 
be helpful, where at least the linker invocation that triggered that 
error occurs.

I'm running 8.2 here as well and can compile mplayer (from SVN, rev. 
35044) with GTK GUI just fine.

(Is this by any chance related to ?)


Want to link to this message? Use this URL: <>