octave-maintainers
[Top][All Lists]
Advanced

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

RE: Errors with glpk on a Mac G5


From: Joe Koski
Subject: RE: Errors with glpk on a Mac G5
Date: Mon, 18 Sep 2006 09:22:38 -0600
User-agent: Microsoft-Entourage/11.2.5.060620

on 9/16/06 2:54 PM, John W. Eaton at address@hidden wrote:

> On 16-Sep-2006, Joe Koski wrote:
> 
> | on 9/15/06 9:35 PM, John W. Eaton at address@hidden wrote:
> | 
> | > 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
> | When I more the header files, they look OK, and the permissions look OK to
> | me. When I checked config.log, it had found glpk.h without problems. When I
> | did a find in /usr on the headers, only one copy of glpk.h and glplpx.h
> | appeared. I thought that we might have a freak coincidence of two headers
> | with the same name.
> 
> Also, does your copy of glplpx.h have lines like
> 
>   #define lpx_set_obj_coef glp_lpx_set_obj_coef
> 
> and is glplpx.h included by glpk.h?
> 
> jwe
John,

Call off the dogs. I had trouble getting into the gnu ftp site, so I got
glpk-4.2 as the most recent from one of the California gnu mirror sites.
After I got glpk-4.9 from the real gnu site. the problem went away. Thanks
for your response, sorry for the problem. The make completes without
problems now.

Joe





reply via email to

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