[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Help-glpk] how to fix error on compiling sql.c
From: |
Noli Sicad |
Subject: |
Re: [Help-glpk] how to fix error on compiling sql.c |
Date: |
Fri, 11 Mar 2016 17:59:56 +1100 |
Hi Andrew,
That's solve the problem.
Thanks a lot.
Noli
On 3/11/16, Andrew Makhorin <address@hidden> wrote:
> Hi Noli,
>
> Thank you for your bug report.
>
>> I got problem compiling in Mac OS X 10.8.5.
>>
>> This problem is introduce in the new codes in ../src/mpl
>>
>> This is the errors below
>>
> [...]
>> In file included from mpl/sql.c:337:0:
>> /usr/local/include/sqlext.h:2357:1: error: unknown type name 'SQLRETURN'
>> /usr/local/include/sqlext.h:2357:19: error: expected '=', ',', ';',
>> 'asm' or '__attribute__' before 'SQLDriverConnect'
> [...]
>
> To fix the bug please do the following:
>
> 1) rename file glpk/src/mpl/sql.h to sql1.h
>
> 2) change line 31 in file glpk/src/mpl/sql.c to "#include "sql1.h"
>
> and then run configure and make as usual. Thanks.
>
>
> Andrew Makhorin
>
> PS: Please don't cc to the info-gnu mailing list.