[Mesa-dev] Is the pure-make build system still supported?
Brad King
brad.king at kitware.com
Fri Jun 1 11:55:25 PDT 2012
On 06/01/2012 10:06 AM, Brian Paul wrote:
> On 06/01/2012 07:32 AM, Brad King wrote:
>> undefined reference to `_mesa_x86_64_transform_points4_3d'
>> undefined reference to `_mesa_3dnow_transform_points4_perspective'
>> undefined reference to `_mesa_x86_64_transform_points4_identity'
>> undefined reference to `_mesa_x86_64_transform_points4_general'
>> undefined reference to `_mesa_3dnow_transform_points4_2d'
>> undefined reference to `_mesa_x86_64_cpuid'
>> undefined reference to `_mesa_3dnow_transform_points4_2d_no_rot'
>> undefined reference to `_mesa_3dnow_transform_points4_3d_no_rot'
>>
> The old makefile system is going away.
Okay, thanks for confirming. I'll switch to autotools.
> ./autogen.sh --disable-dri --enable-xlib-glx --enable-osmesa
Thanks, that got me started. I ended up using
./autogen.sh --disable-dri --disable-egl --enable-xlib-glx \
--enable-osmesa --without-gallium-drivers
However, I still get the above undefined symbols on x86_64 when
linking to the resulting GL library. The patch below (also in
my previous post) solves it. It seems configs/* is still in use
even by the autotools system.
-Brad
diff --git a/configs/linux-x86-64 b/configs/linux-x86-64
index c2441e0..81bb36b 100644
--- a/configs/linux-x86-64
+++ b/configs/linux-x86-64
@@ -6,7 +6,7 @@ CONFIG_NAME = linux-x86-64
ARCH_FLAGS = -m64
-MESA_ASM_SOURCES = $(X86-64_SOURCES)
+MESA_ASM_FILES = $(X86_64_FILES)
GLAPI_ASM_SOURCES = $(X86-64_API)
ASM_FLAGS = -DUSE_X86_64_ASM
More information about the mesa-dev
mailing list