<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - build failure: nouveau_screen.c:105:8: error: implicit declaration of function ‘nouveau_drm_new’;"
href="https://bugs.freedesktop.org/show_bug.cgi?id=101335#c1">Comment # 1</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - build failure: nouveau_screen.c:105:8: error: implicit declaration of function ‘nouveau_drm_new’;"
href="https://bugs.freedesktop.org/show_bug.cgi?id=101335">bug 101335</a>
from <span class="vcard"><a class="email" href="mailto:karolherbst@gmail.com" title="Karol Herbst <karolherbst@gmail.com>"> <span class="fn">Karol Herbst</span></a>
</span></b>
<pre>(In reply to David Ronis from <a href="show_bug.cgi?id=101335#c0">comment #0</a>)
<span class="quote">> I'm trying to build the git master on an 32 bit machine. The build dies
> with:
>
> CC nouveau_surface.lo
> nouveau_screen.c: In function ‘nouveau_init_screen2’:
> nouveau_screen.c:105:8: error: implicit declaration of function
> ‘nouveau_drm_new’; did you mean ‘nouveau_bo_new’?
> [-Werror=implicit-function-declaration]
> ret = nouveau_drm_new(dri_screen->fd, &screen->drm);
> ^~~~~~~~~~~~~~~
> nouveau_bo_new
> nouveau_screen.c:111:8: error: implicit declaration of function
> ‘nouveau_device_new’; did you mean ‘nouveau_device_del’?
> [-Werror=implicit-function-declaration]
> ret = nouveau_device_new(&screen->drm->client, NV_DEVICE,
> ^~~~~~~~~~~~~~~~~~
> nouveau_device_del
> nouveau_screen.c:111:39: error: dereferencing pointer to incomplete type
> ‘struct nouveau_drm’
> ret = nouveau_device_new(&screen->drm->client, NV_DEVICE,
> ^~
> CC nouveau_texture.lo
> nouveau_screen.c: In function ‘nouveau_destroy_screen’:
> nouveau_screen.c:230:2: error: implicit declaration of function
> ‘nouveau_drm_del’; did you mean ‘nouveau_bo_ref’?
> [-Werror=implicit-function-declaration]
> nouveau_drm_del(&screen->drm);
> ^~~~~~~~~~~~~~~
> nouveau_bo_ref
> cc1: some warnings being treated as errors</span >
you need to build against drm-next kernel tree or a different tree the module
is actually based on. Check for the last drm-next commit in the tree.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
<li>You are the QA Contact for the bug.</li>
</ul>
</body>
</html>