[LLVMdev] Linking tblgen: undefined reference to `llvm::sys::Path::Path(std::string)'
reid at x10sys.com
Tue Dec 14 11:12:21 PST 2004
Yeah, that's confirmed. Make sure you update include/llvm/System/Path.h
and the contents of lib/System then make clean and rebuild. Should fix
On Tue, 2004-12-14 at 11:10, Chris Lattner wrote:
> On Tue, 14 Dec 2004, Henrik Bach wrote:
> > llvm: Linking Debug executable tblgen
> > c:/projects/build/MinGW/llvm-1-1/utils/TableGen/Debug/TableGen.o(.text+0x19da):
> > In function `main':
> > c:/projects/src/llvm-1/llvm/utils/TableGen/TableGen.cpp:429: undefined
> > reference to `llvm::sys::Path::Path(std::string)'
> > collect2: ld returned 1 exit status
> > make: *** [/C/projects/build/MinGW/llvm-1-1/Debug/bin/tblgen.exe] Error 1
> > ------------------
> The Path ctor changed from taking a string by value to a string by const
> reference. It's possible that you have stale .o files compiled with the
> old prototype. Can you try updating your tree, doing a make clean, then
> trying again?
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 189 bytes
Desc: This is a digitally signed message part
More information about the llvm-dev