Jason L. Buberel jason at buberel.org
Sun Mar 2 22:51:41 PST 2008
I found the exchange between CB and Mike C on Dec 5, 2007 in which the =

following compilation error was discussed:

slony1_funcs.c: In function slon_quote_literal:
slony1_funcs.c:1106: warning: pointer targets in passing argument 1 of =

pg_mblen differ in signedness
slony1_funcs.c: In function getClusterStatus:
slony1_funcs.c:1357: warning: passing argument 1 of typenameTypeId from =

incompatible pointer type
slony1_funcs.c:1357: error: too few arguments to function typenameTypeId
slony1_funcs.c:1440: warning: passing argument 1 of typenameTypeId from =

incompatible pointer type
slony1_funcs.c:1440: error: too few arguments to function typenameTypeId
make[2]: *** [slony1_funcs.o] Error 1
make[2]: Leaving directory `/home/jason/downloads/slony1-1.2.12/src/backend'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/jason/downloads/slony1-1.2.12/src'
make: *** [all] Error 2

I also need to build slony1-1.2.12 against postgres-8.3 on a x86_65 =

RHEL5 server. I found the patch from the slony-commit mailinglist, and =

applied it to config/acx_libpq.m4 successfully (no errors or warnings). =

I then re-ran autoconf and ./configure. This was all done on a pristine =

copy of the source tree (had just been un-tarred).

However, after re-running configure, I still get the same error. The =

diff looks like this:

 > diff acx_libpq.m4 acx_libpq.m4.orig
354,361c354
< AC_MSG_CHECKING(for typenameTypeId)
< if test -z "$ac_cv_typenameTypeId_args"; then
<   AC_TRY_COMPILE(
<     [#include "postgres.h"
<      #include "parser/parse_type.h"],
<     [typenameTypeId(NULL, NULL, NULL); ],
<     ac_cv_typenameTypeId_args=3D3)
< fi
---
 >
380,382c373
<   if test "$ac_cv_typenameTypeId_args" =3D 3; then
<     AC_DEFINE(HAVE_TYPENAMETYPEID_3)
<   elif test "$ac_cv_typenameTypeId_args" =3D 2; then
---
 >   if test "$ac_cv_typenameTypeId_args" =3D 2; then

Any suggestions?

-jason



-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.slony.info/pipermail/slony1-general/attachments/20080302/=
0a846c18/attachment.htm


More information about the Slony1-general mailing list