Without mylog.h mentioned in Makefile.am it does not compile at all! So after I add it there, this is the error output: $ make V=0 make all-am make[1]: Entering directory `/tmp/psqlodbc-09.02.0100' CC info.lo CC bind.lo CC columninfo.lo CC connection.lo CC convert.lo convert.c: In function 'ResolveOneParam': convert.c:4379: warning: format '%d' expects type 'int', but argument 4 has type 'SQLUINTEGER' convert.c:4384: warning: format '%d' expects type 'int', but argument 4 has type 'SQLUINTEGER' convert.c:4384: warning: format '%d' expects type 'int', but argument 6 has type 'SQLUINTEGER' convert.c:4388: warning: format '%d' expects type 'int', but argument 4 has type 'SQLUINTEGER' convert.c:4393: warning: format '%d' expects type 'int', but argument 4 has type 'SQLUINTEGER' convert.c:4393: warning: format '%02d' expects type 'int', but argument 6 has type 'SQLUINTEGER' convert.c:4399: warning: format '%d' expects type 'int', but argument 4 has type 'SQLUINTEGER' convert.c:4399: warning: format '%02d' expects type 'int', but argument 6 has type 'SQLUINTEGER' convert.c:4399: warning: format '%02d' expects type 'int', but argument 7 has type 'SQLUINTEGER' convert.c:4411: warning: format '%d' expects type 'int', but argument 4 has type 'SQLUINTEGER' convert.c:4411: warning: format '%02d' expects type 'int', but argument 6 has type 'SQLUINTEGER' convert.c:4411: warning: format '%02d' expects type 'int', but argument 7 has type 'SQLUINTEGER' convert.c:4411: warning: format '%02d' expects type 'int', but argument 8 has type 'SQLUINTEGER' CC drvconn.lo drvconn.c: In function 'dconn_get_attributes': drvconn.c:439: warning: 'last' may be used uninitialized in this function CC environ.lo CC execute.lo CC lobj.lo CC md5.lo CC misc.lo CC options.lo CC pgtypes.lo CC psqlodbc.lo CC qresult.lo CC results.lo CC socket.lo CC parse.lo CC statement.lo CC tuple.lo CC dlg_specific.lo dlg_specific.c: In function 'getCommonDefaults': dlg_specific.c:1438: warning: the address of 'conn_settings' will always evaluate as 'true' CC loadlib.lo loadlib.c: In function 'CALL_PQconnectdbParams': loadlib.c:439: warning: implicit declaration of function 'PQconnectdbParams' loadlib.c:439: warning: assignment makes pointer from integer without a cast CC multibyte.lo CC odbcapi.lo CC descriptor.lo CC odbcapi30.lo CC pgapi30.lo CC info30.lo CC mylog.lo CC odbcapi30w.lo CC odbcapiw.lo CC win_unicode.lo CCLD psqlodbcw.la make[1]: Leaving directory `/tmp/psqlodbc-09.02.0100'