VirtualBox 4.1.16 on 10-CURRENT: /usr/X11R6/lib/libGL.so: undefined
reference
Brandon Gooch
jamesbrandongooch at gmail.com
Mon May 28 03:03:59 UTC 2012
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/configure.log
[SNIP]
***** Checking Mesa / GLU *****
compiling the following source file:
#include <cstdio>
#include <X11/Xlib.h>
#include <GL/glx.h>
#include <GL/glu.h>
extern "C" int main(void)
{
Display *dpy;
int major, minor;
dpy = XOpenDisplay(NULL);
if (dpy)
{
Bool glx_version = glXQueryVersion(dpy, &major, &minor);
XCloseDisplay(dpy);
if (glx_version)
{
printf("found version %u.%u, OK.\n", major, minor);
return 0;
}
}
printf("found (inactive), OK.\n");
return 0;
}
using the following command line:
c++ -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 at m6500.local:/usr/obj/usr/src/sys/DELL_M6500 amd64
xorg-7.5.2
xorg-server-1.7.7_5,1
nvidia-driver-295.49
More information about the freebsd-emulation
mailing list