Bug 94020

Summary: xf86-video-intel fails to build with all tags except master tag
Product: xorg Reporter: Humberto Israel Perez Rodriguez <humberto.i.perez.rodriguez>
Component: Driver/intelAssignee: Chris Wilson <chris>
Status: RESOLVED MOVED QA Contact: Intel GFX Bugs mailing list <intel-gfx-bugs>
Severity: major    
Priority: medium CC: humberto.i.perez.rodriguez
Version: unspecified   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:

Description Humberto Israel Perez Rodriguez 2016-02-06 06:46:36 UTC
sna_driver.c: In function 'sna_handle_uevents':
sna_driver.c:799:6: error: implicit declaration of function 'fstat' [-Werror=implicit-function-declaration]
  if (fstat(sna->kgem.fd, &s) || memcmp(&s.st_rdev, &udev_devnum, sizeof (dev_t))) {
      ^
sna_driver.c:799:2: warning: nested extern declaration of 'fstat' [-Wnested-externs]
  if (fstat(sna->kgem.fd, &s) || memcmp(&s.st_rdev, &udev_devnum, sizeof (dev_t))) {
  ^
cc1: some warnings being treated as errors
Makefile:643: recipe for target 'sna_driver.lo' failed
make[4]: *** [sna_driver.lo] Error 1
make[4]: *** Waiting for unfinished jobs....
make[4]: Leaving directory '/home/gfx/intel-graphics/xf86-video-intel/src/sna'
Makefile:662: recipe for target 'all-recursive' failed
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory '/home/gfx/intel-graphics/xf86-video-intel/src/sna'
Makefile:607: recipe for target 'all-recursive' failed
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory '/home/gfx/intel-graphics/xf86-video-intel/src'
Makefile:477: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/gfx/intel-graphics/xf86-video-intel'
Makefile:409: recipe for target 'all' failed
make: *** [all] Error 2
Comment 1 Martin Peres 2019-11-27 13:42:04 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/xorg/driver/xf86-video-intel/issues/85.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.