On Sat, Feb 23, 2013 at 4:58 AM, Alvaro Herrera <alvherre@alvh.no-ip.org> wrote:
> Add pg_xlogdump contrib program
I got an error on make after make clean. Should we remove rmgrdesc.c
from EXTRA_CLEAN and target?
[pg_xlogdump(master)]$ make clean
rm -f pg_xlogdump
rm -f pg_xlogdump.o compat.o xlogreader.o rmgrdesc.o clogdesc.o
dbasedesc.o gindesc.o gistdesc.o hashdesc.o heapdesc.o mxactdesc.o
nbtdesc.o relmapdesc.o seqdesc.o smgrdesc.o spgdesc.o standbydesc.o
tblspcdesc.o xactdesc.o xlogdesc.o
rm -rf clogdesc.c dbasedesc.c gindesc.c gistdesc.c hashdesc.c
heapdesc.c mxactdesc.c nbtdesc.c relmapdesc.c seqdesc.c smgrdesc.c
spgdesc.c standbydesc.c tblspcdesc.c xactdesc.c xlogdesc.c
xlogreader.c rmgrdesc.c
[pg_xlogdump(master)]$ make
gcc -O0 -Wall -Wmissing-prototypes -Wpointer-arith
-Wdeclaration-after-statement -Wendif-labels
-Wmissing-format-attribute -Wformat-security -fno-strict-aliasing
-fwrapv -g -DFRONTEND -I. -I. -I../../src/include -c -o
pg_xlogdump.o pg_xlogdump.c
gcc -O0 -Wall -Wmissing-prototypes -Wpointer-arith
-Wdeclaration-after-statement -Wendif-labels
-Wmissing-format-attribute -Wformat-security -fno-strict-aliasing
-fwrapv -g -DFRONTEND -I. -I. -I../../src/include -c -o compat.o
compat.c
rm -f xlogreader.c && ln -s ../../src/backend/access/transam/xlogreader.c .
gcc -O0 -Wall -Wmissing-prototypes -Wpointer-arith
-Wdeclaration-after-statement -Wendif-labels
-Wmissing-format-attribute -Wformat-security -fno-strict-aliasing
-fwrapv -g -DFRONTEND -I. -I. -I../../src/include -c -o xlogreader.o
xlogreader.c
make: *** No rule to make target
`../../src/backend/access/transam/rmgrdesc.c', needed by `rmgrdesc.c'.
Stop.
[pg_xlogdump(master)]$
--
Shigeru HANADA