hot standby on mingw

From: "Jaime Casanova" <jcasanov(at)systemguards(dot)com(dot)ec>
To: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: hot standby on mingw
Date: 2008-12-25 01:22:30
Message-ID: 3073cc9b0812241722n7f3d2971w9a07d4b747e21fd8@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi,

i'm getting this error when triyng to build the hot standby (v5 from
20081218 obtained in the wiki) on mingw

make[4]: Entering directory `/home/Administrador/pgsql/src/backend/access/heap'
gcc -O2 -Wall -Wmissing-prototypes -Wpointer-arith
-Wdeclaration-after-statement -Wendif-labels -fno-strict-aliasing
-fwrapv -g -I../../../../src/include -I./src/include/port/win32
-DEXEC_BACKEND "-I../../../../src/include/port/win32" -DBUILDING_DLL
-c -o heapam.o heapam.c -MMD -MP -MF .deps/heapam.Po
In file included from heapam.c:51:
../../../../src/include/access/xact.h:109: error: syntax error before "uint"
../../../../src/include/access/xact.h:109: warning: no semicolon at
end of struct or union
../../../../src/include/access/xact.h:117: error: syntax error before '}' token
../../../../src/include/access/xact.h:117: warning: type defaults to
`int' in declaration of `xl_xact_commit'
../../../../src/include/access/xact.h:117: warning: data definition
has no type or storage class
../../../../src/include/access/xact.h:152: error: syntax error before "uint"
../../../../src/include/access/xact.h:152: warning: no semicolon at
end of struct or union
../../../../src/include/access/xact.h:158: error: syntax error before '}' token
../../../../src/include/access/xact.h:158: warning: type defaults to
`int' in declaration of `xl_xact_abort'
../../../../src/include/access/xact.h:158: warning: data definition
has no type or storage class
../../../../src/include/access/xact.h:173: error: syntax error before
"xl_xact_commit"
../../../../src/include/access/xact.h:173: warning: no semicolon at
end of struct or union
../../../../src/include/access/xact.h:175: warning: type defaults to
`int' in declaration of `xl_xact_commit_prepared'
../../../../src/include/access/xact.h:175: warning: data definition
has no type or storage class
../../../../src/include/access/xact.h:182: error: syntax error before
"xl_xact_abort"
../../../../src/include/access/xact.h:182: warning: no semicolon at
end of struct or union
../../../../src/include/access/xact.h:184: warning: type defaults to
`int' in declaration of `xl_xact_abort_prepared'
../../../../src/include/access/xact.h:184: warning: data definition
has no type or storage class
make[4]: *** [heapam.o] Error 1

i guess the problem is the uint type, when i change that for int the
error vanishes

--
Atentamente,
Jaime Casanova
Soporte y capacitación de PostgreSQL
Asesoría y desarrollo de sistemas
Guayaquil - Ecuador
Cel. +59387171157

Browse pgsql-hackers by date

  From Date Subject
Next Message Greg Stark 2008-12-25 09:08:29 Re: Window-functions patch handling of aggregates
Previous Message Hitoshi Harada 2008-12-25 01:16:24 Re: Window-functions patch handling of aggregates