hi
I am trying to compile pg_rman on ubuntu. but i am facing some issue while compiling. please look at below error and help me.
root@dhanraj-Lenovo-V310-14ISK:/opt/pgrman-REL95STABLE# make USEPGXS=1 install
gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -g -O2 -DMAPHUGETLB=0x40000 -I/opt/PostgreSQL/10/include -lm -I. -I./ -I/opt/PostgreSQL/10/include/postgresql/server -I/opt/PostgreSQL/10/include/postgresql/internal -I/opt/local/Current/include -DGNUSOURCE -I/opt/local/Current/include/libxml2 -I/opt/local/Current/include -c -o controlfile.o controlfile.c
controlfile.c: In function ‘readcontrolfile’:
controlfile.c:44:30: error: ‘PGCONTROLSIZE’ undeclared (first use in this function)
buffer = (char *) pgmalloc(PGCONTROLSIZE);
^
controlfile.c:44:30: note: each undeclared identifier is reported only once for each function it appears in
<builtin>: recipe for target 'controlfile.o' failed