i386/76257: xorg-clients 6.8.1_1 ports problems
Jose Alonso Cardenas Marquez
acardenas at bsdperu.org
Fri Jan 14 15:10:09 PST 2005
>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 at 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:
More information about the freebsd-i386
mailing list