evan@hermes:~/mesa$ make
Making all in src
make[1]: Entering directory '/home/evan/mesa/src'
Making all in gtest
make[2]: Entering directory '/home/evan/mesa/src/gtest'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/home/evan/mesa/src/gtest'
Making all in loader
make[2]: Entering directory '/home/evan/mesa/src/loader'
CC libloader_la-loader.lo
loader.c: In function 'udev_device_new_from_fd':
loader.c:141:16: error: storage size of 'buf' isn't known
struct stat buf;
^
loader.c:145:8: error: implicit declaration of function 'fstat' [-Werror=implicit-function-declaration]
if (fstat(fd, &buf) < 0) {
^
loader.c:141:16: warning: unused variable 'buf' [-Wunused-variable]
struct stat buf;
^
cc1: some warnings being treated as errors
Makefile:569: recipe for target 'libloader_la-loader.lo' failed
make[2]: *** [libloader_la-loader.lo] Error 1
make[2]: Leaving directory '/home/evan/mesa/src/loader'
Makefile:549: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/evan/mesa/src'
Makefile:600: recipe for target 'all-recursive' failed
make: *** [all-recursive] Error 1