Hi there,<br><br>I have a question on my linux box where I cant link properly. I've tried configure option --enable-shared or --disable-shared. <br>The following are the message I got. Is there anything I can do to fix this linking/lib problem?<br>
thanks in advance,<br>Tim<br><br>ps.<br>make[3]: Entering directory `/remote/dept5428a/clientstore/timoshiu/timoshiu_esp_main_llvm/obj/lib/Transforms/Hello'<br>llvm[3]: Linking Debug+Asserts Loadable Module LLVMHello.so<br>
/depot/qsc/QSCF/bin/ld: /linux/depot/gcc-4.2.2-static/bin/../lib/gcc/x86_64-redhat-linux/4.2.2/../../../../lib64/libstdc++.a(string-inst.o): relocation R_X86_64_32 against `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::_Rep::_S_empty_rep_storage' can not be used when making a shared object; recompile with -fPIC<br>
/linux/depot/gcc-4.2.2-static/bin/../lib/gcc/x86_64-redhat-linux/4.2.2/../../../../lib64/libstdc++.a:could not read symbols: Bad value<br>collect2: ld returned 1 exit status<br>make[3]: *** [/remote/dept5428a/clientstore/timoshiu/timoshiu_esp_main_llvm/obj/Debug+Asserts/lib/LLVMHello.so] Error 1<br>
make[3]: Leaving directory `/remote/dept5428a/clientstore/timoshiu/timoshiu_esp_main_llvm/obj/lib/Transforms/Hello'<br>make[2]: *** [Hello/.makeall] Error 2<br>make[2]: Leaving directory `/remote/dept5428a/clientstore/timoshiu/timoshiu_esp_main_llvm/obj/lib/Transforms'<br>
make[1]: *** [Transforms/.makeall] Error 2<br>make[1]: Leaving directory `/remote/dept5428a/clientstore/timoshiu/timoshiu_esp_main_llvm/obj/lib'<br>make: *** [all] Error 1<br><br><br clear="all"><br>-- <br>Tim<br>