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

Henrik Bach henrik_bach_llvm at hotmail.com
Tue Dec 14 10:49:43 PST 2004


Hi,

I'm linking tblgen. However, I get below error. I can't figure out what's 
wrong here. Could it be this statement in the Path.h:

        mutable std::string path;   ///< Storage for the path name.

------------------
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
------------------

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/
=============================================================

_________________________________________________________________
Undgå pop-ups med MSN Toolbar -  http://toolbar.msn.dk hent den gratis!




More information about the llvm-dev mailing list