[LLVMdev] Linking Errors?

Kevin Gibbs ktgibbs at uiuc.edu
Tue Dec 9 20:19:00 PST 2003


Can anyone help with these crazy linking errors??

 

/home/kgibbs/CS321/CVS/llvm/lib/Debug/vmcore.o(.gnu.linkonce.t._ZN4llvm12Lea
kDetector16addGarbageObjectEPKNS_5ValueE+0xd): In function
`llvm::LeakDetector::addGarbageObject(llvm::Value const*)':

/usr/include/c++/3.2.1/bits/stl_pair.h:148: undefined reference to
`llvm::LeakDetector::addGarbageObjectImpl(llvm::Value const*)'

/home/kgibbs/CS321/CVS/llvm/lib/Debug/vmcore.o(.gnu.linkonce.t._ZN4llvm12Lea
kDetector19removeGarbageObjectEPKNS_5ValueE+0xd): In function
`llvm::LeakDetector::removeGarbageObject(llvm::Value const*)':

/usr/include/c++/3.2.1/bits/stl_pair.h:148: undefined reference to
`llvm::LeakDetector::removeGarbageObjectImpl(llvm::Value const*)'

/home/kgibbs/CS321/CVS/llvm/lib/Debug/vmcore.o(.gnu.linkonce.t._ZN4llvm12Lea
kDetector15checkForGarbageERKSs+0xd): In function
`llvm::LeakDetector::checkForGarbage(std::basic_string<char,
std::char_traits<char>, std::allocator<char> > const&)':

/usr/include/c++/3.2.1/bits/stl_pair.h:148: undefined reference to
`llvm::LeakDetector::checkForGarbageImpl(std::basic_string<char,
std::char_traits<char>, std::allocator<char> > const&)'

collect2: ld returned 1 exit status

 

Thanks,

Kevin

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20031209/eb6c659c/attachment.html>


More information about the llvm-dev mailing list