You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In favor to more simple types, the SQLROW* types have been replaced. Since there is no proper compilation check it fails. Since most users probably want to have their clients directory compiled under the newer unixODBC version instead care for a proper configuration check the following can be used to get the code compiled again:
The version of unixODBC is in the subject. The first compile error:
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../../../src/odbc/driver -I../../.. -I../../../../src/odbc/driver -I../.. -I../../../../src/odbc/driver/../.. -I/opt/monetdb-testing/include/MonetDB -I/opt/monetdb-testing/include/MonetDB/common -I/opt/monetdb-testing/include/MonetDB/gdk -DLIBMONETODBC -Wall -Wextra -fno-strict-aliasing -g -Werror-implicit-function-declaration -Werror -Wpointer-arith -Wdeclaration-after-statement -Wundef -Wp,-D_FORTIFY_SOURCE=2 -c ../../../../src/odbc/driver/ODBCConvert.c -fPIC -DPIC -o .libs/libMonetODBC_la-ODBCConvert.o
In file included from ../../../../src/odbc/driver/ODBCConvert.c:21:
../../../../src/odbc/driver/ODBCStmt.h:83: error: expected specifier-qualifier-list before â
../../../../src/odbc/driver/ODBCConvert.c: In function â:
../../../../src/odbc/driver/ODBCConvert.c:978: error: â has no member named â
../../../../src/odbc/driver/ODBCConvert.c:979: error: â has no member named â
../../../../src/odbc/driver/ODBCConvert.c: In function â:
../../../../src/odbc/driver/ODBCConvert.c:2347: error: â has no member named â
../../../../src/odbc/driver/ODBCConvert.c:2348: error: â has no member named â
../../../../src/odbc/driver/ODBCConvert.c:2349: error: â has no member named â
../../../../src/odbc/driver/ODBCConvert.c:2350: error: â has no member named â
../../../../src/odbc/driver/ODBCConvert.c:2352: error: â has no member named â
make[7]: *** [libMonetODBC_la-ODBCConvert.lo] Fout 1
make[7]: Map '/home/skinkie/sources/monetdb-hg/clients/Linux/src/odbc/driver' wordt verlaten
make[6]: *** [all] Fout 2
make[6]: Map '/home/skinkie/sources/monetdb-hg/clients/Linux/src/odbc/driver' wordt verlaten
make[5]: *** [all-recursive] Fout 1
make[5]: Map '/home/skinkie/sources/monetdb-hg/clients/Linux/src/odbc' wordt verlaten
make[4]: *** [all] Fout 2
make[4]: Map '/home/skinkie/sources/monetdb-hg/clients/Linux/src/odbc' wordt verlaten
make[3]: *** [all-recursive] Fout 1
make[3]: Map '/home/skinkie/sources/monetdb-hg/clients/Linux/src' wordt verlaten
make[2]: *** [all] Fout 2
make[2]: Map '/home/skinkie/sources/monetdb-hg/clients/Linux/src' wordt verlaten
make[1]: *** [all-recursive] Fout 1
make[1]: Map '/home/skinkie/sources/monetdb-hg/clients/Linux' wordt verlaten
make: *** [all] Fout 2
Date: 2010-06-17 12:19:19 +0200
From: @skinkie
To: clients devs <>
Version: -- development
CC: mitja, @drstmane
Last updated: 2010-08-30 09:18:01 +0200
Comment 14114
Date: 2010-06-17 12:19:19 +0200
From: @skinkie
In favor to more simple types, the SQLROW* types have been replaced. Since there is no proper compilation check it fails. Since most users probably want to have their clients directory compiled under the newer unixODBC version instead care for a proper configuration check the following can be used to get the code compiled again:
diff -r e7bbd5d0cd46 clients/src/odbc/driver/ODBCStmt.h
--- a/clients/src/odbc/driver/ODBCStmt.h Wed Jun 16 17:02:29 2010 +0200
+++ b/clients/src/odbc/driver/ODBCStmt.h Thu Jun 17 12:12:31 2010 +0200
@@ -42,6 +42,9 @@
ifndef _H_ODBCSTMT
define _H_ODBCSTMT
+define SQLROWOFFSET SQLLEN
+define SQLROWSETSIZE SQLULEN
+
include "ODBCGlobal.h"
include "ODBCError.h"
include "ODBCDbc.h"
Comment 14278
Date: 2010-07-09 11:16:22 +0200
From: @grobian
Please provide us a compilation failure/build log, as well as which version of unixODBC you have installed.
Comment 14289
Date: 2010-07-09 12:51:39 +0200
From: @skinkie
The version of unixODBC is in the subject. The first compile error:
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../../../src/odbc/driver -I../../.. -I../../../../src/odbc/driver -I../.. -I../../../../src/odbc/driver/../.. -I/opt/monetdb-testing/include/MonetDB -I/opt/monetdb-testing/include/MonetDB/common -I/opt/monetdb-testing/include/MonetDB/gdk -DLIBMONETODBC -Wall -Wextra -fno-strict-aliasing -g -Werror-implicit-function-declaration -Werror -Wpointer-arith -Wdeclaration-after-statement -Wundef -Wp,-D_FORTIFY_SOURCE=2 -c ../../../../src/odbc/driver/ODBCConvert.c -fPIC -DPIC -o .libs/libMonetODBC_la-ODBCConvert.o
In file included from ../../../../src/odbc/driver/ODBCConvert.c:21:
../../../../src/odbc/driver/ODBCStmt.h:83: error: expected specifier-qualifier-list before â
../../../../src/odbc/driver/ODBCConvert.c: In function â:
../../../../src/odbc/driver/ODBCConvert.c:978: error: â has no member named â
../../../../src/odbc/driver/ODBCConvert.c:979: error: â has no member named â
../../../../src/odbc/driver/ODBCConvert.c: In function â:
../../../../src/odbc/driver/ODBCConvert.c:2347: error: â has no member named â
../../../../src/odbc/driver/ODBCConvert.c:2348: error: â has no member named â
../../../../src/odbc/driver/ODBCConvert.c:2349: error: â has no member named â
../../../../src/odbc/driver/ODBCConvert.c:2350: error: â has no member named â
../../../../src/odbc/driver/ODBCConvert.c:2352: error: â has no member named â
make[7]: *** [libMonetODBC_la-ODBCConvert.lo] Fout 1
make[7]: Map '/home/skinkie/sources/monetdb-hg/clients/Linux/src/odbc/driver' wordt verlaten
make[6]: *** [all] Fout 2
make[6]: Map '/home/skinkie/sources/monetdb-hg/clients/Linux/src/odbc/driver' wordt verlaten
make[5]: *** [all-recursive] Fout 1
make[5]: Map '/home/skinkie/sources/monetdb-hg/clients/Linux/src/odbc' wordt verlaten
make[4]: *** [all] Fout 2
make[4]: Map '/home/skinkie/sources/monetdb-hg/clients/Linux/src/odbc' wordt verlaten
make[3]: *** [all-recursive] Fout 1
make[3]: Map '/home/skinkie/sources/monetdb-hg/clients/Linux/src' wordt verlaten
make[2]: *** [all] Fout 2
make[2]: Map '/home/skinkie/sources/monetdb-hg/clients/Linux/src' wordt verlaten
make[1]: *** [all-recursive] Fout 1
make[1]: Map '/home/skinkie/sources/monetdb-hg/clients/Linux' wordt verlaten
make: *** [all] Fout 2
Comment 14291
Date: 2010-07-09 12:53:37 +0200
From: @grobian
Seems your paste got corrupted, the most important bits are missing. Please try again.
Comment 14293
Date: 2010-07-09 12:57:16 +0200
From: @skinkie
make[7]: Entering directory
/home/skinkie/sources/monetdb-hg/clients/Linux/src/odbc/driver' /bin/sh ../../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../../../src/odbc/driver -I../../.. -I../../../../src/odbc/driver -I../.. -I../../../../src/odbc/driver/../.. -I/opt/monetdb-testing/include/MonetDB -I/opt/monetdb-testing/include/MonetDB/common -I/opt/monetdb-testing/include/MonetDB/gdk -DLIBMONETODBC -Wall -Wextra -fno-strict-aliasing -g -Werror-implicit-function-declaration -Werror -Wpointer-arith -Wdeclaration-after-statement -Wundef -Wp,-D_FORTIFY_SOURCE=2 -c -o libMonetODBC_la-ODBCConvert.lo
test -f 'ODBCConvert.c' || echo '../../../../src/odbc/driver/'ODBCConvert.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../../../src/odbc/driver -I../../.. -I../../../../src/odbc/driver -I../.. -I../../../../src/odbc/driver/../.. -I/opt/monetdb-testing/include/MonetDB -I/opt/monetdb-testing/include/MonetDB/common -I/opt/monetdb-testing/include/MonetDB/gdk -DLIBMONETODBC -Wall -Wextra -fno-strict-aliasing -g -Werror-implicit-function-declaration -Werror -Wpointer-arith -Wdeclaration-after-statement -Wundef -Wp,-D_FORTIFY_SOURCE=2 -c ../../../../src/odbc/driver/ODBCConvert.c -fPIC -DPIC -o .libs/libMonetODBC_la-ODBCConvert.o In file included from ../../../../src/odbc/driver/ODBCConvert.c:21: ../../../../src/odbc/driver/ODBCStmt.h:83: error: expected specifier-qualifier-list before 'SQLROWOFFSET' ../../../../src/odbc/driver/ODBCConvert.c: In function 'ODBCFetch': ../../../../src/odbc/driver/ODBCConvert.c:978: error: 'ODBCStmt' has no member named 'ImplRowDescr' ../../../../src/odbc/driver/ODBCConvert.c:979: error: 'ODBCStmt' has no member named 'ApplRowDescr' ../../../../src/odbc/driver/ODBCConvert.c: In function 'ODBCStore': ../../../../src/odbc/driver/ODBCConvert.c:2347: error: 'ODBCStmt' has no member named 'ImplParamDescr' ../../../../src/odbc/driver/ODBCConvert.c:2348: error: 'ODBCStmt' has no member named 'ApplParamDescr' ../../../../src/odbc/driver/ODBCConvert.c:2349: error: 'ODBCStmt' has no member named 'ImplParamDescr' ../../../../src/odbc/driver/ODBCConvert.c:2350: error: 'ODBCStmt' has no member named 'ApplParamDescr' ../../../../src/odbc/driver/ODBCConvert.c:2352: error: 'ODBCStmt' has no member named 'ApplParamDescr' make[7]: *** [libMonetODBC_la-ODBCConvert.lo] Error 1 make[7]: Leaving directory
/home/skinkie/sources/monetdb-hg/clients/Linux/src/odbc/driver'make[6]: *** [all] Error 2
make[6]: Leaving directory
/home/skinkie/sources/monetdb-hg/clients/Linux/src/odbc/driver' make[5]: *** [all-recursive] Error 1 make[5]: Leaving directory
/home/skinkie/sources/monetdb-hg/clients/Linux/src/odbc'make[4]: *** [all] Error 2
make[4]: Leaving directory
/home/skinkie/sources/monetdb-hg/clients/Linux/src/odbc' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory
/home/skinkie/sources/monetdb-hg/clients/Linux/src'make[2]: *** [all] Error 2
make[2]: Leaving directory
/home/skinkie/sources/monetdb-hg/clients/Linux/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory
/home/skinkie/sources/monetdb-hg/clients/Linux'make: *** [all] Error 2
Comment 14475
Date: 2010-07-18 19:08:04 +0200
From: @drstmane
*** Bug #2625 has been marked as a duplicate of this bug. ***
Comment 14476
Date: 2010-07-18 19:08:55 +0200
From: @drstmane
For a more detailed analysis see bug #2625 "ODBC driver fails to compile on
64-bit MacOS X with Gentoo Prefix and unixODBC 2.3".
Comment 14482
Date: 2010-07-19 16:42:31 +0200
From: @sjoerdmullender
Changeset 1fcc26eb1124 made by Sjoerd Mullender sjoerd@acm.org in the MonetDB repo, refers to this bug.
For complete details, see http//devmonetdborg/hg/MonetDB?cmd=changeset;node=1fcc26eb1124
Changeset description:
Comment 14489
Date: 2010-07-20 08:07:07 +0200
From: @drstmane
Works fine, now, with the unixODBC 2.3 of the GentoPrefix on our MacOS X (Darwin 9.8.0) machine.
Comment 14796
Date: 2010-08-30 09:18:01 +0200
From: @sjoerdmullender
The Jun2010-SP2 version has been released.
The text was updated successfully, but these errors were encountered: