[prev in list] [next in list] [prev in thread] [next in thread] 

List:       mesa3d-dev
Subject:    Re: [Mesa3d-dev] [PATCH] Fix missing sl_pp_* and sl_cl_* symbols
From:       Adam K Kirchhoff <adamk () voicenet ! com>
Date:       2009-12-23 18:57:37
Message-ID: 4B326821.8080401 () voicenet ! com
[Download RAW message or body]

Brian Paul wrote:
> On Mon, Dec 21, 2009 at 8:09 PM, Robert Noland <rnoland@2hip.net> wrote:
>   
>> Signed-off-by: Robert Noland <rnoland@2hip.net>
>> ---
>>  src/mesa/drivers/dri/Makefile.template |    5 ++++-
>>  1 files changed, 4 insertions(+), 1 deletions(-)
>>
>> diff --git a/src/mesa/drivers/dri/Makefile.template b/src/mesa/drivers/dri/Makefile.template
>> index 39d25ce..39a23b7 100644
>> --- a/src/mesa/drivers/dri/Makefile.template
>> +++ b/src/mesa/drivers/dri/Makefile.template
>> @@ -2,6 +2,9 @@
>>
>>  MESA_MODULES = $(TOP)/src/mesa/libmesa.a
>>
>> +GLSL_MODULES = $(TOP)/src/glsl/cl/libglslcl.a \
>> +              $(TOP)/src/glsl/pp/libglslpp.a
>> +
>>  COMMON_GALLIUM_SOURCES = \
>>         ../common/utils.c \
>>         ../common/vblank.c \
>> @@ -71,7 +74,7 @@ $(LIBNAME): $(OBJECTS) $(MESA_MODULES) $(EXTRA_MODULES) $(WINOBJ) Makefile \
>>                $(TOP)/src/mesa/drivers/dri/Makefile.template
>>        $(MKLIB) -o $@ -noprefix -linker '$(CC)' -ldflags '$(LDFLAGS)' \
>>                $(OBJECTS) $(MESA_MODULES) $(EXTRA_MODULES) $(WINOBJ) \
>> -               $(DRI_LIB_DEPS)
>> +               $(GLSL_MODULES) $(DRI_LIB_DEPS)
>>
>>
>>  $(TOP)/$(LIB_DIR)/$(LIBNAME): $(LIBNAME)
>> --
>>     
>
>
> This patch shouldn't be needed.  The libglslcl.a and libglslpp.a
> archives get included in the libmesa.a archive already.
>
> Things run OK here as-is.
>
> -

Without this patch, r600_dri.so gives an undefined symbol for 
'sl_pp_context_create' on FreeBSD 9.0-CURRENT amd64 and i386.  With this 
patch, it works fine.  Perhaps that patch shouldn't be  needed, but it 
certain is needed here :-)

Adam


------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
Mesa3d-dev mailing list
Mesa3d-dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mesa3d-dev
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic