[Ipopt] Missing random generator function using Cygwin 64

Giacomo Nannicini giacomo.n at gmail.com
Sun Jul 26 12:57:45 EDT 2015

Hi all,
sorry for unburying this old post: I have the same problem with Linux
Mint (Ubuntu) and GCC 4.8.4.
I have Ipopt 3.12, which is the version that comes with Bonmin 1.8.3.
The workaround in IpUtils.cpp (lines 179 and 200) can be easily
modified to work with GCC 4.8.4, but you may want to fix it in trunk
as well if it's not already there.


On Fri, Jul 4, 2014 at 1:10 PM, Tony Kelman <kelman at berkeley.edu> wrote:
> I know where it’s coming from, and it would also go away by upgrading
> autotools since this char *p = (char *) rand; method isn’t used in autoconf
> for checking the existence of a function any more. The mystery is why
> something that was a warning in GCC 4.8.2 (and everywhere else, except I
> think clang on Linux) would become an error in GCC 4.8.3 without changing
> any compiler flags. And whether that’s a Cygwin-only quirk, or would happen
> elsewhere. If it happens elsewhere, then it’s more of an issue and should
> maybe be reported to GCC as a regression since we’re not the only project in
> the world still using old autotools.
> -Tony
> From: Ted Ralphs
> Sent: Thursday, July 03, 2014 8:49 PM
> To: Stefan Vigerske
> Cc: Tony Kelman ; ipopt
> Subject: Re: [Ipopt] Missing random generator function using Cygwin 64
> I've replicated this on the Windows box I have on Jenkins. You can get all
> the build logs etc from there:
> http://jenkins.coin-or.org:8080/job/all-t-dll-x86_64-pc-cygwin-gcc4.8.1/135/console
> Upgrading to 4.9.0 should fix the problem, as Stefan indicated, but I'll
> leave it on 4.8.3 to try to chase down the problem. Incidentally, I upgraded
> to 4.8.3 to try to fix what seemed to be a bug in 4.8.1 that was preventing
> OS from building.
> Cheers,
> Ted
> Cheers,
> Ted

More information about the Ipopt mailing list