|
From: STEVE555 <ste...@ho...> - 2009-03-20 22:16:19
|
Hi to all,
I have been compling Mesa from git using autoconf for sometime,I
have been pulling the lastest updates from the repository regulary.I have
been running into problems recently from a recent change in the
repository.Here is the link to the cahnge I'm talking about:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=e00ae524e236afba1305150cacd634eaa1f5460b
Here are the ./configure options I'm using with ./configure:
./configure --prefix=/usr --sbindir=/usr/sbin
----oldincludedir=/usr/include --x-includes=/usr/include
--x-libraries=/usr/lib --enable-32-bit --enable-xcb --enable-glx-tls
--enable-gallium-nouveau --with-x --with-dri-driverdir=/usr/lib/dri
--with-xorg-driver-dir=/usr/lib/xorg/modules/drivers
I keep running into this error at the end with make after ./configure
finishes:
gmake[5]: Entering directory `/tmp/mesa/src/gallium/winsys/drm/nouveau/dri'
gcc -c -I. -I../../../../../../src/mesa/drivers/dri/common -Iserver
-I../../../../../../include -I../../../../../../include/GL/internal
-I../../../../../../src/gallium/include
-I../../../../../../src/gallium/auxiliary
-I../../../../../../src/gallium/drivers
-I../../../../../../src/gallium/winsys/common -I../../../../../../src/mesa
-I../../../../../../src/mesa/main -I../../../../../../src/mesa/glapi
-I../../../../../../src/mesa/math -I../../../../../../src/mesa/transform
-I../../../../../../src/mesa/shader -I../../../../../../src/mesa/swrast
-I../../../../../../src/mesa/swrast_setup -I../../../../../../src/egl/main
-I../../../../../../src/egl/drivers/dri -I/usr/include/drm -g -O2 -Wall
-Wmissing-prototypes -std=c99 -ffast-math -fno-strict-aliasing -m32 -fPIC
-DUSE_X86_ASM -DUSE_MMX_ASM -DUSE_3DNOW_ASM -DUSE_SSE_ASM -D_GNU_SOURCE
-DPTHREADS -DHAVE_POSIX_MEMALIGN -DUSE_XCB -DGLX_USE_TLS -DPTHREADS
-DUSE_EXTERNAL_DXTN_LIB=1 -DIN_DRI_DRIVER -DGLX_DIRECT_RENDERING
-DGLX_INDIRECT_RENDERING -DHAVE_ALIAS -I/usr/include/drm
-I/usr/include/nouveau nouveau_context.c -o nouveau_context.o
gcc -c -I. -I../../../../../../src/mesa/drivers/dri/common -Iserver
-I../../../../../../include -I../../../../../../include/GL/internal
-I../../../../../../src/gallium/include
-I../../../../../../src/gallium/auxiliary
-I../../../../../../src/gallium/drivers
-I../../../../../../src/gallium/winsys/common -I../../../../../../src/mesa
-I../../../../../../src/mesa/main -I../../../../../../src/mesa/glapi
-I../../../../../../src/mesa/math -I../../../../../../src/mesa/transform
-I../../../../../../src/mesa/shader -I../../../../../../src/mesa/swrast
-I../../../../../../src/mesa/swrast_setup -I../../../../../../src/egl/main
-I../../../../../../src/egl/drivers/dri -I/usr/include/drm -g -O2 -Wall
-Wmissing-prototypes -std=c99 -ffast-math -fno-strict-aliasing -m32 -fPIC
-DUSE_X86_ASM -DUSE_MMX_ASM -DUSE_3DNOW_ASM -DUSE_SSE_ASM -D_GNU_SOURCE
-DPTHREADS -DHAVE_POSIX_MEMALIGN -DUSE_XCB -DGLX_USE_TLS -DPTHREADS
-DUSE_EXTERNAL_DXTN_LIB=1 -DIN_DRI_DRIVER -DGLX_DIRECT_RENDERING
-DGLX_INDIRECT_RENDERING -DHAVE_ALIAS -I/usr/include/drm
-I/usr/include/nouveau nouveau_screen.c -o nouveau_screen.o
gcc -c -I. -I../../../../../../src/mesa/drivers/dri/common -Iserver
-I../../../../../../include -I../../../../../../include/GL/internal
-I../../../../../../src/gallium/include
-I../../../../../../src/gallium/auxiliary
-I../../../../../../src/gallium/drivers
-I../../../../../../src/gallium/winsys/common -I../../../../../../src/mesa
-I../../../../../../src/mesa/main -I../../../../../../src/mesa/glapi
-I../../../../../../src/mesa/math -I../../../../../../src/mesa/transform
-I../../../../../../src/mesa/shader -I../../../../../../src/mesa/swrast
-I../../../../../../src/mesa/swrast_setup -I../../../../../../src/egl/main
-I../../../../../../src/egl/drivers/dri -I/usr/include/drm -g -O2 -Wall
-Wmissing-prototypes -std=c99 -ffast-math -fno-strict-aliasing -m32 -fPIC
-DUSE_X86_ASM -DUSE_MMX_ASM -DUSE_3DNOW_ASM -DUSE_SSE_ASM -D_GNU_SOURCE
-DPTHREADS -DHAVE_POSIX_MEMALIGN -DUSE_XCB -DGLX_USE_TLS -DPTHREADS
-DUSE_EXTERNAL_DXTN_LIB=1 -DIN_DRI_DRIVER -DGLX_DIRECT_RENDERING
-DGLX_INDIRECT_RENDERING -DHAVE_ALIAS -I/usr/include/drm
-I/usr/include/nouveau nouveau_swapbuffers.c -o nouveau_swapbuffers.o
gcc -c -I. -I../../../../../../src/mesa/drivers/dri/common -Iserver
-I../../../../../../include -I../../../../../../include/GL/internal
-I../../../../../../src/gallium/include
-I../../../../../../src/gallium/auxiliary
-I../../../../../../src/gallium/drivers
-I../../../../../../src/gallium/winsys/common -I../../../../../../src/mesa
-I../../../../../../src/mesa/main -I../../../../../../src/mesa/glapi
-I../../../../../../src/mesa/math -I../../../../../../src/mesa/transform
-I../../../../../../src/mesa/shader -I../../../../../../src/mesa/swrast
-I../../../../../../src/mesa/swrast_setup -I../../../../../../src/egl/main
-I../../../../../../src/egl/drivers/dri -I/usr/include/drm -g -O2 -Wall
-Wmissing-prototypes -std=c99 -ffast-math -fno-strict-aliasing -m32 -fPIC
-DUSE_X86_ASM -DUSE_MMX_ASM -DUSE_3DNOW_ASM -DUSE_SSE_ASM -D_GNU_SOURCE
-DPTHREADS -DHAVE_POSIX_MEMALIGN -DUSE_XCB -DGLX_USE_TLS -DPTHREADS
-DUSE_EXTERNAL_DXTN_LIB=1 -DIN_DRI_DRIVER -DGLX_DIRECT_RENDERING
-DGLX_INDIRECT_RENDERING -DHAVE_ALIAS -I/usr/include/drm
-I/usr/include/nouveau nouveau_lock.c -o nouveau_lock.o
/bin/sh ../../../../../../bin/mklib -noprefix -o nouveau_dri.so \
../../../../../../src/mesa/drivers/dri/common/utils.o
../../../../../../src/mesa/drivers/dri/common/vblank.o
../../../../../../src/mesa/drivers/dri/common/dri_util.o
../../../../../../src/mesa/drivers/dri/common/xmlconfig.o nouveau_context.o
nouveau_screen.o nouveau_swapbuffers.o nouveau_lock.o
../../../../../../src/gallium/winsys/drm/nouveau/drm/libnouveaudrm.a
../../../../../../src/gallium/drivers/nv04/libnv04.a
../../../../../../src/gallium/drivers/nv10/libnv10.a
../../../../../../src/gallium/drivers/nv20/libnv20.a
../../../../../../src/gallium/drivers/nv30/libnv30.a
../../../../../../src/gallium/drivers/nv40/libnv40.a
../../../../../../src/gallium/drivers/nv50/libnv50.a
../../../../../../src/mesa/libmesagallium.a
../../../../../../src/gallium/auxiliary/draw/libdraw.a
../../../../../../src/gallium/auxiliary/translate/libtranslate.a
../../../../../../src/gallium/auxiliary/cso_cache/libcso_cache.a
../../../../../../src/gallium/auxiliary/pipebuffer/libpipebuffer.a
../../../../../../src/gallium/auxiliary/tgsi/libtgsi.a
../../../../../../src/gallium/auxiliary/sct/libsct.a
../../../../../../src/gallium/auxiliary/rtasm/librtasm.a
../../../../../../src/gallium/auxiliary/util/libutil.a -ldrm -lexpat
-lm -lpthread -ldl -ldrm_nouveau
mklib: Making Linux shared library: nouveau_dri.so
/bin/sh ../../../../../../bin/minstall nouveau_dri.so
../../../../../../lib/gallium
gmake[5]: Leaving directory `/tmp/mesa/src/gallium/winsys/drm/nouveau/dri'
gmake[5]: Entering directory `/tmp/mesa/src/gallium/winsys/drm/nouveau/dri2'
../../Makefile.template:124: depend: No such file or directory
rm -f depend
touch depend
/usr/bin/makedepend -fdepend -I/usr/lib/gcc/i586-redhat-linux/4.4.0/include
-I. -I../../../../../../src/mesa/drivers/dri/common -Iserver
-I../../../../../../include -I../../../../../../include/GL/internal
-I../../../../../../src/gallium/include
-I../../../../../../src/gallium/auxiliary
-I../../../../../../src/gallium/drivers
-I../../../../../../src/gallium/winsys/common -I../../../../../../src/mesa
-I../../../../../../src/mesa/main -I../../../../../../src/mesa/glapi
-I../../../../../../src/mesa/math -I../../../../../../src/mesa/transform
-I../../../../../../src/mesa/shader -I../../../../../../src/mesa/swrast
-I../../../../../../src/mesa/swrast_setup -I../../../../../../src/egl/main
-I../../../../../../src/egl/drivers/dri -I/usr/include/drm
../../../../../../src/mesa/drivers/dri/common/utils.c
../../../../../../src/mesa/drivers/dri/common/vblank.c
../../../../../../src/mesa/drivers/dri/common/dri_util.c
../../../../../../src/mesa/drivers/dri/common/xmlconfig.c \
2> /dev/null
gmake[5]: Leaving directory `/tmp/mesa/src/gallium/winsys/drm/nouveau/dri2'
gmake[5]: Entering directory `/tmp/mesa/src/gallium/winsys/drm/nouveau/dri2'
gmake[5]: *** No rule to make target
`../../../../../../src/gallium/state_trackers/dri2/libdri2drm.a', needed by
`nouveau_dri2.so'. Stop.
gmake[5]: Leaving directory `/tmp/mesa/src/gallium/winsys/drm/nouveau/dri2'
gmake[4]: *** [default] Error 1
gmake[4]: Leaving directory `/tmp/mesa/src/gallium/winsys/drm/nouveau'
gmake[3]: *** [default] Error 1
gmake[3]: Leaving directory `/tmp/mesa/src/gallium/winsys/drm'
gmake[2]: *** [default] Error 1
gmake[2]: Leaving directory `/tmp/mesa/src/gallium/winsys'
make[1]: *** [subdirs] Error 1
make[1]: Leaving directory `/tmp/mesa/src'
make: *** [default] Error
>From the message header in the cahnge I'm talking about,I quote:
drm_api is a set of hooks used by the dri2 state tracker, this wraps our
dri1 code around the same set of hooks.
"Currently the dri2 build will produce nouveau_dri2.so which you'll need
to install as nouveau_dri.so if you wish to try it. The dri2 state
tracker doesn't make it easy for a driver to support both paths in the
same binary."
Can somebody tell me how to change the revelant file form which directory so
I can compile Mesa with Nouveau support agian? or should I wait patiently
wait for the next round of updates to the repository so it can build
successfully again?
Regards,
STEVE555
--
View this message in context: http://www.nabble.com/Compliling-Mesa-tp22629643p22629643.html
Sent from the mesa3d-users mailing list archive at Nabble.com.
|