From mboxrd@z Thu Jan 1 00:00:00 1970
From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ@public.gmane.org
Subject: =?utf-8?q?=5BBug_97900=5D_New=3A_=5Bregression=5D_nouve?=
=?utf-8?q?au=5Fscreen=2Ec=3A230=3A2=3A_error=3A__implicit_declaration_of_?=
=?utf-8?b?ZnVuY3Rpb24g4oCYbm91dmVhdV9kcm1fZGVs4oCZ?=
Date: Fri, 23 Sep 2016 01:51:05 +0000
Message-ID:
Bug ID
97900
Summary
[regression] nouveau_screen.c:230:2: error: implicit declarat=
ion of function =E2=80=98nouveau_drm_del=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 building git-master versions of X and mesa on an x86_64 bo=
x running
slackware. I've been doing this for a long time. My build fails with:
CC nouveau_screen.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 [-Werror=3Dimplicit-function-declaration]
ret =3D nouveau_drm_new(dri_screen->fd, &screen->drm);
^~~~~~~~~~~~~~~
nouveau_screen.c:111:8: error: implicit declaration of function
=E2=80=98nouveau_device_new=E2=80=99 [-Werror=3Dimplicit-function-declarati=
on]
ret =3D nouveau_device_new(&screen->drm->client, NV_DEVICE,
^~~~~~~~~~~~~~~~~~
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,
^~
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 [-Werror=3Dimplicit-function-declaration]
nouveau_drm_del(&screen->drm);
^~~~~~~~~~~~~~~
I;ve got the current git/master of xf86-video-nouveau installed.