[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: glpk-4.15 causing problem while compiling octave-2.9.10.
From: |
David Bateman |
Subject: |
Re: glpk-4.15 causing problem while compiling octave-2.9.10. |
Date: |
Fri, 06 Apr 2007 10:05:37 +0200 |
User-agent: |
Thunderbird 1.5.0.7 (X11/20060921) |
R S Ananda Murthy wrote:
> David Bateman wrote:
>> R S Ananda Murthy wrote:
>>
>>> Hello,
>>>
>>> I am trying to build octave-2.9.10 on Zenwalk-4.4.1. I have already
>>> installed glpk-4.15. It is detected by configure. But when I run
>>> make, compilation proceeds for some time and stops with the error
>>> message given below:
>>>
>>> ./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:161: warning: 'errnum' might be used
>>> uninitialized in this function
>>> ./DLD-FUNCTIONS/__glpk__.cc: At global scope:
>>> ./DLD-FUNCTIONS/__glpk__.cc:256: error: expected `}' at end of input
>>> make[2]: *** [pic/__glpk__.o] Error 1
>>> make[2]: Leaving directory `/root/octave_new/octave-2.9.10/src'
>>> make[1]: *** [src] Error 2
>>>
>>> What may be the problem? How to correct this?
>>>
>>> If I remove glpk, then, octave-2.9.10 compiles properly without any
>>> error message.
>>>
>>> Thanks for your help,
>>>
>>> Anand
>>> _______________________________________________
>>> Help-octave mailing list
>>> address@hidden
>>> https://www.cae.wisc.edu/mailman/listinfo/help-octave
>>>
>>>
>> Please see the thread
>>
>> https://www.cae.wisc.edu/pipermail/bug-octave/2007-March/002014.html
>>
>> This is fixed in the CVS.
>>
>> D.
>>
>>
> Can somebody explain how I can apply the patch given in CVS to correct
> this error?
>
> Thanks for your help,
>
> Anand
Please reply on list, so others can answer... To apply the patch in
above thread, to
1) Save attachment (or just the whole message) as /tmp/glpk.diff
2) cd octave/
3) cat /tmp/glpk.diff | patch -p0
4) Then rebuild..
D.
--
David Bateman address@hidden
Motorola Labs - Paris +33 1 69 35 48 04 (Ph)
Parc Les Algorithmes, Commune de St Aubin +33 6 72 01 06 33 (Mob)
91193 Gif-Sur-Yvette FRANCE +33 1 69 35 77 01 (Fax)
The information contained in this communication has been classified as:
[x] General Business Information
[ ] Motorola Internal Use Only
[ ] Motorola Confidential Proprietary