From owner-freebsd-current@FreeBSD.ORG Wed Dec 18 09:45:37 2013 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 85432FBD; Wed, 18 Dec 2013 09:45:37 +0000 (UTC) Received: from fep14.mx.upcmail.net (fep14.mx.upcmail.net [62.179.121.34]) by mx1.freebsd.org (Postfix) with ESMTP id 3168B1B0B; Wed, 18 Dec 2013 09:45:35 +0000 (UTC) Received: from edge02.upcmail.net ([192.168.13.237]) by viefep14-int.chello.at (InterMail vM.8.01.05.05 201-2260-151-110-20120111) with ESMTP id <20131218094534.LHEA2802.viefep14-int.chello.at@edge02.upcmail.net>; Wed, 18 Dec 2013 10:45:34 +0100 Received: from [127.0.0.1] ([178.84.134.112]) by edge02.upcmail.net with edge id 2xlX1n01r2Rg3Ey02xlXkk; Wed, 18 Dec 2013 10:45:34 +0100 X-SourceIP: 178.84.134.112 Message-ID: <52B16EBB.3090106@rainbow-runner.nl> Date: Wed, 18 Dec 2013 10:45:31 +0100 From: Koop Mast User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 MIME-Version: 1.0 To: J M , Aleksandr Rybalko Subject: Re: [HEADS UP] xorg version switch in CURRENT References: <52AEE215.1060806@freebsd.org> <20131217200756.GA46033@troutmask.apl.washington.edu> <52B0B015.4010600@freebsd.org> <20131217233202.952bc846.ray@freebsd.org> <52B0DDDA.8010608@freebsd.org> <52B0DE17.7030104@ddteam.net> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Antivirus: avast! (VPS 131217-2, 18-12-2013), Outbound message X-Antivirus-Status: Clean Cc: current@freebsd.org, ports@freebsd.org, Aleksandr Rybalko , x11@freebsd.org, Nathan Whitehorn , Steve Kargl X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Dec 2013 09:45:37 -0000 On 18-12-2013 5:22, J M wrote: > Following this list: > http://lists.freebsd.org/pipermail/freebsd-x11/2013-December/013911.html > > Rebuild xorg again on FreeBSD 10.0 rc2: > WITH_NEW_XORG= > WITH_KMS= > WITH_GALLIUM= > > Build es2tri.c in mesa demos > http://cgit.freedesktop.org/mesa/demos/tree/src/egl/opengles2/es2tri.c > ################################################################################# > J@build:~ % clang es2tri.c -o es2tri `pkgconf --cflags --libs x11 egl > glesv2 gl` > J@build:~ % ./es2tri > ################################################################################# > A window with a triangle is shown. > > It is on an Intel video card. > > But when I built nvidia driver and found this error again. > ################################################################################# > root@build:~ # cd /usr/ports/x11/nvidia-driver-304 > root@build:/usr/ports/x11/nvidia-driver-304 # make install clean > > J@build:~ % clang es2tri.c -o es2tri `pkgconf --cflags --libs x11 egl > glesv2 gl` > /usr/local/lib/libGLESv2.so: undefined reference to `_glapi_get_dispatch' > /usr/local/lib/libGLESv2.so: undefined reference to `_glapi_Dispatch' > clang: error: linker command failed with exit code 1 (use -v to see > invocation) > J@build:~ % clang es2tri.c -o es2tri `pkgconf --cflags --libs x11 egl > glesv2` > /usr/local/lib/libGLESv2.so: undefined reference to `_glapi_get_dispatch' > /usr/local/lib/libGLESv2.so: undefined reference to `_glapi_Dispatch' > clang: error: linker command failed with exit code 1 (use -v to see > invocation) > J@build:~ % clang es2tri.c -o es2tri `pkgconf --cflags --libs x11 egl gl` > J@build:~ % ./es2tri > Bus error (core dumped) > ################################################################################# > > I think it is because a mismatch configure, and also because gles driver is > incomplete. I will take a look at making the libglesv2 port to work. I think I already know what I need to do to make this work. Thank you for testing the libEGL and libglesv2 ports. -Koop --- This email is free from viruses and malware because avast! Antivirus protection is active. http://www.avast.com