[Nouveau] [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?=;

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Jun 7 20:19:16 UTC 2017


https://bugs.freedesktop.org/show_bug.cgi?id=101335

            Bug ID: 101335
           Summary: build failure:  nouveau_screen.c:105:8: error:
                    implicit declaration of function ‘nouveau_drm_new’;
           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 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

-- 
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/20170607/2d0ba639/attachment-0001.html>


More information about the Nouveau mailing list