Bug 31954 - Mesa fails to build
Summary: Mesa fails to build
Status: RESOLVED INVALID
Alias: None
Product: Mesa
Classification: Unclassified
Component: Drivers/DRI/nouveau (show other bugs)
Version: git
Hardware: Other All
: medium normal
Assignee: Nouveau Project
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-11-27 22:52 UTC by Laura La
Modified: 2012-11-01 22:08 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

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.