Yeah, I can see how that would be happening, but for some reason I'm not 
seeing it here.  I'll get on it ASAP.

-Brian

José Fonseca wrote:
> Hi Brian,
> 
> This commit is causing undefined _mesa_transform_vector symbol when
> building a pure-software xlib (with linux-debug). It is referred by
> several of the sources in main, which are also used for gallium.
> 
> I need to do this to build:
> 
> diff --git a/src/mesa/sources.mak b/src/mesa/sources.mak
> index 1bd8150..3a563ce 100644
> --- a/src/mesa/sources.mak
> +++ b/src/mesa/sources.mak
> @@ -331,3 +331,3 @@ MESA_GALLIUM_SOURCES = \
>         $(MAIN_SOURCES)         \
> -       $(MATH_SOURCES)         \
> +       $(MATH_XFORM_SOURCES)   \
>         $(VBO_SOURCES)          \
> 
> Perhaps there is a missing commit, or I am doing something wrong?
> 
> Jose
> 
> On Wed, 2009-02-11 at 13:12 -0800, Brian Paul wrote:
>> Module: Mesa
>> Branch: master
>> Commit: da4f933eb2544b62daf0b3c3bd8e16277dd64117
>> URL:    
>> http://cgit.freedesktop.org/mesa/mesa/commit/?id=da4f933eb2544b62daf0b3c3bd8e16277dd64117
>>
>> Author: Brian Paul <[email protected]>
>> Date:   Wed Feb 11 13:59:54 2009 -0700
>>
>> mesa: refactor MATH_SOURCES, remove Mesa x86 codegen from gallium build
>>
>> Omit math/m_xform.c from gallium builds since it's not used and it's the
>> one place we were pulling in the Mesa x86 codegen which collides with
>> gallium's x86 codegen.
>>
>> Can now omit ASM_C_SOURCES from gallium build too.
>>
>> ---
>>
>>  src/mesa/sources.mak |    8 +++++---
>>  1 files changed, 5 insertions(+), 3 deletions(-)
>>
>> diff --git a/src/mesa/sources.mak b/src/mesa/sources.mak
>> index dfafbc9..1bd8150 100644
>> --- a/src/mesa/sources.mak
>> +++ b/src/mesa/sources.mak
>> @@ -88,7 +88,10 @@ MATH_SOURCES = \
>>      math/m_eval.c \
>>      math/m_matrix.c \
>>      math/m_translate.c \
>> -    math/m_vector.c \
>> +    math/m_vector.c
>> +
>> +MATH_XFORM_SOURCES = \
>> +    $(MATH_SOURCES) \
>>      math/m_xform.c
>>  
>>  SWRAST_SOURCES = \
>> @@ -309,7 +312,7 @@ COMMON_DRIVER_SOURCES =                  \
>>  
>>  MESA_SOURCES = \
>>      $(MAIN_SOURCES)         \
>> -    $(MATH_SOURCES)         \
>> +    $(MATH_XFORM_SOURCES)   \
>>      $(VBO_SOURCES)          \
>>      $(TNL_SOURCES)          \
>>      $(SHADER_SOURCES)       \
>> @@ -330,7 +333,6 @@ MESA_GALLIUM_SOURCES = \
>>      $(VBO_SOURCES)          \
>>      $(STATETRACKER_SOURCES) \
>>      $(SHADER_SOURCES)       \
>> -    $(ASM_C_SOURCES)        \
>>      $(SLANG_SOURCES)
>>  
>>
>>
>> _______________________________________________
>> mesa-commit mailing list
>> [email protected]
>> http://lists.freedesktop.org/mailman/listinfo/mesa-commit
> 
> .
> 


------------------------------------------------------------------------------
_______________________________________________
Mesa3d-dev mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mesa3d-dev

Reply via email to