------- Additional Comments From funtoos at yahoo dot com 2005-07-01 21:52 ------- I hit this error in openssl with gcc 4 and binutils 2.16.1:
../libcrypto.so: undefined reference to [EMAIL PROTECTED]' ../libcrypto.so: undefined reference to [EMAIL PROTECTED]' ../libcrypto.so: undefined reference to [EMAIL PROTECTED]' ../libcrypto.so: undefined reference to [EMAIL PROTECTED]' And the workaround I mentioned about libtool actually works. just remove '-lc -ldl' from link line of libcrypto.so and other links work fine after that. it seems that -shared and -lc (or -ldl) are not playing nice together on solaris, only on 10+ though. solaris 9 has no such problem. Why does linking shared library require -lc on link line? also, I should mention that same openssl package compiles fine on solaris 10 with gcc using /usr/ccs/ tools instead of binutils. original gcc 3.4.3 on the install was built with /usr/ccs/bin/ld. -- http://sources.redhat.com/bugzilla/show_bug.cgi?id=1031 ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is. _______________________________________________ bug-binutils mailing list bug-binutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-binutils