<div>
<br>
Hello EveryOne,
<br>

<br>
I am building customized tools for ARM using a crosscomplier. I am <br>
currently building a tool similar to lli but it only jits code. I <br>
enabled jit when I was configuring LLVM. On linking my code with <br>
help from llvm-config to the libraries I get this error:
<br>

<br>
Can't exec "which": No such file or directory at <br>
llvm2/bin/llvm-config line 69.
<br>
Use of uninitialized value in scalar chomp at llvm2/bin/llvm-config line 70.
<br>
Use of uninitialized value in -e at llvm2/bin/llvm-config line 71.
<br>
/tmp/cc0b5iTo.o: In function `ForceCodegenLinking':
<br>
llvm2/include/llvm/CodeGen/LinkAllCodegenComponents.h:32: undefined <br>
reference to `llvm::createDeadMachineInstructionElimPass()'
<br>
llvm2/include/llvm/CodeGen/LinkAllCodegenComponents.h:34: undefined <br>
reference to `llvm::createSimpleRegisterAllocator()'
<br>
llvm2/include/llvm/CodeGen/LinkAllCodegenComponents.h:35: undefined <br>
reference to `llvm::createLocalRegisterAllocator()'
<br>
llvm2/include/llvm/CodeGen/LinkAllCodegenComponents.h:36: undefined <br>
reference to `llvm::createBigBlockRegisterAllocator()'
<br>
llvm2/include/llvm/CodeGen/LinkAllCodegenComponents.h:38: undefined <br>
reference to `llvm::createPBQPRegisterAllocator()'
<br>
llvm2/include/llvm/CodeGen/LinkAllCodegenComponents.h:42: undefined <br>
reference to `llvm::linkOcamlGC()'
<br>
llvm2/include/llvm/CodeGen/LinkAllCodegenComponents.h:43: undefined <br>
reference to `llvm::linkShadowStackGC()'
<br>
/tmp/cc0b5iTo.o: In function `main':
<br>
VirementJit.cpp:110: undefined reference to <br>
`llvm::sys::PrintStackTraceOnErrorSignal()'
<br>
VirementJit.cpp:122: undefined reference to <br>
`llvm::getBitcodeModuleProvider(llvm::MemoryBuffer*, <br>
std::basic_string<char, std::char_traits=""><char>, <br>
std::allocator<char> >*)'
<br>
/tmp/cc0b5iTo.o: In function `void <br>
llvm::cl::opt_storage<llvm::pluginloader, false,=""><br>
true>::setValue<std::basic_string><char, std::char_traits=""><char>, <br>
std::allocator<char> > >(std::basic_string<char,><br>
std::char_traits<char>, std::allocator<char> > const&)':
<br>
llvm2/include/llvm/Support/CommandLine.h:791: undefined reference <br>
to `llvm::PluginLoader::operator=(std::basic_string<char,><br>
std::char_traits<char>, std::allocator<char> > const&)'
<br>
collect2: ld returned 1 exit status
<br>

<br>

<br>
What am I missing ?
<br>

<br>

<br>

<br>
Thanks 
<br>

<br>
Hannibal
<br>

<br>

<br>

</char></char></char,></char></char></char,></char></char></char,></std::basic_string></llvm::pluginloader,></char></char></char,></div>
<BR>

-- 
<div> Be Yourself @ mail.com!<br>
Choose From 200+ Email Addresses<br>
Get a <b>Free</b> Account at <a href="http://www.mail.com/Product.aspx" target="_blank">www.mail.com</a>!</div>