[root@sm12296 MyODBC-3.51.10]# make Making all in util make[1]: Entering directory `/data/src/packages/MyODBC-3.51.10/util' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/data/src/packages/MyODBC-3.51.10/util' Making all in driver make[1]: Entering directory `/data/src/packages/MyODBC-3.51.10/driver' make all-am make[2]: Entering directory `/data/src/packages/MyODBC-3.51.10/driver' if /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. -isystem -I/usr/local//include -O3 -DDBUG_OFF -DPORTABLE_GUI -I/usr/include/mysql -MT catalog.lo -MD -MP -MF ".deps/catalog.Tpo" -c -o catalog.lo catalog.c; \ then mv -f ".deps/catalog.Tpo" ".deps/catalog.Plo"; else rm -f ".deps/catalog.Tpo"; exit 1; fi gcc -DHAVE_CONFIG_H -I. -I. -I. -isystem -I/usr/local//include -O3 -DDBUG_OFF -DPORTABLE_GUI -I/usr/include/mysql -MT catalog.lo -MD -MP -MF .deps/catalog.Tpo -c catalog.c -fPIC -DPIC -o .libs/catalog.o In file included from /usr/local/include/sql.h:19, from myodbc3.h:108, from catalog.c:49: /usr/local/include/sqltypes.h:71: error: syntax error before string constant In file included from myodbc3.h:116, from catalog.c:49: /usr/local/include/odbcinst.h:33: error: syntax error before "HWND" /usr/local/include/odbcinst.h:118: error: syntax error before "hwndParent" /usr/local/include/odbcinst.h:122: error: syntax error before "hwndParent" /usr/local/include/odbcinst.h:123: error: syntax error before "hwndParent" /usr/local/include/odbcinst.h:125: error: syntax error before "hwnd" /usr/local/include/odbcinst.h:150: error: syntax error before "hwndParent" /usr/local/include/odbcinst.h:187: error: syntax error before "hwndParent" /usr/local/include/odbcinst.h:234: error: syntax error before "hwndParent" /usr/local/include/odbcinst.h:239: error: syntax error before "hwndParent" /usr/local/include/odbcinst.h:243: error: syntax error before "hwndParent" catalog.c:258: error: incompatible types in initialization catalog.c:258: error: initializer element is not constant catalog.c:258: error: (near initialization for `SQLTABLES_fields[0].type') catalog.c:258: warning: initialization makes integer from pointer without a cast catalog.c:258: warning: excess elements in struct initializer catalog.c:258: warning: (near initialization for `SQLTABLES_fields[0]') catalog.c:258: warning: excess elements in struct initializer catalog.c:258: warning: (near initialization for `SQLTABLES_fields[0]') catalog.c:258: error: initializer element is not constant catalog.c:258: error: (near initialization for `SQLTABLES_fields[0]') catalog.c:259: error: incompatible types in initialization catalog.c:259: error: initializer element is not constant catalog.c:259: error: (near initialization for `SQLTABLES_fields[1].type') catalog.c:259: warning: initialization makes integer from pointer without a cast catalog.c:259: warning: excess elements in struct initializer catalog.c:259: warning: (near initialization for `SQLTABLES_fields[1]') catalog.c:259: warning: excess elements in struct initializer catalog.c:259: warning: (near initialization for `SQLTABLES_fields[1]') catalog.c:259: error: initializer element is not constant catalog.c:259: error: (near initialization for `SQLTABLES_fields[1]') catalog.c:260: error: incompatible types in initialization catalog.c:260: error: initializer element is not constant