Brian Paul wrote:
> Brice Goglin wrote:
>> Dan Nicholson wrote:
>>> This commit adds the necessary libraries for the programs in each
>>> specific Makefile. Previously, all programs were linked with libraries
>>> listed in the $(APP_LIB_DEPS) variable. This effectively meant that the
>>> libraries to link into applications was hardcoded. Instead, the contents
>>> of $(APP_LIB_DEPS) should be reserved for generic or platform-specific
>>> libraries.
>>>
>>> This change helps in places like progs/xdemos, which don't require
>>> libglut and may not have been built.
>>>   
>>
>> Hi,
>>
>> While building Mesa 7.0.2 for Debian, I got an link error in 
>> progs/xdemos/
>> because it was trying to link with libGLU which wasn't built. Since these
>> programs don't seem to need libGLU at all (it worked fine without it
>> earlier), I don't understand why you added -l$(GLU_LIB) to LIBS below.
> 
> Actually, xdemos/offset.c uses libGLU, but that dependency could be 
> easily removed.  I'll look into it.

The yuvrect_client.c program needs GLU too.

You said that libGLU wasn't built.  It should be.  It's included in the 
MesaLib tarball.  Maybe you can look into why it wasn't built...

-Brian

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Mesa3d-dev mailing list
Mesa3d-dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mesa3d-dev

Reply via email to