Bruce Dubbs wrote:
> Andrew Benton wrote:
>> On Fri, 09 Dec 2011 23:58:04 -0600
>> Bruce Dubbs <[email protected]> wrote:
>>
>>> Now on to Mesa-7.11.2.
>>> It fails in make.  There are evidently incompatible changes in llvm 3.0.
>>>
>>> gallivm/lp_bld_debug.cpp:30:40: fatal error: 
>>> llvm/Target/TargetRegistry.h: No such file
>>>
>>> http://lists.freedesktop.org/archives/mesa-dev/2011-September/011639.html 
>>>
>>>
>>> but that's not enough.  There are other failures.  I'll try backing 
>>> up to llvm-2.9 tomorrow.
>>
>> I've made a patch that you could try:
>> http://www.linuxfromscratch.org/patches/downloads/MesaLib/Mesa-7.11.2-llvm-3.0-1.patch
>>  
>>
>>
>> It compiles but I've not tested it.
> 
> Did you get this from git?  Personally, I think it would be better to 
> not be quite so bleeding edge.  What that does is basically use the 
> non-released package.  I think it would be better to back up for now and 
> then update both llvm and mesa when upstream releases compatible packages.

I may be changing my mind about the patch, but it needs to be renamed:

MesaLib-7.11.2-llvm_3.0-1.patch
     ^^^            ^

I can do that.

Right now, I think we need to address the xdemos patch.  The Makefile 
doesn't handle XORG_PREFIX properly.

What is there now is:
---------
TOP = ..

include $(TOP)/configs/current

default: glxinfo glxgears

glxgears:
   $(CC) -I$(TOP)/include -L$(TOP)/$(LIB_DIR) -lGL -lX11 -lm -o glxgears 
glxgears.c

glxinfo:
   $(CC) -I$(TOP)/include -L$(TOP)/$(LIB_DIR) -lGL -lX11 -lm -o glxinfo 
glxinfo.c
-------

But what we need is:

-------
TOP = ..

include $(TOP)/configs/current
XDEMOS_LIBS = -L$(TOP)/$(LIB_DIR) -lGL $(X11_LIBS) -lm

default: glxinfo glxgears

glxgears:
   $(CC) -I$(TOP)/include $(XDEMOS_LIBS) -o glxgears glxgears.c

glxinfo:
   $(CC) -I$(TOP)/include $(XDEMOS_LIBS) -o glxinfo glxinfo.c
--------

I can do that too.

   -- Bruce
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to