Have you modified pgpool-II? I believe stock pgpool-II is not designed to run on Windows. -- Tatsuo Ishii SRA OSS, Inc. Japan
> Hi, I want to build pgpool-II on windows using MinGW. Configure file has > running no error, I running configure as below: > > $./configure --prefix=/c/temp/pgpool-II-2.2/ --with-pgsql-includedir=/c/Local > /bin/pgsql-8.4beta1/include/server/port/win32 > > After configuring, I running make, and got the error as: > > $ make > make all-recursive > make[1]: Entering directory `/c/temp/pgpool-II-2.2' > Making all in parser > make[2]: Entering directory `/c/temp/pgpool-II-2.2/parser' > if gcc -DHAVE_CONFIG_H -I. -I. -I.. -D_GNU_SOURCE -I .. -I > /c/Local/bin/pgsql-8.4beta1/include/server/port/win32 -g -O2 -Wall > -Wmissing-prototypes > -Wmissing-declarations -MT gram.o -MD -MP -MF ".deps/gram.Tpo" -c -o gram.o > gram.c; \ > then mv -f ".deps/gram.Tpo" ".deps/gram.Po"; else rm -f ".deps/gram.Tpo"; > exit 1; fi > In file included from pool_parser.h:22, > from gram.y:50: > ../pool_type.h:202: error: redefinition of `struct sockaddr_storage' > In file included from gram.y:9904: > scan.c:2620: warning: no previous prototype for 'base_yyget_lineno' > scan.c:2629: warning: no previous prototype for 'base_yyget_in' > scan.c:2637: warning: no previous prototype for 'base_yyget_out' > scan.c:2645: warning: no previous prototype for 'base_yyget_leng' > scan.c:2654: warning: no previous prototype for 'base_yyget_text' > scan.c:2663: warning: no previous prototype for 'base_yyset_lineno' > scan.c:2675: warning: no previous prototype for 'base_yyset_in' > scan.c:2680: warning: no previous prototype for 'base_yyset_out' > scan.c:2685: warning: no previous prototype for 'base_yyget_debug' > scan.c:2690: warning: no previous prototype for 'base_yyset_debug' > scan.c:2724: warning: no previous prototype for 'base_yylex_destroy' > make[2]: *** [gram.o] Error 1 > make[2]: Leaving directory `/c/temp/pgpool-II-2.2/parser' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory `/c/temp/pgpool-II-2.2' > make: *** [all] Error 2 > > Anyone help me to solving this problem. > > Thank you > > Hidayat > > > __________________________________________________ > Apakah Anda Yahoo!? > Lelah menerima spam? Surat Yahoo! memiliki perlindungan terbaik terhadap > spam > http://id.mail.yahoo.com > _______________________________________________ > Pgpool-general mailing list > [email protected] > http://pgfoundry.org/mailman/listinfo/pgpool-general _______________________________________________ Pgpool-general mailing list [email protected] http://pgfoundry.org/mailman/listinfo/pgpool-general
