[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-glpk] Re: [Help-glpk] glp_ios_del_row

From: Nigel Galloway
Subject: [Bug-glpk] Re: [Help-glpk] glp_ios_del_row
Date: Mon, 28 Jun 2010 20:24:49 +0400


I was using the binary version for Windows, so I almost just blamed Xyperon (Do 
I have to appologize for thoughts?). However I tried to compile it myself on 
windows using MinGW and my own makefiles. The problem persists.

Is the problem that in glpios.h _glp_ios_del_row is defined thus:

#define ios_del_row _glp_ios_del_row
void ios_del_row(glp_tree *tree, IOSPOOL *pool, int i);
/* remove row (constraint) from the cut pool */

but it is defined without IOSPOOL *pool in glpapi13.c

void glp_ios_del_row(glp_tree *tree, int i)
{     /* remove row (constraint) from the cut pool */



> ----- Original Message -----
> From: Andrew Makhorin <address@hidden>
> To: Andrew Makhorin <address@hidden>
> Cc: Nigel Galloway <address@hidden>, address@hidden, address@hidden
> Subject: Re: [Help-glpk] glp_ios_del_row
> Date: Sat, 26 Jun 2010 05:15:56 +0400
> >> Please do me a favour and look at glp_ios_del_row.
> >> When I attempt to compile test.cpp the linker generates the following
> >> error:
> >> Error: Unresolved external '_glp_ios_del_row' referenced from 
> >> I think glp_ios_del_row is the only procedure I have a problem with.
> >> I expect the extern "c" modifier is faulty somewhere.
> > It is a bug. Glp_ios_del_row is placed in src/glpapi13.c which is
> > missing in Makefile. Please add glpapi13.c to libglpk_la_SOURCES list
> > in src/Makefile.am and then rebuild the package. Note that you need
> > to have the gnu autotools installed. Thanks.
> Oops, it is present in Makefile at least in v.4.43 and v.4.44.
> Try to rebuild the package; glp_ios_del_row must be there.


Surf the Web in a faster, safer and easier way:
Download Opera 9 at http://www.opera.com

reply via email to

[Prev in Thread] Current Thread [Next in Thread]