[LLVMdev] Linking tblgen: undefined reference to`llvm::sys::Path::Path(std::string)'

Henrik Bach henrik_bach_llvm at hotmail.com
Tue Dec 14 11:54:57 PST 2004


Hi,

Done and new errors arise :)

Henrik.

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

e-mail: henrik_bach_llvm at hotmail.com
=============================================================
Got Freedom?
Software Freedom Day 2004 - 28th of August
http://www.softwarefreedomday.org/
=============================================================




----Original Message Follows----
From: Reid Spencer <reid at x10sys.com>
Reply-To: LLVM Developers Mailing List <llvmdev at cs.uiuc.edu>
To: LLVM Developers Mailing List <llvmdev at cs.uiuc.edu>
Subject: Re: [LLVMdev] Linking tblgen: undefined reference 
to`llvm::sys::Path::Path(std::string)'
Date: Tue, 14 Dec 2004 11:12:21 -0800

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
it

Reid.

On Tue, 2004-12-14 at 11:10, Chris Lattner wrote:
 > On Tue, 14 Dec 2004, Henrik Bach wrote:
 > > llvm[2]: 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[2]: *** [/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?
 >
 > -Chris
<< signature.asc >>
_______________________________________________
LLVM Developers mailing list
LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
http://mail.cs.uiuc.edu/mailman/listinfo/llvmdev

_________________________________________________________________
Del din verden med MSN Spaces http://spaces.msn.com




More information about the llvm-dev mailing list