(Illustration by Gaich Muramatsu)
Quoting Jan Harkes <jaharkes_at_cs.cmu.edu>: > I looked all of this stuff over and configure detected everything > correctly and everything is just as it should be. However it looks like > your linker behaves differently from mine. > > It wants to link for the MD5_Init function which is used in HashSecret, > however HashSecret isn't referenced at all by filerepair. I.e. my linker > seems to automatically discard unused functions in static libraries and > as a result not complain about missing functions. > > Basically this would mean that with your linker, anything that is > linking against LIBBASE also needs to link against LIBCRYPTO. But with > my linker LIBCRYPTO is only necessary whenever we actually use the > HashSecret function. > > I've committed the following patch to CVS that adds the library in > (hopefully) all places. > > Jan Thanks, I'll test this on my machine at home. I'm not sure why my linker would behave badly, it's gcc 3.3.1 compiled from source, so it's gcc's default behaviour (IIRC). -sandalle -- PGP Key Fingerprint: FCFF 26A1 BE21 08F4 BB91 FAED 1D7B 7D74 A8EF DD61 http://search.keyserver.net:11371/pks/lookup?op=get&search=0xA8EFDD61 -----BEGIN GEEK CODE BLOCK----- Version: 3.12 GCS/E/IT$ d-- s++:+>: a-- C++(+++) BL++++VIS>$ P+(++) L+++ E-(---) W++ N+@ o? K? w++++>-- O M-@ V-- PS+(+++) PE(-) Y++(+) PGP++(+) t+() 5++ X(+) R+(++) tv(--)b++(+++) DI+@ D++(+++) G>+++ e>+++ h---(++) r++ y+ ------END GEEK CODE BLOCK------ Eric Sandall | Source Mage GNU/Linux Developer [email protected] | http://www.sourcemage.org/ http://eric.sandall.us/ | SysAdmin @ Inst. Shock Physics @ WSU http://counter.li.org/ #196285 | http://www.shock.wsu.edu/ ---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program.Received on 2003-10-13 14:14:39