[pgsql-jp: 38694] Re: pgpoolAdmin-1.0.0 のノードダウンについて

ymep118 @ sea.plala.or.jp ymep118 @ sea.plala.or.jp
2007年 8月 29日 (水) 12:59:41 JST


Tom と申します。

>> ところで、pgpool-II 1.2 は FreeBSD 4.11 では
>> configure は通りますが、gmake でエラーになります。

> エラーを見せていただいてもよろしいでしょうか?

一部ですが、以下のようです。
% gmake
gmake  all-recursive
gmake[1]: Entering directory `/home/ymep118/ztmp/pgpool-II-1.2'
Making all in parser

略

Making all in pcp
gmake[2]: Entering directory `/home/ymep118/ztmp/pgpool-II-
1.2/pcp'
source='pcp.c' object='pcp.lo' libtool=yes \
        DEPDIR=.deps depmode=gcc /bin/sh ../depcomp \
        /bin/sh ../libtool --tag=CC --mode=compile gcc -
DHAVE_CONFIG_H -I. -I. -I..  -Wall -Wmissing-prototypes -
Wmissing-declarations -D_GNU_SOURCE -I .. -
I /usr/local/pgsql/include   -g -O2 -c -o pcp.lo pcp.c
mkdir .libs
 gcc -DHAVE_CONFIG_H -I. -I. -I.. -Wall -Wmissing-prototypes -
Wmissing-declarations -D_GNU_SOURCE -I .. -
I /usr/local/pgsql/include -g -O2 -c pcp.c -Wp,-
MD,.deps/pcp.TPlo  -fPIC -DPIC -o .libs/pcp.o
In file included from pcp.c:11:
/usr/include/sys/socket.h:52: syntax error before `sa_family_t'
/usr/include/sys/socket.h:52: warning: type defaults to `int' in 
declaration of `sa_family_t'
/usr/include/sys/socket.h:52: warning: data definition has no 
type or storage class

略

/usr/include/sys/socket.h:450: syntax error before `sendmsg'
/usr/include/sys/socket.h:450: warning: type defaults to `int' 
in declaration of `sendmsg'
/usr/include/sys/socket.h:450: warning: data definition has no 
type or storage class
/usr/include/sys/socket.h:451: syntax error before `off_t'
pcp.c: In function `pcp_connect':
pcp.c:117: structure has no member named `sa_family'
gmake[2]: *** [pcp.lo] Error 1
gmake[2]: Leaving directory `/home/ymep118/ztmp/pgpool-II-
1.2/pcp'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/home/ymep118/ztmp/pgpool-II-1.2'
gmake: *** [all] Error 2
%

よろしくお願いします。
--




pgsql-jp メーリングリストの案内