glpk 4.32 problem

ggl329 at gmail.com ggl329 at gmail.com
Wed Oct 29 11:00:50 CDT 2008


Has glpk 4.32 problem been solved? This is an information for the problem.

In glpk 4.32, libglpk_la_LDFLAGS is defined in glpk-4.32/src/Makefile.in
as follows.

  libglpk_la_LDFLAGS = -version-info 17:0:17 \
  -export-symbols-regex '^(glp_|_glp_lpx_).*'

So, _glp_lib_fault_hook won't be exported. A workaround is to remove
-export-symbols-regex option from glpk-4.32/src/Makefile.in (also from
Makefile.am ?).

In glpk-4.32/include/glplib.h, _glp_lib_fault_hook is marked as obsolete.

  #define lib_fault_hook _glp_lib_fault_hook
  void lib_fault_hook(int (*func)(void *info, char *buf), void *info);
  /* (obsolete) */

_glp_lib_print_hook is also obsolete. An essential solution is to remove
two hook functions from src/DLD-FUNCTIONS/glpk.
(lib_term_hook or _glp_lib_term_hook can be used in place of them ??)

Regards,

-- 
  ggl329 at gmail.com


More information about the Bug-octave mailing list