Hola Buscando en el archivo me encontre con este hilo y tengo una duda con el pldebugger
Lo configure con los mismos parametros con el que fue compilado, pero al hacer make me cuentro con esto. ~/Downloads/postgresql-8.4.2/contrib/pldebugger$ make Makefile:63: warning: overriding commands for target `install' ../../src/makefiles/pgxs.mk:111: warning: ignoring old commands for target `install' Makefile:77: warning: overriding commands for target `installdirs' ../../src/makefiles/pgxs.mk:150: warning: ignoring old commands for target `installdirs' gcc -g -O2 -g -Wall -O2 -fPIC -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -fno-strict-aliasing -fwrapv -g -fpic -I. -I../../src/include -D_GNU_SOURCE -I/usr/include/libxml2 -I/usr/include/tcl8.5 -c -o targetinfo.o targetinfo.c targetinfo.c: In function ‘getTriggerFuncOid’: targetinfo.c:268: error: ‘SnapshotNow’ undeclared (first use in this function) targetinfo.c:268: error: (Each undeclared identifier is reported only once targetinfo.c:268: error: for each function it appears in.) targetinfo.c: In function ‘getProcOidBySig’: targetinfo.c:508: error: too few arguments to function ‘FuncnameGetCandidates’ targetinfo.c: In function ‘getProcOidByName’: targetinfo.c:555: error: too few arguments to function ‘FuncnameGetCandidates’ make: *** [targetinfo.o] Error 1 Alguna idea? Estoy usando ubuntu 9.10 a 64 Gracias 2009/7/7 Alvaro Herrera <[email protected]> > Marco Antonio escribió: > > 2009/7/7 Alvaro Herrera <[email protected]>: > > > En realidad es suficiente con el "configure", no necesitas "make". > > > > mmm... es raro ya que con sólo "configure" indica al hacer "make" en > > pldebugger que falta el archivo utils/fmgroids.h. Me genera algo como > > esto (al menos en slackware): > > Ahh, toda la razón. > > > bash-3.1$ make > > Makefile:63: atención: se imponen comandos para el objetivo `install' > > ../../src/makefiles/pgxs.mk:111: atención: se ignoran las > > instrucciones viejas para el objetivo `install' > > Humm, ese Makefile necesita un poco de limpieza. > > > pldbgapi.c: En la función 'pldbg_attach_to_port': > > pldbgapi.c:346: aviso: declaración implícita de la función 'MAKE_OFFSET' > > pldbgapi.c: En la función 'pldbg_wait_for_target': > > pldbgapi.c:474: aviso: declaración implícita de la función > 'SHM_OFFSET_VALID' > > pldbgapi.c:476: aviso: declaración implícita de la función 'MAKE_PTR' > > make: *** [pldbgapi.o] Error 1 > > Y el código también evidentemente ... Claramente a ese plugin le hace > falat un poco más de trabajo. > > -- > Alvaro Herrera > http://www.amazon.com/gp/registry/5ZYLFMCVHXC > "Vivir y dejar de vivir son soluciones imaginarias. > La existencia está en otra parte" (Andre Breton) > -- > TIP 8: explain analyze es tu amigo >
