Undefined references

Hi LLVMers,

I can't figure out why these errors exits:

Hi LLVMers,
I can't figure out why these errors exits:

undefined reference to `llvm::TerminatorInst::TerminatorInst(llvm::Instruction::TermOps, llvm::BasicBlock*)'

My guess is that there was a conflict or something when you cvs updated, and you have some old and some new files (or something).

Either that or you have stale .o files.

-Chris

c:/projects/build/MinGW/llvm-4-1/Debug/lib/LLVMProfilePaths.o(.text$_ZN4llvm10BranchInstC1EPNS_10BasicBlockES2_PNS_5ValueES2_+0x82):c:/MinGW/bin/../lib/gcc/mingw32/3.4.1/../../../../include/c++/3.4.1/ext/new_allocator.h: undefined reference to `llvm::BranchInst::init(llvm::BasicBlock*, llvm::BasicBlock*, llvm::Value*)'
c:/projects/build/MinGW/llvm-4-1/Debug/lib/LLVMScalarOpts.o(.text$_ZN4llvm10UnwindInstC1EPNS_10BasicBlockE+0x1c): In function `ZN4llvm14TerminatorInstD2Ev':
c:/projects/src/llvm-4/llvm/include/llvm/Instructions.h: undefined reference to `llvm::TerminatorInst::TerminatorInst(llvm::Instruction::TermOps, llvm::BasicBlock*)'
c:/projects/build/MinGW/llvm-4-1/Debug/lib/LLVMScalarOpts.o(.text$_ZN4llvm15UnreachableInstC1EPNS_10BasicBlockE+0x1c):c:/projects/src/llvm-4/llvm/include/llvm/Instructions.h: undefined reference to `llvm::TerminatorInst::TerminatorInst(llvm::Instruction::TermOps, llvm::BasicBlock*)'
collect2: ld returned 1 exit status
-------------------------

Henrik.

=============================================================
Henrik Bach
LLVM Open Source Developer

e-mail: henrik_bach_llvm at hotmail.com

'Nothing is impossible; The impossible just takes longer time :)'
- Inventor of a new energy saver light bulp from Denmark.

No software patents - Thank you Poland: http://www.nosoftwarepatents.com/en/m/intro/app0411.html
Got Freedom?
Software Freedom Day - 28th of August
http://www.softwarefreedomday.org/

_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today - it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/

_______________________________________________
LLVM Developers mailing list
LLVMdev@cs.uiuc.edu http://llvm.cs.uiuc.edu
http://mail.cs.uiuc.edu/mailman/listinfo/llvmdev

-Chris