Hello, I'm trying to install glpk-4.2 (source file: glpk-4.2.tar.gz) and I need help. THe extraction and configure steps work fine but when I enter 'make' I keep getting the following errors:
[EMAIL PROTECTED] glpk-4.2]$ make Making all in include make[1]: Entering directory `/home/harun/optimize/glpk-4.2/include' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/home/harun/optimize/glpk-4.2/include' Making all in src make[1]: Entering directory `/home/harun/optimize/glpk-4.2/src' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/home/harun/optimize/glpk-4.2/src' Making all in examples make[1]: Entering directory `/home/harun/optimize/glpk-4.2/examples' gcc -g -O2 -o glpsol glpsol.o ../src/libglpk.a ../src/libglpk.a(glpmpl3.o): In function `glp_mpl_fp_power': /home/harun/optimize/glpk-4.2/src/glpmpl3.c:165: undefined reference to `log' /home/harun/optimize/glpk-4.2/src/glpmpl3.c:165: undefined reference to `log' /home/harun/optimize/glpk-4.2/src/glpmpl3.c:165: undefined reference to `log' /home/harun/optimize/glpk-4.2/src/glpmpl3.c:165: undefined reference to `log' /home/harun/optimize/glpk-4.2/src/glpmpl3.c:171: undefined reference to `log' ../src/libglpk.a(glpmpl3.o):/home/harun/optimize/glpk-4.2/src/glpmpl3.c:17 1: more undefined references to `log' follow ../src/libglpk.a(glpmpl3.o): In function `glp_mpl_fp_power': /home/harun/optimize/glpk-4.2/src/glpmpl3.c:174: undefined reference to `pow' ../src/libglpk.a(glpmpl3.o): In function `glp_mpl_fp_exp': /home/harun/optimize/glpk-4.2/src/glpmpl3.c:184: undefined reference to `log' /home/harun/optimize/glpk-4.2/src/glpmpl3.c:186: undefined reference to `exp' ../src/libglpk.a(glpmpl3.o): In function `glp_mpl_fp_log': /home/harun/optimize/glpk-4.2/src/glpmpl3.c:197: undefined reference to `log' ../src/libglpk.a(glpmpl3.o): In function `glp_mpl_fp_log10': /home/harun/optimize/glpk-4.2/src/glpmpl3.c:208: undefined reference to `log10' collect2: ld returned 1 exit status make[1]: *** [glpsol] Error 1 make[1]: Leaving directory `/home/harun/optimize/glpk-4.2/examples' make: *** [all-recursive] Error 1 I don't know what this means - do you have any idea what the problem is? My gcc and linux versions are given below: gcc version 2.96 20000731 (Red Hat Linux 7.3 2.96-113) uname gives: Linux 2.4.20-28.7 I'll be much obliged if you could help me with this issue. Thank you for your attention and have a nice day. Harun Koku Graduate Student University of Delaware Chemical Engineering Dept. _______________________________________________ Help-glpk mailing list [email protected] http://lists.gnu.org/mailman/listinfo/help-glpk
