Hola como estasn.
Estoy tratando de crear un dblink a Oracle usando unixodbc, pero cuando compilo 
el paquete ODBC-link-1.0.4.tar.gz me da error y no encuentro como solucionarlo.
El error es el siguiente:

root@labopostgres:~/ODBC-Link-1.0.4# make USE_PGXS=1
gcc -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat 
-Werror=format-security -I/usr/include/mit-krb5 -fPIC -pie 
-DLINUX_OOM_SCORE_ADJ=0 -fno-omit-frame-pointer -Wall -Wmissing-prototypes 
-Wpointer-arith -Wdeclaration-after-statement -Wendif-labels 
-Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv 
-fexcess-precision=standard -g -fpic -I. -I./ 
-I/usr/include/postgresql/9.3/server -I/usr/include/postgresql/internal 
-D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I/usr/include/libxml2  -I/usr/include/tcl8.5 
 -c -o odbclink.o odbclink.c
odbclink.c: In function 'odbclink_connections':
odbclink.c:374:3: warning: implicit declaration of function 'heap_form_tuple' 
[-Wimplicit-function-declaration]
odbclink.c:374:9: warning: assignment makes pointer from integer without a cast 
[enabled by default]
odbclink.c: In function 'get_data':
odbclink.c:746:16: error: 'timestamp_in' undeclared (first use in this function)
odbclink.c:746:16: note: each undeclared identifier is reported only once for 
each function it appears in
odbclink.c:749:16: error: 'timestamptz_in' undeclared (first use in this 
function)
odbclink.c: In function 'query_common':
odbclink.c:918:9: warning: assignment makes pointer from integer without a cast 
[enabled by default]
odbclink.c:874:7: warning: variable 'call_cntr' set but not used 
[-Wunused-but-set-variable]
make: *** [odbclink.o] Error 1

Desde ya gracias y saludos.




Responder a