virtualbox compile failed

Bernhard Fröhlich decke at bluelife.at
Mon Jan 7 07:18:04 UTC 2013


On Sun, Jan 6, 2013 at 10:37 PM, Me <trxs85 at 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/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch-vbox-nvidia.diff
Type: application/octet-stream
Size: 266 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-emulation/attachments/20130107/2edc5a79/attachment.obj>


More information about the freebsd-emulation mailing list