make[4]: Entering directory `/home/hildeb/mesa/src/gallium/drivers/nouveau' gcc -c -I. -I../../../../src/gallium/include -I../../../../src/gallium/auxiliary -I../../../../src/gallium/drivers -I../../../../src/gallium/drivers/nouveau/include -g -O2 -Wall -Wmissing-prototypes -std=c99 -ffast-math -fvisibility=hidden -fno-strict-aliasing -g -fPIC -D_GNU_SOURCE -DPTHREADS -DDEBUG -DHAVE_POSIX_MEMALIGN -DGLX_USE_TLS -DPTHREADS -DUSE_EXTERNAL_DXTN_LIB=1 -DIN_DRI_DRIVER -DGLX_DIRECT_RENDERING -DGLX_INDIRECT_RENDERING -DHAVE_ALIAS nouveau_screen.c -o nouveau_screen.o nouveau_screen.c: In function ‘nouveau_screen_init’: nouveau_screen.c:239: warning: passing argument 4 of ‘nouveau_channel_alloc’ makes pointer from integer without a cast /usr/include/nouveau/nouveau_channel.h:51: note: expected ‘struct nouveau_channel **’ but argument is of type ‘int’ nouveau_screen.c:239: error: too many arguments to function ‘nouveau_channel_alloc’ make[4]: *** [nouveau_screen.o] Error 1 make[4]: Leaving directory `/home/hildeb/mesa/src/gallium/drivers/nouveau' make[3]: *** [default] Error 1 make[3]: Leaving directory `/home/hildeb/mesa/src/gallium/drivers' make[2]: *** [default] Error 1 make[2]: Leaving directory `/home/hildeb/mesa/src/gallium' make[1]: *** [subdirs] Error 1 make[1]: Leaving directory `/home/hildeb/mesa/src' make: *** [default] Error 1
I happened to encounter the same error as yours, at last I found in the libdrm, in nouveau/nouveau_channel.c, where nouveau_channel_alloc() defined, had only take 3 parameter. So update libdrm and the error should gone.
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.