bug-glpk
[Top][All Lists]
Advanced

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

Re: [Bug-glpk] how to fix error on compiling sql.c


From: Andrew Makhorin
Subject: Re: [Bug-glpk] how to fix error on compiling sql.c
Date: Fri, 11 Mar 2016 09:49:05 +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"

and then run configure and make as usual. Thanks.


Andrew Makhorin

PS: Please don't cc to the info-gnu mailing list.





reply via email to

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