[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-glpk] [Help-glpk] how to fix error on compiling sql.c
From: |
Andrew Makhorin |
Subject: |
Re: [Bug-glpk] [Help-glpk] how to fix error on compiling sql.c |
Date: |
Fri, 11 Mar 2016 10:03:56 +0300 |
> 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"
3) change line 25 in file glpk/src/mpl/mpl6.c to "#include "sql1.h"
(Sorry. Probably Moon phase was wrong.)
>
> and then run configure and make as usual. Thanks.
>
>
> Andrew Makhorin
>
> PS: Please don't cc to the info-gnu mailing list.
>
>
>
> _______________________________________________
> Help-glpk mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/help-glpk
>