From mboxrd@z Thu Jan 1 00:00:00 1970
From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ@public.gmane.org
Subject: [Bug 101335] build failure: nouveau_screen.c:105:8:
error:=?UTF-8?Q?=20implicit=20declaration=20of=20function=20=E2=80=98nouveau=5Fdrm=5Fnew=E2=80=99?=;
Date: Wed, 07 Jun 2017 20:27:36 +0000
Message-ID:
References:
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="===============1742940378=="
Return-path:
In-Reply-To:
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
Errors-To: nouveau-bounces-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org
Sender: "Nouveau"
To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org
List-Id: nouveau.vger.kernel.org
--===============1742940378==
Content-Type: multipart/alternative; boundary="14968672560.FCE435fE9.28919";
charset="UTF-8"
--14968672560.FCE435fE9.28919
Date: Wed, 7 Jun 2017 20:27:36 +0000
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://bugs.freedesktop.org/
Auto-Submitted: auto-generated
https://bugs.freedesktop.org/show_bug.cgi?id=3D101335
--- Comment #1 from Karol Herbst ---
(In reply to David Ronis from comment #0)
> I'm trying to build the git master on an 32 bit machine. The build dies
> with:
>=20
> CC nouveau_surface.lo
> nouveau_screen.c: In function =E2=80=98nouveau_init_screen2=E2=80=99:
> nouveau_screen.c:105:8: error: implicit declaration of function
> =E2=80=98nouveau_drm_new=E2=80=99; did you mean =E2=80=98nouveau_bo_new=
=E2=80=99?
> [-Werror=3Dimplicit-function-declaration]
> ret =3D nouveau_drm_new(dri_screen->fd, &screen->drm);
> ^~~~~~~~~~~~~~~
> nouveau_bo_new
> nouveau_screen.c:111:8: error: implicit declaration of function
> =E2=80=98nouveau_device_new=E2=80=99; did you mean =E2=80=98nouveau_devic=
e_del=E2=80=99?
> [-Werror=3Dimplicit-function-declaration]
> ret =3D nouveau_device_new(&screen->drm->client, NV_DEVICE,
> ^~~~~~~~~~~~~~~~~~
> nouveau_device_del
> nouveau_screen.c:111:39: error: dereferencing pointer to incomplete type
> =E2=80=98struct nouveau_drm=E2=80=99
> ret =3D nouveau_device_new(&screen->drm->client, NV_DEVICE,
> ^~
> CC nouveau_texture.lo
> nouveau_screen.c: In function =E2=80=98nouveau_destroy_screen=E2=80=99:
> nouveau_screen.c:230:2: error: implicit declaration of function
> =E2=80=98nouveau_drm_del=E2=80=99; did you mean =E2=80=98nouveau_bo_ref=
=E2=80=99?
> [-Werror=3Dimplicit-function-declaration]
> nouveau_drm_del(&screen->drm);
> ^~~~~~~~~~~~~~~
> nouveau_bo_ref
> cc1: some warnings being treated as errors
you need to build against drm-next kernel tree or a different tree the modu=
le
is actually based on. Check for the last drm-next commit in the tree.
--=20
You are receiving this mail because:
You are the assignee for the bug.
You are the QA Contact for the bug.=
--14968672560.FCE435fE9.28919
Date: Wed, 7 Jun 2017 20:27:36 +0000
MIME-Version: 1.0
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://bugs.freedesktop.org/
Auto-Submitted: auto-generated
Commen=
t # 1
on bug 10133=
5
from Karol Herbst
(In reply to David Ronis from comment #0)
> I'm trying to build the git master on an 32 bit =
machine. The build dies
> with:
>=20
> CC nouveau_surface.lo
> nouveau_screen.c: In function =E2=80=98nouveau_init_screen2=E2=80=99:
> nouveau_screen.c:105:8: error: implicit declaration of function
> =E2=80=98nouveau_drm_new=E2=80=99; did you mean =E2=80=98nouveau_bo_ne=
w=E2=80=99?
> [-Werror=3Dimplicit-function-declaration]
> ret =3D nouveau_drm_new(dri_screen->fd, &screen->drm);
> ^~~~~~~~~~~~~~~
> nouveau_bo_new
> nouveau_screen.c:111:8: error: implicit declaration of function
> =E2=80=98nouveau_device_new=E2=80=99; did you mean =E2=80=98nouveau_de=
vice_del=E2=80=99?
> [-Werror=3Dimplicit-function-declaration]
> ret =3D nouveau_device_new(&screen->drm->client, NV_DEVICE,
> ^~~~~~~~~~~~~~~~~~
> nouveau_device_del
> nouveau_screen.c:111:39: error: dereferencing pointer to incomplete ty=
pe
> =E2=80=98struct nouveau_drm=E2=80=99
> ret =3D nouveau_device_new(&screen->drm->client, NV_DEVICE,
> ^~
> CC nouveau_texture.lo
> nouveau_screen.c: In function =E2=80=98nouveau_destroy_screen=E2=80=99:
> nouveau_screen.c:230:2: error: implicit declaration of function
> =E2=80=98nouveau_drm_del=E2=80=99; did you mean =E2=80=98nouveau_bo_re=
f=E2=80=99?
> [-Werror=3Dimplicit-function-declaration]
> nouveau_drm_del(&screen->drm);
> ^~~~~~~~~~~~~~~
> nouveau_bo_ref
> cc1: some warnings being treated as errors
you need to build against drm-next kernel tree or a different tree the modu=
le
is actually based on. Check for the last drm-next commit in the tree.
You are receiving this mail because:
- You are the assignee for the bug.
- You are the QA Contact for the bug.
=
--14968672560.FCE435fE9.28919--
--===============1742940378==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: base64
Content-Disposition: inline
X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KTm91dmVhdSBt
YWlsaW5nIGxpc3QKTm91dmVhdUBsaXN0cy5mcmVlZGVza3RvcC5vcmcKaHR0cHM6Ly9saXN0cy5m
cmVlZGVza3RvcC5vcmcvbWFpbG1hbi9saXN0aW5mby9ub3V2ZWF1Cg==
--===============1742940378==--