[LLVMdev] opt can not load module

Chris Lattner sabre at nondot.org
Fri Nov 15 16:55:00 PST 2002


> I just recompiled the opt executable, but when trying to load a
> dynamic module I get the following error:
> Any ideas?

You must link opt to the datastructure library for this to work.  To do
this, add the string "datastructure" somewhere near the beginning of the
USEDLIBS option in tools/opt/Makefile.

-Chris

-- 
http://llvm.cs.uiuc.edu/
http://www.nondot.org/~sabre/Projects/




More information about the llvm-dev mailing list