grep poptHelpOptions * -r reveals that this variable/function is not used in the code at all. nm -D /usr/lib64/libpopt.so.0 |less reveals that poptHelpOptions is a variable only.
Check for the used (lanserv/lanserv.c and lanserv/ipmi_sim.c) poptGetContext function instead whether the popt library functions are available. Signed-off-by: Thomas Renninger <[email protected]> diff -wruN -x '*~' -x '*.o' -x '*.a' -x '*.so' -x '*.so.[0-9]' -x autom4te.cache -x .deps -x .libs ../orig-OpenIPMI-2.0.20-rc3/configure.in ./configure.in --- ../orig-OpenIPMI-2.0.20-rc3/configure.in 2013-10-04 09:38:40.754850007 +0200 +++ ./configure.in 2013-10-04 09:40:32.959464727 +0200 @@ -297,7 +297,7 @@ fi if test "x$POPTLIBS" = "x"; then - AC_CHECK_LIB(popt, poptHelpOptions, POPTLIBS=-lpopt) + AC_CHECK_LIB(popt, poptGetContext, POPTLIBS=-lpopt) if test "x$POPTLIBS" = ""; then echo "Could not find the popt library" exit 1 ------------------------------------------------------------------------------ CenturyLink Cloud: The Leader in Enterprise Cloud Services. Learn Why More Businesses Are Choosing CenturyLink Cloud For Critical Workloads, Development Environments & Everything In Between. Get a Quote or Start a Free Trial Today. http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk _______________________________________________ Openipmi-developer mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/openipmi-developer
