[LLVMdev] Error while linking Tablegen

Matthias Heine m1.heine at gmx.de
Wed Nov 28 06:26:42 PST 2007


Hi there,

I've been trying to build llvm2.1 this week. I remembered succeeding in 
doing that a month ago or so. I am kind of puzzled, what I'm doing wrong 
this time. I'm working on a x86/linux system. I've tried several 
gcc-versions (3.3, 3.4, 4.1, 4.2).
make stops with the following error message:

collect2: ld returned 1 exit status
make[2]: *** [/my/folder/llvm-2.1/Release/bin/tblgen] Fehler 1
make[2]: Leaving directory `/nt/14/mhe/llvm-2.1/utils/TableGen'
make[1]: *** [TableGen/.makeall] Fehler 2
make[1]: Leaving directory `/nt/14/mhe/llvm-2.1/utils'
make: *** [all] Error 1

There are quite a lot of errors displayed, definitely too many to post 
them in detail.
Generally they are undefined references to several expressions like:
`std::basic_string<char, std::char_traits<char>, std::allocator<char> 
 >::append(char const*, unsigned int)'
in Signal.cpp for instance. Further files listed up are TimeValue.cpp 
and Path.cpp.

I'd be thankful for any ideas, hints or flames!

Cheers
Matthias Heine





More information about the llvm-dev mailing list