Date: Mon, 7 Jan 2013 08:17:56 +0100 From: =?ISO-8859-1?Q?Bernhard_Fr=F6hlich?= <decke@bluelife.at> To: Me <trxs85@gmail.com> Cc: freebsd-emulation@freebsd.org, vbox@freebsd.org Subject: Re: virtualbox compile failed Message-ID: <CAE-m3X2VcdhZ_Fz_2M9HO%2BDc08TZEggCXDz7X0b3C9qFEOOKrA@mail.gmail.com> In-Reply-To: <CAMkBbBNQK5tR4FpUfwz=S%2B7DWtO9AWG9YDuRmAgaiZ0pskfs7g@mail.gmail.com> References: <CAMkBbBNQK5tR4FpUfwz=S%2B7DWtO9AWG9YDuRmAgaiZ0pskfs7g@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --] On Sun, Jan 6, 2013 at 10:37 PM, Me <trxs85@gmail.com> wrote: > Hi > > Virtualbox-ose 4.2.6 failed compile on new installed "FreeBSD 9.1-RELEASE > amd64 (GENERIC kernel)" system. g++ -g -O -Wall -o /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.2.6/.tmp_out /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.2.6/.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 `_nv016glcore' /usr/X11R6/lib/libGL.so: undefined reference to `_nv022glcore' It looks like nvidia somehow needs libGLcore.so. This is only a guess since I do not have nvidia hardware at hand. I'm also not yet sure what the right solution for that would be (and if the later compilation works but if it's using pkg-config chances are good) but to verify if I am on the right track at all you could apply the attached patch and let me know if it helps. -- Bernhard Fröhlich http://www.bluelife.at/ [-- Attachment #2 --] --- configure.orig 2013-01-07 08:15:24.129765000 +0100 +++ configure 2013-01-07 08:15:50.840810850 +0100 @@ -121,7 +121,7 @@ LIBXINERAMA="-lXinerama" LIBXRANDR="-lXrandr" MAKESELF="makeself" -MESA="-lGL" +MESA="-lGL -GLcore" INCZ="" LIBZ="-lz" INCVNCSERVER=""
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAE-m3X2VcdhZ_Fz_2M9HO%2BDc08TZEggCXDz7X0b3C9qFEOOKrA>
