Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 18 Dec 2013 10:45:31 +0100
From:      Koop Mast <kwm@rainbow-runner.nl>
To:        J M <j@glx.me>, Aleksandr Rybalko <ray@ddteam.net>
Cc:        current@freebsd.org, ports@freebsd.org, Aleksandr Rybalko <ray@freebsd.org>, x11@freebsd.org, Nathan Whitehorn <nwhitehorn@freebsd.org>, Steve Kargl <sgk@troutmask.apl.washington.edu>
Subject:   Re: [HEADS UP] xorg version switch in CURRENT
Message-ID:  <52B16EBB.3090106@rainbow-runner.nl>
In-Reply-To: <CAHCP5-wh6iz5eyQRtOb7RatT9QSH=3o7=TvtVO78a_LSJiWGGw@mail.gmail.com>
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> <CAHCP5-wh6iz5eyQRtOb7RatT9QSH=3o7=TvtVO78a_LSJiWGGw@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?52B16EBB.3090106>