Re: [Bug-glpk] glpk-4.12 build failure on GNU/Linux

2006-11-09 Thread Claudio Fontana
Hello, --- Andrew Makhorin <[EMAIL PROTECTED]> wrote: > There are two ways to fix the bug. > > 1. Patch configure.in and then run > autoconf/automake. >Thanks to Davide Madrisan > <[EMAIL PROTECTED]> who >provided the patch: > > --- configure.in.orig 2006-11-09 > 09:43:01.0 +

[Bug-glpk] patch to fix the bug in glpk 4.12

2006-11-09 Thread Andrew Makhorin
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 To fix the '-lm' bug in glpk 4.12 just replace the original files 'configure.in' and 'configure' in the glpk distribution by the patched ones included in the attachment. Then configure and compile the package in usual way. -BEGIN PGP SIGNATURE-

Re: [Bug-glpk] glpk-4.12 build failure on GNU/Linux

2006-11-09 Thread Andrew Makhorin
Thank you for your bug report. > I got multiple undefined references to math functions > trying to build glpk-4.12 on GNU/Linux x86, gcc 3.3.4, > binutils 2.15.92, make 3.80. > Maybe a missing -lm ? That is right. There is a bug in configure.in which appears if the configure script detects the GM

[Bug-glpk] can't compile glpk 4.12

2006-11-09 Thread Davide Madrisan
I all. I've got some trouble compiling glpk 4.12 on a Linux box. These are the error messages displayed by make: make[1]: Entering directory `/usr/src/RPM/BUILD/glpk-4.12/examples' gcc -DPACKAGE=\"GLPK\" -DVERSION=\"4.12\" -DHAVE_LIBM=1 -DSTDC_HEADERS=1 -I. -I. -I../include-O2 -fomit-frame

[Bug-glpk] glpk-4.12 build failure on GNU/Linux

2006-11-09 Thread Claudio Fontana
Hello, I got multiple undefined references to math functions trying to build glpk-4.12 on GNU/Linux x86, gcc 3.3.4, binutils 2.15.92, make 3.80. Maybe a missing -lm ? I attach the full build log in plaintext. Bye, Claudio __ Do You Yahoo!? Poco s