Hi, I keep getting this error during compilation: llvm[2]: ======= Finished Linking Debug Executable llvm-dis llvm[2]: Compiling opt.cpp for Debug build llvm[2]: Linking Debug executable opt /usr/bin/ld: Undefined symbols: llvm::PATypeHolder::get() const collect2: ld returned 1 exit status make[2]: *** [/Users/wendling/llvm/llvm/Debug/bin/opt] Error 1 make[1]: *** [opt/.makeall] Error 2 make: *** [all] Error 1 Is there something wrong with my sandbox? Is there a way to complete clean the build area? Thanks! -bw
It's GCC 3.4.3 and the CVS tree...It could be that there are files just laying around that need to be cleaned up...But when I run "make clean" and do a rebuild, I get the same error... -bw On Wed, 16 Mar 2005 22:12:32 -0600 (CST), Chris Lattner <sabre at nondot.org> wrote:> On Wed, 16 Mar 2005, Bill Wendling wrote: > > > Hi, > > > > I keep getting this error during compilation: > > > > llvm[2]: ======= Finished Linking Debug Executable llvm-dis > > llvm[2]: Compiling opt.cpp for Debug build > > llvm[2]: Linking Debug executable opt > > /usr/bin/ld: Undefined symbols: > > llvm::PATypeHolder::get() const > > collect2: ld returned 1 exit status > > make[2]: *** [/Users/wendling/llvm/llvm/Debug/bin/opt] Error 1 > > make[1]: *** [opt/.makeall] Error 2 > > make: *** [all] Error 1 > > > > Is there something wrong with my sandbox? Is there a way to complete > > clean the build area? > > Hi Bill, > > This is really wierd. What compiler are you building with and what > version of LLVM, 1.4 or CVS? > > -Chris > > -- > http://nondot.org/sabre/ > http://llvm.cs.uiuc.edu/ >
On Wed, 16 Mar 2005, Bill Wendling wrote:> Hi, > > I keep getting this error during compilation: > > llvm[2]: ======= Finished Linking Debug Executable llvm-dis > llvm[2]: Compiling opt.cpp for Debug build > llvm[2]: Linking Debug executable opt > /usr/bin/ld: Undefined symbols: > llvm::PATypeHolder::get() const > collect2: ld returned 1 exit status > make[2]: *** [/Users/wendling/llvm/llvm/Debug/bin/opt] Error 1 > make[1]: *** [opt/.makeall] Error 2 > make: *** [all] Error 1 > > Is there something wrong with my sandbox? Is there a way to complete > clean the build area?Hi Bill, This is really wierd. What compiler are you building with and what version of LLVM, 1.4 or CVS? -Chris -- http://nondot.org/sabre/ http://llvm.cs.uiuc.edu/