Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 27 May 2012 22:03:58 -0500
From:      Brandon Gooch <jamesbrandongooch@gmail.com>
To:        freebsd-emulation@freebsd.org
Subject:   VirtualBox 4.1.16 on 10-CURRENT: /usr/X11R6/lib/libGL.so: undefined reference
Message-ID:  <CALBk6y%2B0oCcdmnacDrV7uBdpA92ECQLR1widPws-q6Y7XDPFew@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
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@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CALBk6y%2B0oCcdmnacDrV7uBdpA92ECQLR1widPws-q6Y7XDPFew>