Date: Fri, 14 Jan 2005 23:02:57 GMT From: Jose Alonso Cardenas Marquez <acardenas@bsdperu.org> To: freebsd-gnats-submit@FreeBSD.org Subject: i386/76257: xorg-clients 6.8.1_1 ports problems Message-ID: <200501142302.j0EN2vsv010183@www.freebsd.org> Resent-Message-ID: <200501142310.j0ENA9N1065031@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 76257 >Category: i386 >Synopsis: xorg-clients 6.8.1_1 ports problems >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-i386 >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Jan 14 23:10:08 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Jose Alonso Cardenas Marquez >Release: FreeBSD 5.3-STABLE >Organization: BSDPeru >Environment: FreeBSD HellFire.BSD.org.pe 5.3-STABLE FreeBSD 5.3-STABLE #2: Wed Jan 12 5:12:32 PET 2005 acardenas@HellFire.BSD.org.pe:/usr/obj/usr/src/sys/HellFire i386 >Description: installing or updating xorg-clients port obtains the error message undefined reference glXProcAddress when compiling the file xdriinfo.c. glx.h contains reference to glXProcAddress if we have a version of glx > = 1.4 ------------------------------------------------------------------ # /usr/X11R6/include/GL/glx.h line 112 /* GLX 1.4 and later */ extern void (*glXGetProcAddress(const GLubyte *procname))( void ); ------------------------------------------------------------------ I have glx 1,3, nvidia-driver-1.0.6113_3-, data obtained from glxinfo, and it solves to the problem replacing glXGetProcAddress by glXGetProcAddressARB. >How-To-Repeat: Installing or updating xorg-clients port obtains the error message undefined reference glXProcAddress when compiling the file xdriinfo.c. glx.h contains reference to glXProcAddress if we have a version of glx > = 1.4 ------------------------------------------------------------------ # /usr/X11R6/include/GL/glx.h line 112 /* GLX 1.4 and later */ extern void (*glXGetProcAddress(const GLubyte *procname))( void ); ------------------------------------------------------------------ I have glx 1,3, nvidia-driver-1.0.6113_3-, data obtained from glxinfo, and it solves to the problem replacing glXGetProcAddress by glXGetProcAddressARB. >Fix: *** /usr/ports/x11/xorg-clients/work/xc/programs/xdriinfo/xdriinfo.old Fri Jan 14 13:47:30 2005 --- /usr/ports/x11/xorg-clients/work/xc/programs/xdriinfo/xdriinfo.c Fri Jan 14 13:48:42 2005 *************** *** 57,64 **** char *funcArg = NULL; char *dpyName = NULL; ! GetScreenDriver = (glXGetScreenDriver_t *)glXGetProcAddress ("glXGetScreenDriver"); ! GetDriverConfig = (glXGetDriverConfig_t *)glXGetProcAddress ("glXGetDriverConfig"); if (!GetScreenDriver || !GetDriverConfig) { fprintf (stderr, "libGL is too old.\n"); return 1; --- 57,64 ---- char *funcArg = NULL; char *dpyName = NULL; ! GetScreenDriver = (glXGetScreenDriver_t *)glXGetProcAddressARB ("glXGetScreenDriver"); ! GetDriverConfig = (glXGetDriverConfig_t *)glXGetProcAddressARB ("glXGetDriverConfig"); if (!GetScreenDriver || !GetDriverConfig) { fprintf (stderr, "libGL is too old.\n"); return 1; >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200501142302.j0EN2vsv010183>