|
From: | mike.steglich |
Subject: | Re: [Help-glpk] Compiling and linking problems |
Date: | Sun, 18 Mar 2018 17:06:06 +0100 |
Hello Chris, I followed your suggestitions but it failed again: .... .libs/libglpk_la-stdc.o: In function `glp_xgmtime': C:\Users\Mike\Documents\Projekte\CMPL-1-12\Cmpl\data\glpk-4.65\src/env/stdc.c:82: undefined reference to `gmtime_r' .libs/libglpk_la-stdc.o: In function `glp_xstrtok': C:\Users\Mike\Documents\Projekte\CMPL-1-12\Cmpl\data\glpk-4.65\src/env/stdc.c:94: undefined reference to `strtok_r' collect2.exe: error: ld returned 1 exit status make[2]: *** [libglpk.la] Error 1 make[2]: Leaving directory `/Documents/Projekte/CMPL-1-12/Cmpl/data/glpk-4.65/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/Documents/Projekte/CMPL-1-12/Cmpl/data/glpk-4.65' make: *** [all] Error 2 Please find attached config.log … Maybe you can find an issue in it. In the end, it works for me with –disable-reeantrant. Cheers, Mike Von: Chris Matrakidis <address@hidden> Dear Mike, If it isn't too much trouble, please do the following two tests: 1. Call configure (without --disable-reentrant) but before running make, add to config.h the following: #define __WOE__ This is a more blunt version of Heinrich's suggestion, to see if we can make it work. 2. Call the attached modified configure (again without --disable-reentrant). This checks for gmtime_r and strtok_r and disables re-entrancy if not found. Best Regards, Chris Matrakidis |
config.log
Description: Binary data
[Prev in Thread] | Current Thread | [Next in Thread] |