Wed Jul 21 10:48:35 PDT 2010
- Previous message: [Slony1-general] having trouble building slony on ubuntu 10.04 with pgsql 8.3.8
- Next message: [Slony1-general] having trouble building slony on ubuntu 10.04 with pgsql 8.3.8
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Wed, Jul 21, 2010 at 8:20 AM, Steve Singer <ssinger at ca.afilias.info> wrote: > Scott Marlowe wrote: >> >> I added the previous repos to get pgsql 8.3 on this ubuntu 10.04 >> machine, but now I'm close to installing pgsql from source to get the >> latest version as well and see if compiling will then work. >> >> wget http://www.slony.info/downloads/1.2/source/slony1-1.2.21.tar.bz2 >> tar xvjf slony1-1.2.21.tar.bz2 >> cd slony1-1.2.21/ >> ./configure --with-pgpkglibdir=/usr/lib/postgresql/8.3/lib/ >> make >> >> I get this at the end: >> > > >> xxid.c: In function '_Slony_I_xxid_ge_snapshot': >> xxid.c:409: warning: cast to pointer from integer of different size >> make[2]: *** [xxid.o] Error 1 > > This is just the warning, the compiler probably printed an error a few lines > above. If your still interested in getting it to compile against your pgsql > binaries then send the entire compiler output for xxid.c including the gcc > command it invoked. > gcc -g -O2 -Wall -Wmissing-prototypes -Wmissing-declarations -fpic -I../.. -I/usr/include/postgresql/ -I/usr/include/postgresql/8.4/server/ -c -o xxid.o xxid.c xxid.c:18:25: error: access/xact.h: No such file or directory xxid.c:19:28: error: access/transam.h: No such file or directory xxid.c:20:26: error: executor/spi.h: No such file or directory xxid.c:52: warning: data definition has no type or storage class xxid.c:52: warning: type defaults to 'int' in declaration of 'PG_FUNCTION_INFO_V1' xxid.c:52: warning: parameter names (without types) in function declaration xxid.c:53: warning: data definition has no type or storage class xxid.c:53: warning: type defaults to 'int' in declaration of 'PG_FUNCTION_INFO_V1' xxid.c:53: warning: parameter names (without types) in function declaration xxid.c:54: warning: data definition has no type or storage class xxid.c:54: warning: type defaults to 'int' in declaration of 'PG_FUNCTION_INFO_V1' xxid.c:54: warning: parameter names (without types) in function declaration xxid.c:55: warning: data definition has no type or storage class xxid.c:55: warning: type defaults to 'int' in declaration of 'PG_FUNCTION_INFO_V1' xxid.c:55: warning: parameter names (without types) in function declaration xxid.c:56: warning: data definition has no type or storage class xxid.c:56: warning: type defaults to 'int' in declaration of 'PG_FUNCTION_INFO_V1' xxid.c:56: warning: parameter names (without types) in function declaration xxid.c:57: warning: data definition has no type or storage class xxid.c:57: warning: type defaults to 'int' in declaration of 'PG_FUNCTION_INFO_V1' xxid.c:57: warning: parameter names (without types) in function declaration xxid.c:58: warning: data definition has no type or storage class xxid.c:58: warning: type defaults to 'int' in declaration of 'PG_FUNCTION_INFO_V1' xxid.c:58: warning: parameter names (without types) in function declaration xxid.c:59: warning: data definition has no type or storage class xxid.c:59: warning: type defaults to 'int' in declaration of 'PG_FUNCTION_INFO_V1' xxid.c:59: warning: parameter names (without types) in function declaration xxid.c:60: warning: data definition has no type or storage class xxid.c:60: warning: type defaults to 'int' in declaration of 'PG_FUNCTION_INFO_V1' xxid.c:60: warning: parameter names (without types) in function declaration xxid.c:61: warning: data definition has no type or storage class xxid.c:61: warning: type defaults to 'int' in declaration of 'PG_FUNCTION_INFO_V1' xxid.c:61: warning: parameter names (without types) in function declaration xxid.c:62: warning: data definition has no type or storage class xxid.c:62: warning: type defaults to 'int' in declaration of 'PG_FUNCTION_INFO_V1' xxid.c:62: warning: parameter names (without types) in function declaration xxid.c:63: warning: data definition has no type or storage class xxid.c:63: warning: type defaults to 'int' in declaration of 'PG_FUNCTION_INFO_V1' xxid.c:63: warning: parameter names (without types) in function declaration xxid.c:64: warning: parameter names (without types) in function declaration xxid.c:65: warning: parameter names (without types) in function declaration xxid.c:66: warning: parameter names (without types) in function declaration xxid.c:67: warning: parameter names (without types) in function declaration xxid.c:68: warning: parameter names (without types) in function declaration xxid.c:69: warning: parameter names (without types) in function declaration xxid.c:70: warning: parameter names (without types) in function declaration xxid.c:71: warning: parameter names (without types) in function declaration xxid.c:72: warning: parameter names (without types) in function declaration xxid.c:73: warning: parameter names (without types) in function declaration xxid.c:74: warning: parameter names (without types) in function declaration xxid.c:75: warning: parameter names (without types) in function declaration xxid.c:77: warning: data definition has no type or storage class xxid.c:77: warning: type defaults to 'int' in declaration of 'PG_FUNCTION_INFO_V1' xxid.c:77: warning: parameter names (without types) in function declaration xxid.c:78: warning: data definition has no type or storage class xxid.c:78: warning: type defaults to 'int' in declaration of 'PG_FUNCTION_INFO_V1' xxid.c:78: warning: parameter names (without types) in function declaration xxid.c:79: warning: data definition has no type or storage class xxid.c:79: warning: type defaults to 'int' in declaration of 'PG_FUNCTION_INFO_V1' xxid.c:79: warning: parameter names (without types) in function declaration xxid.c:80: warning: data definition has no type or storage class xxid.c:80: warning: type defaults to 'int' in declaration of 'PG_FUNCTION_INFO_V1' xxid.c:80: warning: parameter names (without types) in function declaration xxid.c:81: warning: parameter names (without types) in function declaration xxid.c:82: warning: parameter names (without types) in function declaration xxid.c:83: warning: parameter names (without types) in function declaration xxid.c:84: warning: parameter names (without types) in function declaration xxid.c:92: warning: no previous prototype for '_Slony_I_xxidin' xxid.c: In function '_Slony_I_xxidin': xxid.c:94: warning: implicit declaration of function 'PG_GETARG_CSTRING' xxid.c:94: warning: initialization makes pointer from integer without a cast xxid.c: At top level: xxid.c:104: warning: no previous prototype for '_Slony_I_xxidout' xxid.c: In function '_Slony_I_xxidout': xxid.c:106: warning: implicit declaration of function 'PG_GETARG_DATUM' xxid.c:111: warning: implicit declaration of function 'PG_RETURN_CSTRING' xxid.c: At top level: xxid.c:119: warning: no previous prototype for '_Slony_I_xxideq' xxid.c: In function '_Slony_I_xxideq': xxid.c:124: warning: implicit declaration of function 'PG_RETURN_BOOL' xxid.c:124: warning: implicit declaration of function 'TransactionIdEquals' xxid.c: At top level: xxid.c:132: warning: no previous prototype for '_Slony_I_xxidne' xxid.c:145: warning: no previous prototype for '_Slony_I_xxidlt' xxid.c: In function '_Slony_I_xxidlt': xxid.c:153: warning: implicit declaration of function 'TransactionIdPrecedes' xxid.c: At top level: xxid.c:161: warning: no previous prototype for '_Slony_I_xxidle' xxid.c: In function '_Slony_I_xxidle': xxid.c:169: warning: implicit declaration of function 'TransactionIdPrecedesOrEquals' xxid.c: At top level: xxid.c:177: warning: no previous prototype for '_Slony_I_xxidgt' xxid.c: In function '_Slony_I_xxidgt': xxid.c:185: warning: implicit declaration of function 'TransactionIdFollows' xxid.c: At top level: xxid.c:193: warning: no previous prototype for '_Slony_I_xxidge' xxid.c: In function '_Slony_I_xxidge': xxid.c:201: warning: implicit declaration of function 'TransactionIdFollowsOrEquals' xxid.c: At top level: xxid.c:209: warning: no previous prototype for '_Slony_I_btxxidcmp' xxid.c: In function '_Slony_I_btxxidcmp': xxid.c:215: warning: implicit declaration of function 'PG_RETURN_INT32' xxid.c: At top level: xxid.c:227: warning: no previous prototype for '_Slony_I_getCurrentXid' xxid.c: In function '_Slony_I_getCurrentXid': xxid.c:229: warning: implicit declaration of function 'GetCurrentTransactionId' xxid.c: At top level: xxid.c:237: warning: no previous prototype for '_Slony_I_getMinXid' xxid.c: In function '_Slony_I_getMinXid': xxid.c:243: error: 'SerializableSnapshot' undeclared (first use in this function) xxid.c:243: error: (Each undeclared identifier is reported only once xxid.c:243: error: for each function it appears in.) xxid.c: At top level: xxid.c:254: warning: no previous prototype for '_Slony_I_getMaxXid' xxid.c: In function '_Slony_I_getMaxXid': xxid.c:259: error: 'SerializableSnapshot' undeclared (first use in this function) xxid.c: At top level: xxid.c:270: warning: no previous prototype for '_Slony_I_xxid_snapshot_in' xxid.c: In function '_Slony_I_xxid_snapshot_in': xxid.c:282: warning: initialization makes pointer from integer without a cast xxid.c:345: warning: implicit declaration of function 'PG_RETURN_POINTER' xxid.c: At top level: xxid.c:353: warning: no previous prototype for '_Slony_I_xxid_snapshot_out' xxid.c: In function '_Slony_I_xxid_snapshot_out': xxid.c:355: warning: implicit declaration of function 'PG_DETOAST_DATUM' xxid.c:355: warning: cast to pointer from integer of different size xxid.c: At top level: xxid.c:380: warning: no previous prototype for '_Slony_I_xxid_lt_snapshot' xxid.c: In function '_Slony_I_xxid_lt_snapshot': xxid.c:383: warning: cast to pointer from integer of different size xxid.c: At top level: xxid.c:406: warning: no previous prototype for '_Slony_I_xxid_ge_snapshot' xxid.c: In function '_Slony_I_xxid_ge_snapshot': xxid.c:409: warning: cast to pointer from integer of different size make[2]: *** [xxid.o] Error 1 make[2]: Leaving directory `/home/dgish/slony1-1.2.21/src/xxid' make[1]: *** [all] Error 2 make[1]: Leaving directory `/home/dgish/slony1-1.2.21/src' make: *** [all] Error 2
- Previous message: [Slony1-general] having trouble building slony on ubuntu 10.04 with pgsql 8.3.8
- Next message: [Slony1-general] having trouble building slony on ubuntu 10.04 with pgsql 8.3.8
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Slony1-general mailing list