From owner-freebsd-questions@FreeBSD.ORG Sun Jul 22 11:45:06 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A49DD106564A for ; Sun, 22 Jul 2012 11:45:05 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from plane.gmane.org (plane.gmane.org [80.91.229.3]) by mx1.freebsd.org (Postfix) with ESMTP id 8F6438FC12 for ; Sun, 22 Jul 2012 11:45:05 +0000 (UTC) Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1Ssuat-0001xU-DE for freebsd-questions@freebsd.org; Sun, 22 Jul 2012 13:45:03 +0200 Received: from bsd1.hq.steg0.eu ([82.139.199.142]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 22 Jul 2012 13:45:03 +0200 Received: from rs by bsd1.hq.steg0.eu with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 22 Jul 2012 13:45:03 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Raimund Steger Date: Sun, 22 Jul 2012 13:40:22 +0200 Lines: 40 Message-ID: <500BE6A6.401@mytum.de> References: <20120721155117.GA48493@skytracker.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: bsd1.hq.steg0.eu User-Agent: Mozilla/5.0 (X11; SunOS i86pc; rv:14.0) Gecko/20120706 Firefox/14.0 SeaMonkey/2.11 In-Reply-To: <20120721155117.GA48493@skytracker.ca> Subject: Re: error compiling mplayer X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 22 Jul 2012 11:45:06 -0000 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