[Mesa-dev] Errors during compile mesa-18.0.0

杭中健 ezhongjian at 163.com
Sat Sep 15 01:55:53 UTC 2018


Dear All,

I was trapped when compiling mesa-18.0.0 on Redhat el6.10(kernel: 2.6.32-754.el6.x86_64), and I don't how to fix it.
So I write this mail and asking for help, thanks in advance.

It seems OK during "configure", but fails during "make" and output as follows:

  CC       nouveau_context.lo
  CC       nouveau_driver.lo
  CC       nouveau_fbo.lo
  CC       nouveau_scratch.lo
  CC       nouveau_screen.lo
  CC       nouveau_span.lo
  CC       nouveau_state.lo
  CC       nouveau_surface.lo
  CC       nouveau_texture.lo
  CC       nv04_context.lo
nouveau_screen.c: 在函数‘nouveau_init_screen2’中:
nouveau_screen.c:105:8: 错误:隐式声明函数‘nouveau_drm_new’ [-Werror=implicit-function-declaration]
  ret = nouveau_drm_new(dri_screen->fd, &screen->drm);
        ^~~~~~~~~~~~~~~
nouveau_screen.c:111:8: 错误:隐式声明函数‘nouveau_device_new’ [-Werror=implicit-function-declaration]
  ret = nouveau_device_new(&screen->drm->client, NV_DEVICE,
        ^~~~~~~~~~~~~~~~~~
nouveau_screen.c:111:39: 错误:dereferencing pointer to incomplete type ‘struct nouveau_drm’
  ret = nouveau_device_new(&screen->drm->client, NV_DEVICE,
                                       ^~
nouveau_screen.c: 在函数‘nouveau_destroy_screen’中:
nouveau_screen.c:230:2: 错误:隐式声明函数‘nouveau_drm_del’ [-Werror=implicit-function-declaration]
  nouveau_drm_del(&screen->drm);
  ^~~~~~~~~~~~~~~
cc1:有些警告被当作是错误
make[6]: *** [nouveau_screen.lo] 错误 1
make[6]: *** 正在等待未完成的任务....



Could you give me some help?
Thanks!

Zhongjian Hang
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20180915/8947f0d9/attachment.html>


More information about the mesa-dev mailing list