Bug 31954

Summary: Mesa fails to build
Product: Mesa Reporter: Laura La <lauralucasalday>
Component: Drivers/DRI/nouveauAssignee: Nouveau Project <nouveau>
Status: RESOLVED INVALID QA Contact:
Severity: normal    
Priority: medium    
Version: git   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description Laura La 2010-11-27 22:52:31 UTC
Building Mesa after cloning git repository I get this error:

$./autogen.sh --with-dri-drivers=nouveau

...

nouveau_context.c: In function ‘nouveau_context_init’:
nouveau_context.c:132: 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_context.c:132: error: too many arguments to function ‘nouveau_channel_alloc’
make[6]: *** [nouveau_context.o] Error 1


My guess is this commit has something to do, but I could be wrong:


http://cgit.freedesktop.org/mesa/mesa/commit/?id=c25fcf5aa5beccd7731706b8f85682170a2eca56
Comment 1 Vinson Lee 2010-11-28 00:47:10 UTC
Please retry with a more recent version of libdrm.

http://cgit.freedesktop.org/mesa/drm

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.