From: Bennett T. <be...@ra...> - 2005-03-30 14:54:08
|
I built ipmitool-1.6.0 for Bent Linux, which uses strictly static linking with uClibc. To do so, after a normal ./configure, I had to make 'LIBS=-lcrypto -lreadline -lcurses' because you had the libs out of order, you had -lcurses -lreadline. With dynamic linking, library order isn't important. With static linking, you need to name the libs in order such that dependencies are present to notify the linker it needs to include objects as it passes through the libs. -lreadline has routines that you are calling, and those routines bring in dependencies on routines that are in -lcurses. If you could switch the order in configure, I think that'd fix that. -Bennett |