[LLVMbugs] llvm-as cannot compile

Reid Spencer reid at x10sys.com
Thu Oct 28 14:10:28 PDT 2004


There's multiple issues that could cause this.

First, make sure that ALL your Makefiles are the latest. THere were some late 
breaking fixes last night regarding the naming of certain libraries and 
bcwriter was one of them. You also need to update Makefile.rules to get correct 
dependency fixes.  Finally, if you're building with objdir!=srcdir then you 
need to make sure all your makefiles actually copy across to your objdir. You 
can force this to happen by executing "make preconditions" wherever the 
makefile in your objdir is not the same as your makefile in srcdir.

Reid.

Henrik Bach wrote:
>> From: Chris Lattner <sabre at nondot.org>
>> Date: Thu, 28 Oct 2004 15:39:03 -0500 (CDT)
>>
>> On Thu, 28 Oct 2004, Henrik Bach wrote:
>> > Hi
>> >
>> > Is some one able to tell me, why llvm-as cannot compile?
>> > make[1]: *** [llvm-as/.makeall] Error 2
>> > make[1]: Leaving directory `/C/Projects/build/MinGW/llvm/tools'
>> > make: *** [all] Error 1
>> > ------------------
>>
>> My guess is that you have an inconsistent set of makefiles.  Make sure
>> your llvm-as makefile looks like this:
>>
>>
>> LEVEL = ../..
>> TOOLNAME = llvm-as
>> USEDLIBS = LLVMAsmParser LLVMBCWriter LLVMCore LLVMSupport.a LLVMSystem.a
>> include $(LEVEL)/Makefile.common
>>
>> -Chris
> 
> 
> Yes, my makefile looks like yours.
> 
> _________________________________________________________________
> Få alle de nye og sjove ikoner med MSN Messenger http://messenger.msn.dk/
> 
> _______________________________________________
> LLVMbugs mailing list
> LLVMbugs at cs.uiuc.edu
> http://mail.cs.uiuc.edu/mailman/listinfo/llvmbugs
> 




More information about the llvm-bugs mailing list