From owner-freebsd-emulation@FreeBSD.ORG Tue Jun 5 04:33:37 2012 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id AAE0D106566C for ; Tue, 5 Jun 2012 04:33:37 +0000 (UTC) (envelope-from jamesbrandongooch@gmail.com) Received: from mail-ob0-f182.google.com (mail-ob0-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id 6FE298FC19 for ; Tue, 5 Jun 2012 04:33:37 +0000 (UTC) Received: by obcni5 with SMTP id ni5so10646495obc.13 for ; Mon, 04 Jun 2012 21:33:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; bh=TUW4ay6vg5nhz8ahgJJDjV2vhqw3cUdFXEPcuWFJS6M=; b=pWOe5w3noZQiAFMyiZmw3rgz40LcVXsezeO8C3kU+8p/nqNdaHaqmc2MU/8w402aD5 vRcqePi4MHku5Z80Nlb3DYYLctWXnvy4b/Ftp6Ii1e+/CkOH7EQTkk4RLzoFSsCmpYbu 2zA1D6mSAxY2X28+0c585Ko6sb61ECPdGhYJnvg2tWy2B1xaY7wQMHwebvhH4S8x3BQK vhhTOD012AbCccSJ3MTPkwDqOCoB/CJg96ldydeB+YSen4iqXQEsDlkuaAqKxFFU1/Y1 Fmw678Rq7rD9CuIqlQNv3kN1TjBqFQ2vZmT60SLVT0Q2IOQvlTpvAK7EHf3lm0ON2vYP 6CqA== MIME-Version: 1.0 Received: by 10.60.24.7 with SMTP id q7mr14273116oef.50.1338870816864; Mon, 04 Jun 2012 21:33:36 -0700 (PDT) Received: by 10.60.66.230 with HTTP; Mon, 4 Jun 2012 21:33:36 -0700 (PDT) In-Reply-To: References: Date: Mon, 4 Jun 2012 23:33:36 -0500 Message-ID: From: Brandon Gooch To: freebsd-emulation@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Subject: [SOLVED] Re: VirtualBox 4.1.16 on 10-CURRENT: /usr/X11R6/lib/libGL.so: undefined reference X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Jun 2012 04:33:37 -0000 On Sun, May 27, 2012 at 10:03 PM, Brandon Gooch wrote: > I'm having issues compiling VirtualBox 4.1.16; here is the relevant > snip from the configure.log file: > > $ cat /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.1.16/configur= e.log > [SNIP] > ***** Checking Mesa / GLU ***** > compiling the following source file: > #include > #include > #include > #include > extern "C" int main(void) > { > =A0Display *dpy; > =A0int major, minor; > > =A0dpy =3D XOpenDisplay(NULL); > =A0if (dpy) > =A0{ > =A0 =A0Bool glx_version =3D glXQueryVersion(dpy, &major, &minor); > =A0 =A0XCloseDisplay(dpy); > =A0 =A0if (glx_version) > =A0 =A0{ > =A0 =A0 =A0printf("found version %u.%u, OK.\n", major, minor); > =A0 =A0 =A0return 0; > =A0 =A0} > =A0} > =A0printf("found (inactive), OK.\n"); > =A0return 0; > } > using the following command line: > c++ =A0-g -O -Wall -o > /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.1.16/.tmp_out > /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.1.16/.tmp_src.cc > "-L/usr/X11R6/lib -L/usr/X11R6/lib64 -L/usr/local/lib -lXext -lX11 > -lGL -I/usr/local/include" > /usr/X11R6/lib/libGL.so: undefined reference to `_nv017tls' > /usr/X11R6/lib/libGL.so: undefined reference to `_nv014tls' > > I running: > > FreeBSD m6500.local 10.0-CURRENT FreeBSD 10.0-CURRENT #0 r236044: Sat > May 26 03:04:16 CDT 2012 > root@m6500.local:/usr/obj/usr/src/sys/DELL_M6500 =A0amd64 > > xorg-7.5.2 > xorg-server-1.7.7_5,1 > nvidia-driver-295.49 The error I was experiencing was my own fault -- I had previously performed an install of a version of the NVIDIA driver outside of ports which placed files in /usr/X11R6/lib -- the error message should have been obvious to me, but for whatever reason I overlooked it. Simply moving /usr/X11R6/lib out of the way resolved the issue; sorry for the noise! -Brandon