Hi, i have follow http://dri.freedesktop.org/wiki/Building and i have error at the build Mesa 3D Driver: $ make freebsd-dri (cd configs && rm -f current && ln -s freebsd-dri current) make default Making sources for freebsd-dri gcc -c -I. -I../../../include -I../../../include/GL/internal -I../../../src/ mesa/main -I../../../src/mesa/glapi -I../../../src/mesa/drivers/dri/common `pkg- config --cflags libdrm` -I/usr/X11R6/include -DPTHREADS - DUSE_EXTERNAL_DXTN_LIB=1 -DIN_DRI_DRIVER -DGLX_DIRECT_RENDERING -DHAVE_ALIAS - DXF86VIDMODE -D_REENTRANT -UIN_DRI_DRIVER -Wmissing-prototypes -g -std=c99 - Wundef -fPIC -ffast-math -I/usr/X11R6/include -DPTHREADS - DUSE_EXTERNAL_DXTN_LIB=1 -DIN_DRI_DRIVER -DGLX_DIRECT_RENDERING -DHAVE_ALIAS - DXF86VIDMODE -D_REENTRANT -UIN_DRI_DRIVER glxcmds.c -o glxcmds.o glxcmds.c:1726: warning: no previous prototype for 'glXSwapIntervalMESA' glxcmds.c:1758: warning: no previous prototype for 'glXGetSwapIntervalMESA' glxcmds.c:1788: warning: no previous prototype for 'glXBeginFrameTrackingMESA' glxcmds.c:1808: warning: no previous prototype for 'glXEndFrameTrackingMESA' glxcmds.c:1829: warning: no previous prototype for 'glXGetFrameUsageMESA' glxcmds.c:1857: warning: no previous prototype for 'glXQueryFrameTrackingMESA' glxcmds.c:2595: warning: no previous prototype for 'glXBindTexImageEXT' glxcmds.c: In function `glXBindTexImageEXT': glxcmds.c:2618: error: `X_GLXvop_BindTexImageEXT' undeclared (first use in this function) glxcmds.c:2618: error: (Each undeclared identifier is reported only once glxcmds.c:2618: error: for each function it appears in.) glxcmds.c: At top level: glxcmds.c:2636: warning: no previous prototype for 'glXReleaseTexImageEXT' glxcmds.c: In function `glXReleaseTexImageEXT': glxcmds.c:2659: error: `X_GLXvop_ReleaseTexImageEXT' undeclared (first use in this function) gmake: *** [glxcmds.o] Erreur 1 *** Error code 1 Stop in /mnt/ad8/X/Mesa/src. *** Error code 1 Stop in /mnt/ad8/X/Mesa. *** Error code 1 Stop in /mnt/ad8/X/Mesa. please, someone can help me ? thanks
You need to update your glproto to 1.4.4.
hello, where can i find glproto, i've no software like that. i found a glxproto.h in xc cvs and it's already the last version, i cvsuped yesterday. i tried to follow #5873 but it's not the same problem, i already have: /mnt/ad8/X/xc/exports/include/GL/glxproto.h /mnt/ad8/X/xc/include/GL/glxproto.h /usr/X11R6/include/GL/glxproto.h i tried to put glxproto.h (by symlink) in another place in Mesa tree and the problem is always here. thanks.
glproto is here: xorg.freedesktop.org/releases/individual/proto/ thanks to Donnie Berkholz for the link and his work. the compilation is ok now ;)
(In reply to comment #1) > You need to update your glproto to 1.4.4. Have installed 1.4.5 like on DRI Wiki and nothing works, same error :(
Do a 'find / -name glxproto.h'. My guess is that you have multiple copies installed on your system and the Mesa build isn't finding the correct one. The new one should be located in /usr/X11R6/include/GL. I suspect that the glproto default is to put it in /usr/include/GL, but I don't know for sure.
(In reply to comment #5) > Do a 'find / -name glxproto.h'. My guess is that you have multiple copies > installed on your system and the Mesa build isn't finding the correct one. The > new one should be located in /usr/X11R6/include/GL. I suspect that the glproto > default is to put it in /usr/include/GL, but I don't know for sure. The files are located in /usr/X11R6/include/GL/glxproto.h /usr/local/include/GL/glxproto.h
(In reply to comment #6) > The files are located in > > /usr/X11R6/include/GL/glxproto.h > /usr/local/include/GL/glxproto.h So, you likely have the old version in /usr/X11R6/include/GL (which Mesa will pick up) and installed the new version in /usr/local. Try installing glproto in the right location (configure --prefix=/usr/X11 should do the trick I guess) or copy the file over or whatever.
Mass version move, cvs -> git
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.