[LLVMdev]Linker error building (modified) lli
Patrick Meredith
pmeredit at uiuc.edu
Thu Feb 24 16:37:53 PST 2005
Linking lli debug executable (without symbols)
/mounts/zion/disks/0/localhome/pmeredit/llvm/lib/Debug/lli-interpreter.o(.te
xt+0x643a): In function
`llvm::Interpreter::callExternalFunction(llvm::Function*,
std::vector<llvm::GenericValue, std::allocator<llvm::GenericValue> >
const&)':
/localhome/pmeredit/llvm/lib/ExecutionEngine/Interpreter/ExternalFunctions.c
pp:98: undefined reference to `llvm::WriteBytecodeToFile(llvm::Module
const*, std::basic_ostream<char, std::char_traits<char> >&)'
collect2: ld returned 1 exit status
make: *** [/mounts/zion/disks/0/localhome/pmeredit/llvm/tools/Debug/lli]
Error 1
So, it's not linking in Writer.o, which is understandable since lli, as is,
has no use for Writer.o. My question is where in this system of Makefiles
are the object files to be linked into lli specified? I've looked through
all the Makefiles and I can't find anything :(
More information about the llvm-dev
mailing list