Re: [HEADS UP] xorg version switch in CURRENT

看板FB_current作者時間12年前 (2013/12/22 11:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串11/14 (看更多)
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 _______________________________________________ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
文章代碼(AID): #1IjbqssV (FB_current)
討論串 (同標題文章)
文章代碼(AID): #1IjbqssV (FB_current)