From owner-freebsd-ports-bugs@FreeBSD.ORG Tue Nov 15 23:40:27 2005 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3A29D16A420 for ; Tue, 15 Nov 2005 23:40:27 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 24E6B43D58 for ; Tue, 15 Nov 2005 23:40:22 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id jAFNeIRF033123 for ; Tue, 15 Nov 2005 23:40:18 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id jAFNeH6G033122; Tue, 15 Nov 2005 23:40:17 GMT (envelope-from gnats) Resent-Date: Tue, 15 Nov 2005 23:40:17 GMT Resent-Message-Id: <200511152340.jAFNeH6G033122@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Nicolas Blais Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C421F16A41F for ; Tue, 15 Nov 2005 23:39:48 +0000 (GMT) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [216.136.204.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7337943D45 for ; Tue, 15 Nov 2005 23:39:48 +0000 (GMT) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.13.1/8.13.1) with ESMTP id jAFNdmVS088914 for ; Tue, 15 Nov 2005 23:39:48 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.13.1/8.13.1/Submit) id jAFNdmwc088913; Tue, 15 Nov 2005 23:39:48 GMT (envelope-from nobody) Message-Id: <200511152339.jAFNdmwc088913@www.freebsd.org> Date: Tue, 15 Nov 2005 23:39:48 GMT From: Nicolas Blais To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-2.3 Cc: Subject: ports/89094: xorg-clients-6.8.2_1 compile fail with nvidia-driver-1.0.7676_1 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Nov 2005 23:40:27 -0000 >Number: 89094 >Category: ports >Synopsis: xorg-clients-6.8.2_1 compile fail with nvidia-driver-1.0.7676_1 >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Tue Nov 15 23:40:17 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Nicolas Blais >Release: 6.0-STABLE >Organization: >Environment: FreeBSD clk02 6.0-STABLE FreeBSD 6.0-STABLE #0: Sat Nov 12 15:01:57 EST 2005 root@clk02:/usr/obj/usr/src/sys/CLK02 i386 >Description: If you have nvidia-driver-1.0.7676_1 and you try updating xorg-clients-6.8.2 to xorg-clients-6.8.2_1, you will get an error making 'xdriinfo'. cc -o xdriinfo -O2 -fno-strict-aliasing -pipe -march=athlon-mp -ansi -pedantic -Wno-system-headers -Dasm=__asm -Wall -Wpointer-arith -Wundef -L/usr/ports/x11/xorg-clients/work/xc/exports/lib xdriinfo.o -lGL -lXext -lX11 -L/usr/X11R6/lib -pthread -Wl,-rpath,/usr/X11R6/lib -Wl,-rpath-link,/usr/ports/x11/xorg-clients/work/xc/exports/lib xdriinfo.o(.text+0x5c): In function `main': : undefined reference to `glXGetProcAddress' xdriinfo.o(.text+0x6d): In function `main': : undefined reference to `glXGetProcAddress' *** Error code 1 >How-To-Repeat: >Fix: http://lists.freebsd.org/pipermail/freebsd-i386/2005-January/002040.html. *** /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; PS, I am not the author, but the patch is tested and works. >Release-Note: >Audit-Trail: >Unformatted: