glpk 4.32 problem

John W. Eaton jwe at bevo.che.wisc.edu
Wed Oct 29 11:41:28 CDT 2008


On 30-Oct-2008, ggl329 at gmail.com wrote:

| 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 ??)

What happens if these functions are omitted and we are using an older
version of glpk?  Can they be called?  If so, what is the default
action if the hook is not defined?

jwe


More information about the Bug-octave mailing list