<div dir="ltr"><div><div>hi,<br><br></div>my old code compiles well on 3.1, but fails on 3.2.<br></div>the compile error is like below.<br><br><br><div><div><div>...<br>g++ -o vc main.o `llvm-config --libs all --ldflags`<br>

/usr/lib/libLLVMSupport.a(Signals.o): In function `PrintStackTrace(void*)':<br>Signals.cpp:(.text+0x6c8): undefined reference to `dladdr'<br>Signals.cpp:(.text+0x749): undefined reference to `dladdr'<br>collect2: error: ld returned 1 exit status<br>

make: *** [vc] Error 1<br><br><br></div><div>this is on Ubuntu 12.4, 64-bit. any idea on how to fix this?<br><br></div><div>thanks.<br></div><div>Jun<br></div></div></div></div>