[Pgsql-ayuda] Ayuda

vpj-cd@starmedia.com vpj-cd@starmedia.com
Wed, 13 Feb 2002 17:32:29 EST


Hola a todos , yo estoy trabajando con PostgreSql 7.1.3 y cygwin. Quiero compilar este programa pero recibo estos errores 

Mi Ambiente es

PostgreSql Funetes /usr/src/postgresql7.1.3
PostgreSQl Librerias /usr/include/postgresql, /lib



Commando
$ gcc -O2  -shared -o plpgj.so  -I/usr/src/postgresql-7.1.3/src -I/usr/src/post
gresql-7.1.3/src/include -I/usr/src/postgresql-7.1.3/src/backend  -I/usr/includ
e -I/usr/local/include -I/usr/include/postgresql -lpostgres plpgj.c -g

Errores:

plpgj.c:158: warning: #warning This is not optimized, maybe it is a rework.
plpgj.c:209: warning: #warning here we should implement something execution circ
le
plpgj.c:287: warning: #warning here we should implement something execution circ
le
plpgj.c: In function `plpgj_call_handler':
plpgj.c:83: warning: passing arg 1 of `pg_dlopen' discards qualifiers from point
er target type
plpgj.c:105: warning: passing arg 2 of `connect' from incompatible pointer type
/cygdrive/c/temp/cc1MopKU.o: In function `plpgj_call_handler':
/plpgj/src/plpgj/plpgj.c:79: undefined reference to `SPI_connect'
/plpgj/src/plpgj/plpgj.c:80: undefined reference to `elog'
/plpgj/src/plpgj/plpgj.c:83: undefined reference to `pg_dlopen'
/plpgj/src/plpgj/plpgj.c:92: undefined reference to `elog'
collect2: ld returned 1 exit status

Gracias de antemano
Víctor Pérez


------------------------------------------------------------------------------

Obtén gratis tu cuenta de correo en StarMedia Email.
¡Regístrate hoy mismo!. http://www.starmedia.com/email

------------------------------------------------------------------------------