Compiling contrib dblink_tds and oralink

From: "LLC" <kevin(at)kevinkempterllc(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Compiling contrib dblink_tds and oralink
Date: 2006-06-14 00:21:14
Message-ID: 1150244474.v2.fusewebmail-164106@f
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

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

Browse pgsql-general by date

  From Date Subject
Next Message Trent Shipley 2006-06-14 00:28:58 Re: Fabian Pascal and RDBMS deficiencies in fully implementing
Previous Message Luis Alberto Pérez Paz 2006-06-13 23:25:35 Re: How can I retrieve a function result?