bugzilla-daemon at freedesktop.org
2016-Sep-23  01:51 UTC
[Nouveau] [Bug 97900] New: [regression] nouveau_screen.c:230:2: error: implicit declaration of function ‘nouveau_drm_del’
https://bugs.freedesktop.org/show_bug.cgi?id=97900
            Bug ID: 97900
           Summary: [regression] nouveau_screen.c:230:2: error: implicit
                    declaration of function ‘nouveau_drm_del’
           Product: Mesa
           Version: git
          Hardware: x86 (IA32)
                OS: Linux (All)
            Status: NEW
          Severity: major
          Priority: medium
         Component: Drivers/DRI/nouveau
          Assignee: nouveau at lists.freedesktop.org
          Reporter: David.Ronis at McGill.CA
        QA Contact: nouveau at lists.freedesktop.org
I'm building git-master versions of X and mesa on an x86_64 box running
slackware.   I've been doing this for a long time.  My build fails with:
 CC     nouveau_screen.lo
nouveau_screen.c: In function ‘nouveau_init_screen2’:
nouveau_screen.c:105:8: error: implicit declaration of function
‘nouveau_drm_new’ [-Werror=implicit-function-declaration]
  ret = nouveau_drm_new(dri_screen->fd, &screen->drm);
        ^~~~~~~~~~~~~~~
nouveau_screen.c:111:8: error: implicit declaration of function
‘nouveau_device_new’ [-Werror=implicit-function-declaration]
  ret = nouveau_device_new(&screen->drm->client, NV_DEVICE,
        ^~~~~~~~~~~~~~~~~~
nouveau_screen.c:111:39: error: dereferencing pointer to incomplete type
‘struct nouveau_drm’
  ret = nouveau_device_new(&screen->drm->client, NV_DEVICE,
                                       ^~
nouveau_screen.c: In function ‘nouveau_destroy_screen’:
nouveau_screen.c:230:2: error: implicit declaration of function
‘nouveau_drm_del’ [-Werror=implicit-function-declaration]
  nouveau_drm_del(&screen->drm);
  ^~~~~~~~~~~~~~~
I;ve got the current git/master of xf86-video-nouveau installed.
-- 
You are receiving this mail because:
You are the assignee for the bug.
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<https://lists.freedesktop.org/archives/nouveau/attachments/20160923/e931298d/attachment.html>
bugzilla-daemon at freedesktop.org
2016-Sep-23  01:51 UTC
[Nouveau] [Bug 97900] [regression] nouveau_screen.c:230:2: error: implicit declaration of function ‘nouveau_drm_del’
https://bugs.freedesktop.org/show_bug.cgi?id=97900
David Ronis <David.Ronis at McGill.CA> changed:
           What    |Removed                     |Added
----------------------------------------------------------------------------
           Hardware|x86 (IA32)                  |x86-64 (AMD64)
-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<https://lists.freedesktop.org/archives/nouveau/attachments/20160923/795e8a26/attachment.html>
bugzilla-daemon at freedesktop.org
2016-Sep-23  03:07 UTC
[Nouveau] [Bug 97900] [regression] nouveau_screen.c:230:2: error: implicit declaration of function ‘nouveau_drm_del’
https://bugs.freedesktop.org/show_bug.cgi?id=97900
Ilia Mirkin <imirkin at alum.mit.edu> changed:
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |NOTOURBUG
--- Comment #1 from Ilia Mirkin <imirkin at alum.mit.edu> ---
You have a local issue with your environment.
[A header moved in libdrm, if you don't have proper package management, you
may
be pulling in an old version of nouveau.h]
-- 
You are receiving this mail because:
You are the assignee for the bug.
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<https://lists.freedesktop.org/archives/nouveau/attachments/20160923/4ed499a0/attachment.html>
Apparently Analagous Threads
- [Bug 101335] New: build failure: nouveau_screen.c:105:8: error: implicit declaration of function ‘nouveau_drm_new’;
- [Bug 101199] New: nouveau_screen.c: undefined reference to `nouveau_drm_del'
- [libdrm 06/13] nouveau: introduce object to represent the kernel client
- [Bug 93547] New: Built failed for "Mesa (master): nouveau: remove use of deprecated nouveau_device:: drm_version"
- [libdrm v3 13/14] nouveau: clean up nouveau.h, noting deprecated members/functions