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: Joe Koski
Subject: Errors with glpk on a Mac G5
Date: Fri, 15 Sep 2006 20:00:41 -0600
User-agent: Microsoft-Entourage/11.2.5.060620

Hi. I'm back.

I noticed on the help list that glpk is a new dependency for octave-2.9.x,
so I downloaded and built glpk on my Mac G5 with OS X 10.4.7 and Xcode-2.4
developer tools. The configure, build, install of glpk went OK, so I tried
to rebuild octave-2.9.8 with glpk included.

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

real    13m51.981s
user    21m29.780s
sys     4m20.363s

Note that I included one line before the error. Thjs looks like a possible
missing header to me. Is this a glpk problem, an octave problem, a
big-endian problem or a gcc problem? Note that Xcode-2.4 has Apple's
gcc-4.0.1.

Any ideas (other than to sell my Mac and buy a Linux box)? Thanks.

Joe




reply via email to

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