https://bugs.freedesktop.org/show_bug.cgi?id=27612
Summary: Mesa 7.8.1 does not compile against libdrm 2.4.20 Product: Mesa Version: unspecified Platform: Other OS/Version: Linux (All) Status: NEW Severity: normal Priority: medium Component: Other AssignedTo: mesa3d-dev@lists.sourceforge.net ReportedBy: evors...@gmail.com I have a compile error that's a bit weird. MesaLib 7.8.1 compiled fine against libdrm 2.4.20, but then failed to compile again when I re-built my entire system. When I downgraded libdrm from 2.4.20 to 2.4.19, I was again able to build MesaLib 7.8.1 Here is the last line from the compile error: gcc -c -I. -I../../../../../src/mesa/drivers/dri/common -Iserver -I../../../../../include -I../../../../../src/mesa -I../../../../../src/egl/main -I../../../../../src/egl/drivers/dri -I/usr/include/drm -I/usr/include/libdrm -Wall -Wmissing-prototypes -std=c99 -ffast-math -O3 -march=core2 -O2 -pipe -fno-strict-aliasing -fPIC -m32 -mmmx -msse -msse2 -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE -D_BSD_SOURCE -D_GNU_SOURCE -DPTHREADS -DUSE_EXTERNAL_DXTN_LIB=1 -DIN_DRI_DRIVER -DGLX_DIRECT_RENDERING -DGLX_INDIRECT_RENDERING -DHAVE_ALIAS -DHAVE_POSIX_MEMALIGN -DUSE_X86_ASM -DUSE_MMX_ASM -DUSE_3DNOW_ASM -DUSE_SSE_ASM -fno-strict-aliasing -I../intel -I../intel/server -DI915 -DDRM_VBLANK_FLIP=DRM_VBLANK_FLIP intel_buffer_objects.c -o intel_buffer_objects.o intel_buffer_objects.c: In function 'intel_buffer_purgeable': intel_buffer_objects.c:600: error: 'I915_MADV_DONTNEED' undeclared (first use in this function) intel_buffer_objects.c:600: error: (Each undeclared identifier is reported only once intel_buffer_objects.c:600: error: for each function it appears in.) intel_buffer_objects.c: In function 'intel_buffer_unpurgeable': intel_buffer_objects.c:669: error: 'I915_MADV_WILLNEED' undeclared (first use in this function) make[7]: *** [intel_buffer_objects.o] Error 1 make[7]: Leaving directory `/usr/src/sorcery/MesaLib/Mesa-7.8.1/src/mesa/drivers/dri/i915' make[6]: *** [lib] Error 2 make[6]: Leaving directory `/usr/src/sorcery/MesaLib/Mesa-7.8.1/src/mesa/drivers/dri/i915' make[5]: *** [subdirs] Error 1 make[5]: Leaving directory `/usr/src/sorcery/MesaLib/Mesa-7.8.1/src/mesa/drivers/dri' make[4]: *** [default] Error 1 make[4]: Leaving directory `/usr/src/sorcery/MesaLib/Mesa-7.8.1/src/mesa/drivers' make[3]: *** [driver_subdirs] Error 2 make[3]: Leaving directory `/usr/src/sorcery/MesaLib/Mesa-7.8.1/src/mesa' make[2]: *** [subdirs] Error 1 make[2]: Leaving directory `/usr/src/sorcery/MesaLib/Mesa-7.8.1/src' make[1]: *** [default] Error 1 make[1]: Leaving directory `/usr/src/sorcery/MesaLib/Mesa-7.8.1' make: *** [linux-dri-x86] Error 2 ! Problem Detected ! -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Mesa3d-dev mailing list Mesa3d-dev@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mesa3d-dev