From mboxrd@z Thu Jan 1 00:00:00 1970
From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ@public.gmane.org
Subject: [Bug 101335] New: 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:19:16 +0000
Message-ID:
Bug ID
101335
Summary
build failure: nouveau_screen.c:105:8: error: implicit decla=
ration of function =E2=80=98nouveau_drm_new=E2=80=99;
Product
Mesa
Version
git
Hardware
x86 (IA32)
OS
Linux (All)
Status
NEW
Severity
major
Priority
medium
Component
Drivers/DRI/nouveau
Assignee
nouveau@lists.freedesktop.org
Reporter
David.Ronis@McGill.CA
QA Contact
nouveau@lists.freedesktop.org
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 =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_device_=
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