Fri Mar 28 02:36:20 PDT 2008
- Previous message: [Slony1-hackers] An useless packet was send by set_config_option()
- Next message: [Slony1-hackers] Slony-I REL_1_2_STABLE compile against PostgreSQL HEAD
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi, I am facing a problem compiling Slony-I REL_1_2_STABLE against = PostgreSQL HEAD on Solaris and Linux: --------8<----------------8<----------------8<----------------8<-----------= -----8<-------- gmake[2]: Entering directory = `/home/autopg/bld/slony1/slony1-engine/src/xxid' /opt/studio11/SUNWspro/bin/cc -xO3 -xarch=3D386 -xchip=3Dpentium -xspace -X= a = -xildoff -xCC -I./ -KPIC -I../.. = -I/usr/local/postgres/version/NIGHT/SunOS_i386/usr/postgres/8.3/include/ = -I/usr/local/postgres/version/NIGHT/SunOS_i386/usr/postgres/8.3/include/ser= ver/ = -c -o xxid.o xxid.c "xxid.c", line 236: undefined symbol: SerializableSnapshot "xxid.c", line 239: undefined symbol: SerializableSnapshot "xxid.c", line 239: non-unique member requires struct/union pointer: xmin "xxid.c", line 239: left operand of "->" must be pointer to struct/union "xxid.c", line 249: undefined symbol: SerializableSnapshot "xxid.c", line 252: undefined symbol: SerializableSnapshot "xxid.c", line 252: non-unique member requires struct/union pointer: xmax "xxid.c", line 252: left operand of "->" must be pointer to struct/union cc: acomp failed for xxid.c --------8<----------------8<----------------8<----------------8<-----------= -----8<-------- It looks like something has changed in the PostgreSQL code. Anyway, a patch like this seems to fix this problem, but I am not sure = this is the correct way to address it. --------8<----------------8<----------------8<----------------8<-----------= -----8<-------- Index: src/xxid/xxid.c =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: /slony1/slony1-engine/src/xxid/xxid.c,v retrieving revision 1.12.2.3 diff -c -p -u -r1.12.2.3 xxid.c cvs diff: conflicting specifications of output style --- src/xxid/xxid.c 14 May 2007 22:04:49 -0000 1.12.2.3 +++ src/xxid/xxid.c 28 Mar 2008 09:33:17 -0000 @@ -12,6 +12,7 @@ #include "config.h" #include "postgres.h" +#include "utils/snapmgr.h" #include <limits.h> --------8<----------------8<----------------8<----------------8<-----------= -----8<-------- -J -- = J=F8rgen Austvik, Software Engineering - QA Sun Microsystems Database Technology Group Sun Microsystems AS Haakon VII gt. 7b N-7485 Trondheim, Norway Phone +47 73 84 21 10 Fax +47 73 84 21 01 Mobile +47 90 19 78 86 -------------- next part -------------- A non-text attachment was scrubbed... Name: jorgen_austvik.vcf Type: text/x-vcard Size: 390 bytes Desc: not available Url : http://lists.slony.info/pipermail/slony1-hackers/attachments/20080328= /8f0574c5/jorgen_austvik-0001.vcf
- Previous message: [Slony1-hackers] An useless packet was send by set_config_option()
- Next message: [Slony1-hackers] Slony-I REL_1_2_STABLE compile against PostgreSQL HEAD
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Slony1-hackers mailing list