|
编译准备:
sudo apt-get install build-essential xorg-dev mesa-common-dev
编译:
cd libdrm-2.4.27
./configure --prefix=/usr
make
sudo make install
cd xf86-video-intel-2.17.0
./configure --prefix=/usr
make
xf86-video-intel-2.17.0
到第二个make后出错,提示如下:
- intel_dri.c: In function 'I830DRI2CreateBuffer':
- intel_dri.c:343: error: 'DRI2BufferHiz' undeclared (first use in this function)
- intel_dri.c:343: error: (Each undeclared identifier is reported only once
- intel_dri.c:343: error: for each function it appears in.)
- make[3]: *** [intel_dri.lo] 错误 1
- make[3]: Leaving directory `/home/ysm/downfile/xf86-video-intel-2.17.0/src'
- make[2]: *** [all-recursive] 错误 1
- make[2]: Leaving directory `/home/ysm/downfile/xf86-video-intel-2.17.0/src'
- make[1]: *** [all-recursive] 错误 1
- make[1]: Leaving directory `/home/ysm/downfile/xf86-video-intel-2.17.0'
- make: *** [all] 错误 2
复制代码 |
|