Compilation regression (mesa/drm)

He, Shuang shuang.he at
Sat Aug 9 23:49:58 PDT 2008

Magnus Kessler wrote:
> When compiling the current git HEAD of mesa/drm I get the following 
> compilation error with gcc 4.3.1 (64-bit):
> drm/linux-core/i915_gem_tiling.c: In 
> function ‘i915_gem_detect_bit_6_swizzle’:
> drm/linux-core/i915_gem_tiling.c:118: error: implicit declaration of 
> function ‘pci_read_base’
> Am I missing some recent version of a pci related supporting library 
> (pciutils and/or libpciaccess)?
> Best Regards,
> Magnus Kessler
Seems i915 module compilation is broken for mesa/drm master branch.
You could file a bug for that.
The compilation error is caused by the drm drm-gem branch merged into
If you want to use GEM, you probably need to use Anholt's kernel tree,
building with drm module configure to be included:

git:// drm-gem-merge

> ------------------------------------------------------------------------
> _______________________________________________
> xorg mailing list
> xorg at

More information about the xorg mailing list