[HEADS UP] xorg version switch in CURRENT

Koop Mast kwm at rainbow-runner.nl
Wed Dec 18 09:45:37 UTC 2013


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



More information about the freebsd-ports mailing list