[ltp] Building Mesa and drm from cvs
Leon Brokken
linux-thinkpad@linux-thinkpad.org
Wed, 03 Aug 2005 11:55:18 +0300
Hi all,
I'm trying to build Mesa and drm from cvs, but get stuck with the error
"No rule to make target `../../../../drm/libdrm/xf86drm.c'". I've
succesfully built Xorg from cvs. Then I got the Mesa cvs tree and the
latest dri-package radeon-20050718-linux.i386.tar.bz2 for my T41 Radeon
7500 (Mobility M7) card (also tried r200, but I think M7 needs radeon).
Building Mesa for 'linux-x86' goes well, but then it doesn't build any
dri drivers. When I try to build Mesa with 'linux-dri' or
'linux-dri-x86' this invariably results in the error below.
What am I missing???
/drm/ directory is alongside /Mesa/
In /Mesa/ I do the following:
bash-3.00# make
Please choose a configuration from the following list:
.
.
linux-dri
.
.
Then type 'make <config>' (ex: 'make linux-x86')
(ignore the following error message)
make: *** [configs/current] Error 1
bash-3.00# make linux-dri
(cd configs && rm -f current && ln -s linux-dri current)
make default
make[1]: Entering directory `/usr/src/Mesa'
make[2]: Entering directory `/usr/src/Mesa/src'
Making sources for linux-dri
mkdir ../lib
make[3]: Entering directory `/usr/src/Mesa/src/glx/x11'
Makefile:115: depend: No such file or directory
make[3]: *** No rule to make target `../../../../drm/libdrm/xf86drm.c',
needed by `depend'. Stop.
make[3]: Leaving directory `/usr/src/Mesa/src/glx/x11'
make[2]: *** [subdirs] Error 1
make[2]: Leaving directory `/usr/src/Mesa/src'
make[1]: *** [default] Error 1
make[1]: Leaving directory `/usr/src/Mesa'
make: *** [linux-dri] Error 2
bash-3.00#
Any hints more than welcome!
Cheers, Leon.
--
Leon J.S. Brokken
Dept. of Anatomy, Inst. of Biomedicine, University of Turku
Tykistökatu 6 A, 20520 Turku, Finland
Tel. +358(0)405845063, Fax +358(0)22502610
--
GnuPG: 0x3C0E8DAE | 1EE8 511D A6D3 9F9C 2F43 EB6E 8387 B051 3C0E 8DAE
--