<div dir="ltr">Dear list,<div>I have the following issue. I need to add a node to slony setup. The rest of the nodes are Debian squeeze with slony 2.1.1 built from source (not my decision). I tried adding a node with Debian Wheezy and slony 1.2.2+backported fixes - no luck I got a version incompatibility error. So I decided to build Slony from source. ./configure goes around fine however when I try to make the file I get the following warnings/errors:</div>
<div><br></div><div><div>gcc -g -O2 -Wall -Wmissing-prototypes -Wmissing-declarations -I../.. -fpic -I/usr/include/postgresql/8.4/server/ -I/usr/include/postgresql/  -c -o slony1_funcs.o slony1_funcs.c</div><div>slony1_funcs.c: In function ‘_Slony_I_createEvent’:</div>
<div>slony1_funcs.c:146:10: warning: variable ‘buf_size’ set but not used [-Wunused-but-set-variable]</div><div>slony1_funcs.c: In function ‘_Slony_I_logTrigger’:</div><div>slony1_funcs.c:464:7: error: too many arguments to function ‘set_config_option’</div>
<div>In file included from slony1_funcs.c:36:0:</div><div>/usr/include/postgresql/8.4/server/utils/guc.h:265:13: note: declared here</div><div>slony1_funcs.c:509:13: error: too many arguments to function ‘set_config_option’</div>
<div>In file included from slony1_funcs.c:36:0:</div><div>/usr/include/postgresql/8.4/server/utils/guc.h:265:13: note: declared here</div><div>slony1_funcs.c:592:5: warning: implicit declaration of function ‘compatible_oper_funcid’ [-Wimplicit-function-declaration]</div>
<div>slony1_funcs.c:592:5: warning: implicit declaration of function ‘makeList1’ [-Wimplicit-function-declaration]</div><div>slony1_funcs.c:638:10: error: too many arguments to function ‘set_config_option’</div><div>In file included from slony1_funcs.c:36:0:</div>
<div>/usr/include/postgresql/8.4/server/utils/guc.h:265:13: note: declared here</div><div>slony1_funcs.c:645:10: error: too many arguments to function ‘set_config_option’</div><div>In file included from slony1_funcs.c:36:0:</div>
<div>/usr/include/postgresql/8.4/server/utils/guc.h:265:13: note: declared here</div><div>make[2]: *** [slony1_funcs.o] Error 1</div><div>make[2]: Leaving directory `/root/slony1-2.1.1/src/backend&#39;</div><div>make[1]: *** [all] Error 2</div>
<div>make[1]: Leaving directory `/root/slony1-2.1.1/src&#39;</div><div>make: *** [all] Error 2</div></div><div><br></div><div>Debian wheezy is using gcc (Debian 4.7.2-5) 4.7.2 whereas Debian Squeeze is using gcc (Debian 4.4.5-8) 4.4.5</div>
<div><br></div><div>Am I missing something? Is it possible to build Slony 2.1.1 from vanilla source under Debian Wheezy? Do I need to do a hack someplace?  Thanks in advance for any replies.</div></div>

<br>








<p><font size="2">classmarkets GmbH | Schumannstraße 6 | 10117 Berlin | Deutschland<br>Tel: +49 (0)30 56 59 001-0 | Fax: +49 (0)30 56 59 001-99 | <a href="http://www.classmarkets.com" target="_blank">www.classmarkets.com</a></font></p><p><font size="2">Amtsgericht Charlottenburg HRB 111815 B | <a href="http://USt.Id.Nr" target="_blank">USt.Id.Nr</a>: DE 260731582<br>Geschäftsführer: Veit Mürz, Fabian Ströhle</font></p>
<p><font size="2">Diese Nachricht (inklusive aller Anhänge) ist vertraulich. Sie darf ausschließlich durch den vorgesehenen Empfänger und Adressaten gelesen, kopiert oder genutzt werden. Sollten Sie diese Nachricht versehentlich erhalten haben, bitten wir, den Absender (durch Antwort-E-Mail) hiervon unverzüglich zu informieren und die Nachricht zu löschen. Jede unerlaubte Nutzung oder Weitergabe des Inhalts dieser Nachricht, sei es vollständig oder teilweise, ist unzulässig. Bitte beachten Sie, dass E-Mail-Nachrichten an den Absender nicht für fristgebundene Mitteilungen geeignet sind. Fristgebundene Mitteilungen sind daher ausschließlich per Post oder per Telefax zu übersenden.</font></p>