octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Errors with glpk on a Mac G5


From: John W. Eaton
Subject: Errors with glpk on a Mac G5
Date: Fri, 15 Sep 2006 23:35:27 -0400

On 15-Sep-2006, Joe Koski wrote:

| The build went well, but near the end I got an error:
| 
| g++ -c  -I. -I.. -I../liboctave -I../src -I../libcruft/misc -DHAVE_CONFIG_H
| -Wall -W -Wshadow -g -O2 __gnuplot_raw__.cc -o __gnuplot_raw__.o
| g++ -c  -I. -I.. -I../liboctave -I../src -I../libcruft/misc  -DHAVE_CONFIG_H
| -Wall -W -Wshadow -Wold-style-cast -g -O2 ./DLD-FUNCTIONS/__glpk__.cc -o
| __glpk__.o
| <stdout>: In function 'int yy_get_next_buffer()':
| <stdout>:1274: warning: comparison between signed and unsigned integer
| expressions
| ./DLD-FUNCTIONS/__glpk__.cc: In function 'int glpk(int, int, int, double*,
| int, int*, int*, double*, double*, char*, int*, double*, int*, double*,
| int*, int, int, int, double*, double*, double*, double*, double*, double*,
| double*)':
| ./DLD-FUNCTIONS/__glpk__.cc:183: error: 'lpx_set_obj_coef' was not declared
| in this scope
| ./DLD-FUNCTIONS/__glpk__.cc:228: error: 'lpx_load_matrix' was not declared
| in this scope
| ./DLD-FUNCTIONS/__glpk__.cc:232: error: 'lpx_write_cpxlp' was not declared
| in this scope
| ./DLD-FUNCTIONS/__glpk__.cc:292: error: 'lpx_mip_status' was not declared in
| this scope
| ./DLD-FUNCTIONS/__glpk__.cc:293: error: 'lpx_mip_obj_val' was not declared
| in this scope
| ./DLD-FUNCTIONS/__glpk__.cc:304: error: 'lpx_ipt_status' was not declared in
| this scope
| ./DLD-FUNCTIONS/__glpk__.cc:305: error: 'lpx_ipt_obj_val' was not declared
| in this scope
| ./DLD-FUNCTIONS/__glpk__.cc:312: error: 'lpx_mip_col_val' was not declared
| in this scope
| ./DLD-FUNCTIONS/__glpk__.cc:320: error: 'lpx_get_col_prim' was not declared
| in this scope
| ./DLD-FUNCTIONS/__glpk__.cc:322: error: 'lpx_ipt_col_prim' was not declared
| in this scope
| ./DLD-FUNCTIONS/__glpk__.cc:329: error: 'lpx_get_row_dual' was not declared
| in this scope
| ./DLD-FUNCTIONS/__glpk__.cc:331: error: 'lpx_ipt_row_dual' was not declared
| in this scope
| ./DLD-FUNCTIONS/__glpk__.cc:338: error: 'lpx_get_col_dual' was not declared
| in this scope
| ./DLD-FUNCTIONS/__glpk__.cc:340: error: 'lpx_ipt_col_dual' was not declared
| in this scope
| make[2]: *** [__glpk__.o] Error 1
| make[2]: *** Waiting for unfinished jobs....
| make[1]: *** [src] Error 2
| make: *** [all] Error 2

On my system it looks like all these symbols are defined in the file
glplpx.h.  That file is included by glpk.h, which is what __glpk__.cc
includes, so there should be no need to include glplpx.h directly in
__glpk__.cc.

jwe


reply via email to

[Prev in Thread] Current Thread [Next in Thread]