[Mesa-users] Undeclared parameter during mesa building
Brian Paul
brianp at vmware.com
Tue Aug 16 18:21:25 UTC 2022
On 8/14/22 19:05, alexandre schenberg wrote:
> ⚠ External Email
>
> Hello. During the compilation of Mesa 7.5.2, I am confronted with this error message:
>
> intel_screen.c: In function ‘intel_init_bufmgr’:
> intel_screen.c:641:31: error: ‘I915_PARAM_NUM_FENCES_AVAIL’ undeclared (first use in this function)
> if (intel_get_param(spriv, I915_PARAM_NUM_FENCES_AVAIL, &num_fences)
>
> Where should have been declared this parameter?
> Is there a way to fix it? Many thanks.
>
> My configure command:
>
> CFLAGS=-m32 CPPFLAGS="-I/media/34GB/Arquivos-de-Programas-Linux-32bit/xorg/X11-1.3.6/include/ -I/media/34GB/Arquivos-de-Programas-Linux/xorg/Xorgproto-2018.1/include/ -I/media/34GB/Arquivos-de-Programas-Linux-32bit/xorg/Xxf86vm-1.1.0/include/ -I/media/34GB/Arquivos-de-Programas-Linux-32bit/xorg/Xext-1.1.1/include/ -I/media/34GB/Arquivos-de-Programas-Linux-32bit/xorg/Xfixes-3.0.1.2/include/ -I/media/34GB/Arquivos-de-Programas-Linux-32bit/xorg/Xdamage-1.0.3/include/" LDFLAGS="-L/media/34GB/Arquivos-de-Programas-Linux-32bit/xorg/X11-1.3.6/lib/ -L/media/34GB/Arquivos-de-Programas-Linux-32bit/xorg/Xext-1.1.1/lib/ -L/media/34GB/Arquivos-de-Programas-Linux-32bit/xorg/Xxf86vm-1.1.0/lib/ -L/media/34GB/Arquivos-de-Programas-Linux-32bit/xorg/Xdamage-1.0.3/lib/ -L/media/34GB/Arquivos-de-Programas-Linux-32bit/xorg/Xfixes-3.0.1.2/lib/" ./configure --prefix=/media/34GB/Arquivos-de-Programas-Linux-32bit/Mesa-7.5.2/ --host=i686-linux-gnu --with-expat=/media/34GB/Arquivos-de-Programas-Linux-32bit/Expat-2.0.0/ PKG_CONFIG_PATH=/media/34GB/Arquivos-de-Programas-Linux-32bit/Drm-2.4.3/lib/pkgconfig/:/media/34GB/Arquivos-de-Programas-Linux/xorg/Xorgproto-2018.1/share/pkgconfig/
I suspect that you need to build/install a newer version of libdrm
first. I915_PARAM_NUM_FENCES_AVAIL is defined in the i915_drm.h header.
https://gitlab.freedesktop.org/mesa/drm
-Brian
More information about the mesa-users
mailing list