From: Michael W. <mw...@ic...> - 2005-11-16 07:29:05
|
On Tue, Nov 15, 2005 at 12:48:42PM +0100, Roman wrote: > Hy! > > I have problems here with compiling mpdtools (0.5 and unixODBC 2.2.11) > with gcc 4.0.1: > > odbc.c: In function 'SQLError': > odbc.c:778: error: static declaration of 'bind_columns' follows non-static > declaration > odbc.c:200: error: previous implicit declaration of 'bind_columns' was here > odbc.c:1448: error: label at end of compound statement > make[2]: *** [odbc.lo] Error 1 > make[1]: *** [all-recursive] Error 1 > make: *** [all-recursive] Error 1 > > The last error is easily fixed with adding an "break;" after the last > 'case'.. but I was not able to fix the other problem. > > Is this error specific for this gcc-version? > Had anyone else this problems? I think so, but first try a later version of mdbtools before doing anything else. Preferably the latest CVS. 0.5 is quite old. -- Michael Wood <mw...@ic...> |