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 +
-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-
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
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
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