Date: Sun, 22 Jul 2012 13:40:22 +0200 From: Raimund Steger <rs@mytum.de> To: freebsd-questions@freebsd.org Subject: Re: error compiling mplayer Message-ID: <500BE6A6.401@mytum.de> In-Reply-To: <20120721155117.GA48493@skytracker.ca> References: <20120721155117.GA48493@skytracker.ca>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi, David Banning wrote: > getting this error on compile of mplayer; > > /usr/local/lib/libgdk-x11-2.0.so: undefined reference to `XRRGetScreenResourcesCurrent' > /usr/local/lib/libgdk-x11-2.0.so: 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/libgdk-x11-2.0.so|grep XRRGetOutputPrimary nm -D /usr/local/lib/libXrandr.so|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 http://thread.gmane.org/gmane.os.freebsd.questions/288260 ?) Raimund
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?500BE6A6.401>