Re: [HEADS UP] xorg version switch in CURRENT

From: Koop Mast <kwm_at_rainbow-runner.nl>
Date: Wed, 18 Dec 2013 10:45:31 +0100
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_at_build:~ % clang es2tri.c -o es2tri `pkgconf --cflags --libs x11 egl
> glesv2 gl`
> J_at_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_at_build:~ # cd /usr/ports/x11/nvidia-driver-304
> root_at_build:/usr/ports/x11/nvidia-driver-304 # make install clean
>
> J_at_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_at_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_at_build:~ % clang es2tri.c -o es2tri `pkgconf --cflags --libs x11 egl gl`
> J_at_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
Received on Wed Dec 18 2013 - 08:45:37 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:45 UTC