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:41:07 -0600
User-agent: Microsoft-Entourage/11.2.5.060620

on 9/18/06 9:34 AM, Quentin Spencer at address@hidden wrote:

> Joe Koski wrote:
>> 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.
>>   
> 
> It probably doesn't affect you enough to bother with downloading it and
> recompiling, but just FYI, the most recent version of GLPK is 4.11. I've
> found that some of the gnu mirrors are not updated as well as they
> should be--I've had good luck with  http://mirrors.kernel.org/gnu.
> 
> Quentin
> 
Quentin,

Thanks. I suspect that the problem was that 4.11 is sorted to be right after
4.1, and I went to the bottom, where 4.9 was the last entry. I need to be
more careful. That has tricked me before.

Joe




reply via email to

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