Thread: Compiling contrib dblink_tds and oralink
Hi List; I've downloaded and unzipped the dblink_tds and the oralink contribs from the pgfoundry. Once I move them into the contrib directory and try to run make I get errors about undeclared functions (see the listing below). Any C guru's have any thoughts/advice/etc?? Thanks in advance for your help... dblink_tds.c:67: error: 'TDSCOLINFO' undeclared (first use in this function) dblink_tds.c:67: error: (Each undeclared identifier is reported only once dblink_tds.c:67: error: for each function it appears in.) dblink_tds.c:67: error: 'col' undeclared (first use in this function) dblink_tds.c:68: warning: ISO C90 forbids mixed declarations and code dblink_tds.c:122: error: too few arguments to function 'tds_process_result_tokens' dblink_tds.c:151: error: too few arguments to function 'tds_process_result_tokens' dblink_tds.c:240: error: 'TDSBLOBINFO' undeclared (first use in this function) dblink_tds.c:240: error: syntax error before ')' token dblink_tds.c: In function 'dblink_tds_create_view': dblink_tds.c:283: error: 'TDSCOLINFO' undeclared (first use in this function) dblink_tds.c:283: error: 'col' undeclared (first use in this function) dblink_tds.c:284: warning: ISO C90 forbids mixed declarations and code dblink_tds.c:331: error: too few arguments to function 'tds_process_result_tokens' dblink_tds.c:339: error: too few arguments to function 'tds_process_result_tokens' dblink_tds.c: In function 'dblink_tds_create_rules': dblink_tds.c:438: warning: unused variable 'tuple' dblink_tds.c:407: warning: unused variable 'password' dblink_tds.c:406: warning: unused variable 'user' dblink_tds.c:405: warning: unused variable 'server' dblink_tds.c:403: warning: unused variable 'table' dblink_tds.c: In function 'TDSconnect': dblink_tds.c:536: error: 'TDSCONNECTINFO' undeclared (first use in this function) dblink_tds.c:536: error: 'connection' undeclared (first use in this function) dblink_tds.c:537: warning: ISO C90 forbids mixed declarations and code make: *** [dblink_tds.o] Error 1