[Apologies for not making this a proper reply: I found this apparently
unanswered in the archive.]
I had exactly the same problem building Mesa, and managed to resolve it.
The intel_bufmgr.h is part of libdrm, but it is built and installed only
if the configure probe decides that the compiler supports atomic
operations. The probe does the right thing, but gcc (maybe only some
versions?) defaults to building for i386, and does not support atomic
operations when building for i386.
To fix, rebuild libdrm after configuring with an appropriate architecture
flag. I have a Pentium, so for me it was:
.. but check the appropriate arch flag for your processor.
If it works, you should see in the configure output something like this:
checking for native atomic primitives... Intel
.. and a make/make install should now install include/intel_bufmgr.h,
which should allow your Mesa build to progress further.
Hugo van der Sanden
Get latest updates about Open Source Projects, Conferences and News.