Seems that there is a typo in the source that stops this application from compiling. Not sure if this is a Gentoo bug or an upstream bug (if I get time I'll do a bit more investigation). Reproducible: Always Steps to Reproduce: 1. emerge -av1 =xf86-video-nouveau-0.0.16_pre20101010 2. wait for compiler error 3. Actual Results: Errors out with the message: nv_dma.c: In function 'NVInitDma': nv_dma.c:75: warning: passing argument 4 of 'nouveau_channel_alloc' makes integer from pointer without a cast /usr/include/nouveau/nouveau_channel.h:51: note: expected 'int' but argument is of type 'struct nouveau_channel **' nv_dma.c:75: error: too few arguments to function 'nouveau_channel_alloc' Expected Results: The driver should compile and install cleanly without error.
Created attachment 251947 [details] Build Log
Created attachment 251949 [details] emerge --info
What is your version of libdrm?
I am using libdrm-9999. I've tried updating it but I will also try dropping to a more stable release and see if that changes anything.
There has been a libdrm interface break after the 2.4.22 release. Presently if you want to use one of mesa,libdrm,xf86-video-nouveau from git, you must install all from git.
That was the problem. Thanks for the assistance.
I just installed x11-libs/libdrm-2.4.23 and media-libs/mesa-7.9 and x11-drivers/xf86-video-nouveau-0.0.16_pre20101010 could not be compiled, Back to x11-libs/libdrm-2.4.22 and everything works fine again. what is the recommended solution? thanks.
(In reply to comment #7) > I just installed x11-libs/libdrm-2.4.23 and media-libs/mesa-7.9 and > x11-drivers/xf86-video-nouveau-0.0.16_pre20101010 could not be compiled, > > Back to x11-libs/libdrm-2.4.22 and everything works fine again. Same here, ~x86. > what is the recommended solution? > thanks. >
Please report a new bug if you are seeing build errors with the latest stable or ~arch packages. The latest ~arch packages are at the time of writing: xf86-video-nouveau-0.0.16_pre20101130 libdrm-2.4.23 mesa-7.9-r1