[Pgpool-general] How to submit bug report for compile failure on Suse 11.2

Tatsuo Ishii ishii at sraoss.co.jp
Tue Nov 17 01:37:36 UTC 2009


Please show configure output.
--
Tatsuo Ishii
SRA OSS, Inc. Japan

> Hello Tatsuo,
> 
> Thank you for your prompt reply!
> 
> My libcrypt.so is here:
> /usr/lib/libcrypt.so
> 
> This is the full output of the make:
> ===============================
> make
> make  all-recursive
> make[1]: Entering directory `/usr/src/pgpool-II-2.2.5'
> Making all in parser
> make[2]: Entering directory `/usr/src/pgpool-II-2.2.5/parser'
> if gcc -DHAVE_CONFIG_H -I. -I. -I..  -D_GNU_SOURCE -I .. -I
> /usr/include/pgsql   -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 gram.y:9904:
> scan.c:2619: warning: no previous prototype for ‘base_yyget_lineno’
> scan.c:2628: warning: no previous prototype for ‘base_yyget_in’
> scan.c:2636: warning: no previous prototype for ‘base_yyget_out’
> scan.c:2644: warning: no previous prototype for ‘base_yyget_leng’
> scan.c:2653: warning: no previous prototype for ‘base_yyget_text’
> scan.c:2662: warning: no previous prototype for ‘base_yyset_lineno’
> scan.c:2674: warning: no previous prototype for ‘base_yyset_in’
> scan.c:2679: warning: no previous prototype for ‘base_yyset_out’
> scan.c:2684: warning: no previous prototype for ‘base_yyget_debug’
> scan.c:2689: warning: no previous prototype for ‘base_yyset_debug’
> scan.c:2723: warning: no previous prototype for ‘base_yylex_destroy’
> scan.c:2172: warning: ‘input’ defined but not used
> if gcc -DHAVE_CONFIG_H -I. -I. -I..  -D_GNU_SOURCE -I .. -I
> /usr/include/pgsql   -g -O2 -Wall -Wmissing-prototypes
> -Wmissing-declarations -MT list.o -MD -MP -MF ".deps/list.Tpo" -c -o
> list.o list.c; \
>         then mv -f ".deps/list.Tpo" ".deps/list.Po"; else rm -f
> ".deps/list.Tpo"; exit 1; fi
> if gcc -DHAVE_CONFIG_H -I. -I. -I..  -D_GNU_SOURCE -I .. -I
> /usr/include/pgsql   -g -O2 -Wall -Wmissing-prototypes
> -Wmissing-declarations -MT makefuncs.o -MD -MP -MF ".deps/makefuncs.Tpo"
> -c -o makefuncs.o makefuncs.c; \
>         then mv -f ".deps/makefuncs.Tpo" ".deps/makefuncs.Po"; else rm
> -f ".deps/makefuncs.Tpo"; exit 1; fi
> if gcc -DHAVE_CONFIG_H -I. -I. -I..  -D_GNU_SOURCE -I .. -I
> /usr/include/pgsql   -g -O2 -Wall -Wmissing-prototypes
> -Wmissing-declarations -MT nodes.o -MD -MP -MF ".deps/nodes.Tpo" -c -o
> nodes.o nodes.c; \
>         then mv -f ".deps/nodes.Tpo" ".deps/nodes.Po"; else rm -f
> ".deps/nodes.Tpo"; exit 1; fi
> if gcc -DHAVE_CONFIG_H -I. -I. -I..  -D_GNU_SOURCE -I .. -I
> /usr/include/pgsql   -g -O2 -Wall -Wmissing-prototypes
> -Wmissing-declarations -MT parser.o -MD -MP -MF ".deps/parser.Tpo" -c -o
> parser.o parser.c; \
>         then mv -f ".deps/parser.Tpo" ".deps/parser.Po"; else rm -f
> ".deps/parser.Tpo"; exit 1; fi
> if gcc -DHAVE_CONFIG_H -I. -I. -I..  -D_GNU_SOURCE -I .. -I
> /usr/include/pgsql   -g -O2 -Wall -Wmissing-prototypes
> -Wmissing-declarations -MT pool_memory.o -MD -MP -MF
> ".deps/pool_memory.Tpo" -c -o pool_memory.o pool_memory.c; \
>         then mv -f ".deps/pool_memory.Tpo" ".deps/pool_memory.Po"; else
> rm -f ".deps/pool_memory.Tpo"; exit 1; fi
> if gcc -DHAVE_CONFIG_H -I. -I. -I..  -D_GNU_SOURCE -I .. -I
> /usr/include/pgsql   -g -O2 -Wall -Wmissing-prototypes
> -Wmissing-declarations -MT pool_string.o -MD -MP -MF
> ".deps/pool_string.Tpo" -c -o pool_string.o pool_string.c; \
>         then mv -f ".deps/pool_string.Tpo" ".deps/pool_string.Po"; else
> rm -f ".deps/pool_string.Tpo"; exit 1; fi
> if gcc -DHAVE_CONFIG_H -I. -I. -I..  -D_GNU_SOURCE -I .. -I
> /usr/include/pgsql   -g -O2 -Wall -Wmissing-prototypes
> -Wmissing-declarations -MT value.o -MD -MP -MF ".deps/value.Tpo" -c -o
> value.o value.c; \
>         then mv -f ".deps/value.Tpo" ".deps/value.Po"; else rm -f
> ".deps/value.Tpo"; exit 1; fi
> if gcc -DHAVE_CONFIG_H -I. -I. -I..  -D_GNU_SOURCE -I .. -I
> /usr/include/pgsql   -g -O2 -Wall -Wmissing-prototypes
> -Wmissing-declarations -MT keywords.o -MD -MP -MF ".deps/keywords.Tpo"
> -c -o keywords.o keywords.c; \
>         then mv -f ".deps/keywords.Tpo" ".deps/keywords.Po"; else rm -f
> ".deps/keywords.Tpo"; exit 1; fi
> if gcc -DHAVE_CONFIG_H -I. -I. -I..  -D_GNU_SOURCE -I .. -I
> /usr/include/pgsql   -g -O2 -Wall -Wmissing-prototypes
> -Wmissing-declarations -MT outfuncs.o -MD -MP -MF ".deps/outfuncs.Tpo"
> -c -o outfuncs.o outfuncs.c; \
>         then mv -f ".deps/outfuncs.Tpo" ".deps/outfuncs.Po"; else rm -f
> ".deps/outfuncs.Tpo"; exit 1; fi
> if gcc -DHAVE_CONFIG_H -I. -I. -I..  -D_GNU_SOURCE -I .. -I
> /usr/include/pgsql   -g -O2 -Wall -Wmissing-prototypes
> -Wmissing-declarations -MT copyfuncs.o -MD -MP -MF ".deps/copyfuncs.Tpo"
> -c -o copyfuncs.o copyfuncs.c; \
>         then mv -f ".deps/copyfuncs.Tpo" ".deps/copyfuncs.Po"; else rm
> -f ".deps/copyfuncs.Tpo"; exit 1; fi
> rm -f libsql-parser.a
> ar cru libsql-parser.a gram.o list.o makefuncs.o nodes.o parser.o
> pool_memory.o pool_string.o value.o keywords.o outfuncs.o copyfuncs.o
> ranlib libsql-parser.a
> make[2]: Leaving directory `/usr/src/pgpool-II-2.2.5/parser'
> Making all in pcp
> make[2]: Entering directory `/usr/src/pgpool-II-2.2.5/pcp'
> if /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I.
> -I. -I..  -D_GNU_SOURCE -I .. -I /usr/include/pgsql   -g -O2 -Wall
> -Wmissing-prototypes -Wmissing-declarations -MT pcp.lo -MD -MP -MF
> ".deps/pcp.Tpo" -c -o pcp.lo pcp.c; \
>         then mv -f ".deps/pcp.Tpo" ".deps/pcp.Plo"; else rm -f
> ".deps/pcp.Tpo"; exit 1; fi
> mkdir .libs
>  gcc -DHAVE_CONFIG_H -I. -I. -I.. -D_GNU_SOURCE -I .. -I
> /usr/include/pgsql -g -O2 -Wall -Wmissing-prototypes
> -Wmissing-declarations -MT pcp.lo -MD -MP -MF .deps/pcp.Tpo -c pcp.c
> -fPIC -DPIC -o .libs/pcp.o
> pcp.c: In function 'pcp_connect':
> pcp.c:130: warning: dereferencing pointer 'addr.26' does break
> strict-aliasing rules
> pcp.c:130: note: initialized from here
>  gcc -DHAVE_CONFIG_H -I. -I. -I.. -D_GNU_SOURCE -I .. -I
> /usr/include/pgsql -g -O2 -Wall -Wmissing-prototypes
> -Wmissing-declarations -MT pcp.lo -MD -MP -MF .deps/pcp.Tpo -c pcp.c -o
> pcp.o >/dev/null 2>&1
> if /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I.
> -I. -I..  -D_GNU_SOURCE -I .. -I /usr/include/pgsql   -g -O2 -Wall
> -Wmissing-prototypes -Wmissing-declarations -MT pcp_stream.lo -MD -MP
> -MF ".deps/pcp_stream.Tpo" -c -o pcp_stream.lo pcp_stream.c; \
>         then mv -f ".deps/pcp_stream.Tpo" ".deps/pcp_stream.Plo"; else
> rm -f ".deps/pcp_stream.Tpo"; exit 1; fi
>  gcc -DHAVE_CONFIG_H -I. -I. -I.. -D_GNU_SOURCE -I .. -I
> /usr/include/pgsql -g -O2 -Wall -Wmissing-prototypes
> -Wmissing-declarations -MT pcp_stream.lo -MD -MP -MF
> .deps/pcp_stream.Tpo -c pcp_stream.c  -fPIC -DPIC -o .libs/pcp_stream.o
>  gcc -DHAVE_CONFIG_H -I. -I. -I.. -D_GNU_SOURCE -I .. -I
> /usr/include/pgsql -g -O2 -Wall -Wmissing-prototypes
> -Wmissing-declarations -MT pcp_stream.lo -MD -MP -MF
> .deps/pcp_stream.Tpo -c pcp_stream.c -o pcp_stream.o >/dev/null 2>&1
> if /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I.
> -I. -I..  -D_GNU_SOURCE -I .. -I /usr/include/pgsql   -g -O2 -Wall
> -Wmissing-prototypes -Wmissing-declarations -MT pcp_error.lo -MD -MP -MF
> ".deps/pcp_error.Tpo" -c -o pcp_error.lo pcp_error.c; \
>         then mv -f ".deps/pcp_error.Tpo" ".deps/pcp_error.Plo"; else rm
> -f ".deps/pcp_error.Tpo"; exit 1; fi
>  gcc -DHAVE_CONFIG_H -I. -I. -I.. -D_GNU_SOURCE -I .. -I
> /usr/include/pgsql -g -O2 -Wall -Wmissing-prototypes
> -Wmissing-declarations -MT pcp_error.lo -MD -MP -MF .deps/pcp_error.Tpo
> -c pcp_error.c  -fPIC -DPIC -o .libs/pcp_error.o
>  gcc -DHAVE_CONFIG_H -I. -I. -I.. -D_GNU_SOURCE -I .. -I
> /usr/include/pgsql -g -O2 -Wall -Wmissing-prototypes
> -Wmissing-declarations -MT pcp_error.lo -MD -MP -MF .deps/pcp_error.Tpo
> -c pcp_error.c -o pcp_error.o >/dev/null 2>&1
> if /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I.
> -I. -I..  -D_GNU_SOURCE -I .. -I /usr/include/pgsql   -g -O2 -Wall
> -Wmissing-prototypes -Wmissing-declarations -MT md5.lo -MD -MP -MF
> ".deps/md5.Tpo" -c -o md5.lo md5.c; \
>         then mv -f ".deps/md5.Tpo" ".deps/md5.Plo"; else rm -f
> ".deps/md5.Tpo"; exit 1; fi
>  gcc -DHAVE_CONFIG_H -I. -I. -I.. -D_GNU_SOURCE -I .. -I
> /usr/include/pgsql -g -O2 -Wall -Wmissing-prototypes
> -Wmissing-declarations -MT md5.lo -MD -MP -MF .deps/md5.Tpo -c md5.c
> -fPIC -DPIC -o .libs/md5.o
>  gcc -DHAVE_CONFIG_H -I. -I. -I.. -D_GNU_SOURCE -I .. -I
> /usr/include/pgsql -g -O2 -Wall -Wmissing-prototypes
> -Wmissing-declarations -MT md5.lo -MD -MP -MF .deps/md5.Tpo -c md5.c -o
> md5.o >/dev/null 2>&1
> /bin/sh ../libtool --tag=CC --mode=link gcc  -g -O2 -Wall
> -Wmissing-prototypes -Wmissing-declarations   -o libpcp.la -rpath
> /usr/local/lib  pcp.lo pcp_stream.lo pcp_error.lo md5.lo  -lresolv -lnsl
> -lm
> gcc -shared  .libs/pcp.o .libs/pcp_stream.o .libs/pcp_error.o
> .libs/md5.o  -lresolv -lnsl -lm  -Wl,-soname -Wl,libpcp.so.0 -o
> .libs/libpcp.so.0.0.0
> (cd .libs && rm -f libpcp.so.0 && ln -s libpcp.so.0.0.0 libpcp.so.0)
> (cd .libs && rm -f libpcp.so && ln -s libpcp.so.0.0.0 libpcp.so)
> ar cru .libs/libpcp.a  pcp.o pcp_stream.o pcp_error.o md5.o
> ranlib .libs/libpcp.a
> creating libpcp.la
> (cd .libs && rm -f libpcp.la && ln -s ../libpcp.la libpcp.la)
> if gcc -DHAVE_CONFIG_H -I. -I. -I..  -D_GNU_SOURCE -I .. -I
> /usr/include/pgsql   -g -O2 -Wall -Wmissing-prototypes
> -Wmissing-declarations -MT pcp_stop_pgpool.o -MD -MP -MF
> ".deps/pcp_stop_pgpool.Tpo" -c -o pcp_stop_pgpool.o pcp_stop_pgpool.c; \
>         then mv -f ".deps/pcp_stop_pgpool.Tpo"
> ".deps/pcp_stop_pgpool.Po"; else rm -f ".deps/pcp_stop_pgpool.Tpo"; exit
> 1; fi
> /bin/sh ../libtool --tag=CC --mode=link gcc  -g -O2 -Wall
> -Wmissing-prototypes -Wmissing-declarations   -o pcp_stop_pgpool
> pcp_stop_pgpool.o libpcp.la -lresolv -lnsl -lm
> gcc -g -O2 -Wall -Wmissing-prototypes -Wmissing-declarations -o
> .libs/pcp_stop_pgpool pcp_stop_pgpool.o  ./.libs/libpcp.so -lresolv
> -lnsl -lm
> creating pcp_stop_pgpool
> if gcc -DHAVE_CONFIG_H -I. -I. -I..  -D_GNU_SOURCE -I .. -I
> /usr/include/pgsql   -g -O2 -Wall -Wmissing-prototypes
> -Wmissing-declarations -MT pcp_node_count.o -MD -MP -MF
> ".deps/pcp_node_count.Tpo" -c -o pcp_node_count.o pcp_node_count.c; \
>         then mv -f ".deps/pcp_node_count.Tpo" ".deps/pcp_node_count.Po";
> else rm -f ".deps/pcp_node_count.Tpo"; exit 1; fi
> /bin/sh ../libtool --tag=CC --mode=link gcc  -g -O2 -Wall
> -Wmissing-prototypes -Wmissing-declarations   -o pcp_node_count
> pcp_node_count.o libpcp.la -lresolv -lnsl -lm
> gcc -g -O2 -Wall -Wmissing-prototypes -Wmissing-declarations -o
> .libs/pcp_node_count pcp_node_count.o  ./.libs/libpcp.so -lresolv -lnsl -lm
> creating pcp_node_count
> if gcc -DHAVE_CONFIG_H -I. -I. -I..  -D_GNU_SOURCE -I .. -I
> /usr/include/pgsql   -g -O2 -Wall -Wmissing-prototypes
> -Wmissing-declarations -MT pcp_node_info.o -MD -MP -MF
> ".deps/pcp_node_info.Tpo" -c -o pcp_node_info.o pcp_node_info.c; \
>         then mv -f ".deps/pcp_node_info.Tpo" ".deps/pcp_node_info.Po";
> else rm -f ".deps/pcp_node_info.Tpo"; exit 1; fi
> /bin/sh ../libtool --tag=CC --mode=link gcc  -g -O2 -Wall
> -Wmissing-prototypes -Wmissing-declarations   -o pcp_node_info
> pcp_node_info.o libpcp.la -lresolv -lnsl -lm
> gcc -g -O2 -Wall -Wmissing-prototypes -Wmissing-declarations -o
> .libs/pcp_node_info pcp_node_info.o  ./.libs/libpcp.so -lresolv -lnsl -lm
> creating pcp_node_info
> if gcc -DHAVE_CONFIG_H -I. -I. -I..  -D_GNU_SOURCE -I .. -I
> /usr/include/pgsql   -g -O2 -Wall -Wmissing-prototypes
> -Wmissing-declarations -MT pcp_proc_count.o -MD -MP -MF
> ".deps/pcp_proc_count.Tpo" -c -o pcp_proc_count.o pcp_proc_count.c; \
>         then mv -f ".deps/pcp_proc_count.Tpo" ".deps/pcp_proc_count.Po";
> else rm -f ".deps/pcp_proc_count.Tpo"; exit 1; fi
> /bin/sh ../libtool --tag=CC --mode=link gcc  -g -O2 -Wall
> -Wmissing-prototypes -Wmissing-declarations   -o pcp_proc_count
> pcp_proc_count.o libpcp.la -lresolv -lnsl -lm
> gcc -g -O2 -Wall -Wmissing-prototypes -Wmissing-declarations -o
> .libs/pcp_proc_count pcp_proc_count.o  ./.libs/libpcp.so -lresolv -lnsl -lm
> creating pcp_proc_count
> if gcc -DHAVE_CONFIG_H -I. -I. -I..  -D_GNU_SOURCE -I .. -I
> /usr/include/pgsql   -g -O2 -Wall -Wmissing-prototypes
> -Wmissing-declarations -MT pcp_proc_info.o -MD -MP -MF
> ".deps/pcp_proc_info.Tpo" -c -o pcp_proc_info.o pcp_proc_info.c; \
>         then mv -f ".deps/pcp_proc_info.Tpo" ".deps/pcp_proc_info.Po";
> else rm -f ".deps/pcp_proc_info.Tpo"; exit 1; fi
> /bin/sh ../libtool --tag=CC --mode=link gcc  -g -O2 -Wall
> -Wmissing-prototypes -Wmissing-declarations   -o pcp_proc_info
> pcp_proc_info.o libpcp.la -lresolv -lnsl -lm
> gcc -g -O2 -Wall -Wmissing-prototypes -Wmissing-declarations -o
> .libs/pcp_proc_info pcp_proc_info.o  ./.libs/libpcp.so -lresolv -lnsl -lm
> creating pcp_proc_info
> if gcc -DHAVE_CONFIG_H -I. -I. -I..  -D_GNU_SOURCE -I .. -I
> /usr/include/pgsql   -g -O2 -Wall -Wmissing-prototypes
> -Wmissing-declarations -MT pcp_systemdb_info.o -MD -MP -MF
> ".deps/pcp_systemdb_info.Tpo" -c -o pcp_systemdb_info.o
> pcp_systemdb_info.c; \
>         then mv -f ".deps/pcp_systemdb_info.Tpo"
> ".deps/pcp_systemdb_info.Po"; else rm -f ".deps/pcp_systemdb_info.Tpo";
> exit 1; fi
> /bin/sh ../libtool --tag=CC --mode=link gcc  -g -O2 -Wall
> -Wmissing-prototypes -Wmissing-declarations   -o pcp_systemdb_info
> pcp_systemdb_info.o libpcp.la -lresolv -lnsl -lm
> gcc -g -O2 -Wall -Wmissing-prototypes -Wmissing-declarations -o
> .libs/pcp_systemdb_info pcp_systemdb_info.o  ./.libs/libpcp.so -lresolv
> -lnsl -lm
> creating pcp_systemdb_info
> if gcc -DHAVE_CONFIG_H -I. -I. -I..  -D_GNU_SOURCE -I .. -I
> /usr/include/pgsql   -g -O2 -Wall -Wmissing-prototypes
> -Wmissing-declarations -MT pcp_detach_node.o -MD -MP -MF
> ".deps/pcp_detach_node.Tpo" -c -o pcp_detach_node.o pcp_detach_node.c; \
>         then mv -f ".deps/pcp_detach_node.Tpo"
> ".deps/pcp_detach_node.Po"; else rm -f ".deps/pcp_detach_node.Tpo"; exit
> 1; fi
> /bin/sh ../libtool --tag=CC --mode=link gcc  -g -O2 -Wall
> -Wmissing-prototypes -Wmissing-declarations   -o pcp_detach_node
> pcp_detach_node.o libpcp.la -lresolv -lnsl -lm
> gcc -g -O2 -Wall -Wmissing-prototypes -Wmissing-declarations -o
> .libs/pcp_detach_node pcp_detach_node.o  ./.libs/libpcp.so -lresolv
> -lnsl -lm
> creating pcp_detach_node
> if gcc -DHAVE_CONFIG_H -I. -I. -I..  -D_GNU_SOURCE -I .. -I
> /usr/include/pgsql   -g -O2 -Wall -Wmissing-prototypes
> -Wmissing-declarations -MT pcp_attach_node.o -MD -MP -MF
> ".deps/pcp_attach_node.Tpo" -c -o pcp_attach_node.o pcp_attach_node.c; \
>         then mv -f ".deps/pcp_attach_node.Tpo"
> ".deps/pcp_attach_node.Po"; else rm -f ".deps/pcp_attach_node.Tpo"; exit
> 1; fi
> /bin/sh ../libtool --tag=CC --mode=link gcc  -g -O2 -Wall
> -Wmissing-prototypes -Wmissing-declarations   -o pcp_attach_node
> pcp_attach_node.o libpcp.la -lresolv -lnsl -lm
> gcc -g -O2 -Wall -Wmissing-prototypes -Wmissing-declarations -o
> .libs/pcp_attach_node pcp_attach_node.o  ./.libs/libpcp.so -lresolv
> -lnsl -lm
> creating pcp_attach_node
> if gcc -DHAVE_CONFIG_H -I. -I. -I..  -D_GNU_SOURCE -I .. -I
> /usr/include/pgsql   -g -O2 -Wall -Wmissing-prototypes
> -Wmissing-declarations -MT pcp_recovery_node.o -MD -MP -MF
> ".deps/pcp_recovery_node.Tpo" -c -o pcp_recovery_node.o
> pcp_recovery_node.c; \
>         then mv -f ".deps/pcp_recovery_node.Tpo"
> ".deps/pcp_recovery_node.Po"; else rm -f ".deps/pcp_recovery_node.Tpo";
> exit 1; fi
> /bin/sh ../libtool --tag=CC --mode=link gcc  -g -O2 -Wall
> -Wmissing-prototypes -Wmissing-declarations   -o pcp_recovery_node
> pcp_recovery_node.o libpcp.la -lresolv -lnsl -lm
> gcc -g -O2 -Wall -Wmissing-prototypes -Wmissing-declarations -o
> .libs/pcp_recovery_node pcp_recovery_node.o  ./.libs/libpcp.so -lresolv
> -lnsl -lm
> creating pcp_recovery_node
> make[2]: Leaving directory `/usr/src/pgpool-II-2.2.5/pcp'
> make[2]: Entering directory `/usr/src/pgpool-II-2.2.5'
> if gcc -DHAVE_CONFIG_H -DDEFAULT_CONFIGDIR=\"/usr/local/etc\" -I. -I.
> -I.  -D_GNU_SOURCE -I /usr/include/pgsql   -g -O2 -Wall
> -Wmissing-prototypes -Wmissing-declarations -MT main.o -MD -MP -MF
> ".deps/main.Tpo" -c -o main.o main.c; \
>         then mv -f ".deps/main.Tpo" ".deps/main.Po"; else rm -f
> ".deps/main.Tpo"; exit 1; fi
> main.c: In function ‘create_unix_domain_socket’:
> main.c:931: warning: dereferencing pointer ‘addr.111’ does break
> strict-aliasing rules
> main.c:931: note: initialized from here
> main.c: In function ‘create_inet_domain_socket’:
> main.c:871: warning: dereferencing pointer ‘addr.103’ does break
> strict-aliasing rules
> main.c:871: note: initialized from here
> if gcc -DHAVE_CONFIG_H -DDEFAULT_CONFIGDIR=\"/usr/local/etc\" -I. -I.
> -I.  -D_GNU_SOURCE -I /usr/include/pgsql   -g -O2 -Wall
> -Wmissing-prototypes -Wmissing-declarations -MT child.o -MD -MP -MF
> ".deps/child.Tpo" -c -o child.o child.c; \
>         then mv -f ".deps/child.Tpo" ".deps/child.Po"; else rm -f
> ".deps/child.Tpo"; exit 1; fi
> if gcc -DHAVE_CONFIG_H -DDEFAULT_CONFIGDIR=\"/usr/local/etc\" -I. -I.
> -I.  -D_GNU_SOURCE -I /usr/include/pgsql   -g -O2 -Wall
> -Wmissing-prototypes -Wmissing-declarations -MT pool_auth.o -MD -MP -MF
> ".deps/pool_auth.Tpo" -c -o pool_auth.o pool_auth.c; \
>         then mv -f ".deps/pool_auth.Tpo" ".deps/pool_auth.Po"; else rm
> -f ".deps/pool_auth.Tpo"; exit 1; fi
> if gcc -DHAVE_CONFIG_H -DDEFAULT_CONFIGDIR=\"/usr/local/etc\" -I. -I.
> -I.  -D_GNU_SOURCE -I /usr/include/pgsql   -g -O2 -Wall
> -Wmissing-prototypes -Wmissing-declarations -MT pool_config.o -MD -MP
> -MF ".deps/pool_config.Tpo" -c -o pool_config.o pool_config.c; \
>         then mv -f ".deps/pool_config.Tpo" ".deps/pool_config.Po"; else
> rm -f ".deps/pool_config.Tpo"; exit 1; fi
> pool_config.c:1140: warning: ‘input’ defined but not used
> if gcc -DHAVE_CONFIG_H -DDEFAULT_CONFIGDIR=\"/usr/local/etc\" -I. -I.
> -I.  -D_GNU_SOURCE -I /usr/include/pgsql   -g -O2 -Wall
> -Wmissing-prototypes -Wmissing-declarations -MT pool_error.o -MD -MP -MF
> ".deps/pool_error.Tpo" -c -o pool_error.o pool_error.c; \
>         then mv -f ".deps/pool_error.Tpo" ".deps/pool_error.Po"; else rm
> -f ".deps/pool_error.Tpo"; exit 1; fi
> if gcc -DHAVE_CONFIG_H -DDEFAULT_CONFIGDIR=\"/usr/local/etc\" -I. -I.
> -I.  -D_GNU_SOURCE -I /usr/include/pgsql   -g -O2 -Wall
> -Wmissing-prototypes -Wmissing-declarations -MT pool_process_query.o -MD
> -MP -MF ".deps/pool_process_query.Tpo" -c -o pool_process_query.o
> pool_process_query.c; \
>         then mv -f ".deps/pool_process_query.Tpo"
> ".deps/pool_process_query.Po"; else rm -f
> ".deps/pool_process_query.Tpo"; exit 1; fi
> if gcc -DHAVE_CONFIG_H -DDEFAULT_CONFIGDIR=\"/usr/local/etc\" -I. -I.
> -I.  -D_GNU_SOURCE -I /usr/include/pgsql   -g -O2 -Wall
> -Wmissing-prototypes -Wmissing-declarations -MT pool_stream.o -MD -MP
> -MF ".deps/pool_stream.Tpo" -c -o pool_stream.o pool_stream.c; \
>         then mv -f ".deps/pool_stream.Tpo" ".deps/pool_stream.Po"; else
> rm -f ".deps/pool_stream.Tpo"; exit 1; fi
> if gcc -DHAVE_CONFIG_H -DDEFAULT_CONFIGDIR=\"/usr/local/etc\" -I. -I.
> -I.  -D_GNU_SOURCE -I /usr/include/pgsql   -g -O2 -Wall
> -Wmissing-prototypes -Wmissing-declarations -MT pool_connection_pool.o
> -MD -MP -MF ".deps/pool_connection_pool.Tpo" -c -o
> pool_connection_pool.o pool_connection_pool.c; \
>         then mv -f ".deps/pool_connection_pool.Tpo"
> ".deps/pool_connection_pool.Po"; else rm -f
> ".deps/pool_connection_pool.Tpo"; exit 1; fi
> pool_connection_pool.c: In function ‘connect_inet_domain_socket_by_port’:
> pool_connection_pool.c:499: warning: dereferencing pointer ‘addr.149’
> does break strict-aliasing rules
> pool_connection_pool.c:499: note: initialized from here
> pool_connection_pool.c: In function ‘connect_unix_domain_socket_by_port’:
> pool_connection_pool.c:452: warning: dereferencing pointer ‘addr.145’
> does break strict-aliasing rules
> pool_connection_pool.c:452: note: initialized from here
> if gcc -DHAVE_CONFIG_H -DDEFAULT_CONFIGDIR=\"/usr/local/etc\" -I. -I.
> -I.  -D_GNU_SOURCE -I /usr/include/pgsql   -g -O2 -Wall
> -Wmissing-prototypes -Wmissing-declarations -MT pool_params.o -MD -MP
> -MF ".deps/pool_params.Tpo" -c -o pool_params.o pool_params.c; \
>         then mv -f ".deps/pool_params.Tpo" ".deps/pool_params.Po"; else
> rm -f ".deps/pool_params.Tpo"; exit 1; fi
> if gcc -DHAVE_CONFIG_H -DDEFAULT_CONFIGDIR=\"/usr/local/etc\" -I. -I.
> -I.  -D_GNU_SOURCE -I /usr/include/pgsql   -g -O2 -Wall
> -Wmissing-prototypes -Wmissing-declarations -MT pool_signal.o -MD -MP
> -MF ".deps/pool_signal.Tpo" -c -o pool_signal.o pool_signal.c; \
>         then mv -f ".deps/pool_signal.Tpo" ".deps/pool_signal.Po"; else
> rm -f ".deps/pool_signal.Tpo"; exit 1; fi
> if gcc -DHAVE_CONFIG_H -DDEFAULT_CONFIGDIR=\"/usr/local/etc\" -I. -I.
> -I.  -D_GNU_SOURCE -I /usr/include/pgsql   -g -O2 -Wall
> -Wmissing-prototypes -Wmissing-declarations -MT pcp_child.o -MD -MP -MF
> ".deps/pcp_child.Tpo" -c -o pcp_child.o pcp_child.c; \
>         then mv -f ".deps/pcp_child.Tpo" ".deps/pcp_child.Po"; else rm
> -f ".deps/pcp_child.Tpo"; exit 1; fi
> if gcc -DHAVE_CONFIG_H -DDEFAULT_CONFIGDIR=\"/usr/local/etc\" -I. -I.
> -I.  -D_GNU_SOURCE -I /usr/include/pgsql   -g -O2 -Wall
> -Wmissing-prototypes -Wmissing-declarations -MT md5.o -MD -MP -MF
> ".deps/md5.Tpo" -c -o md5.o md5.c; \
>         then mv -f ".deps/md5.Tpo" ".deps/md5.Po"; else rm -f
> ".deps/md5.Tpo"; exit 1; fi
> if gcc -DHAVE_CONFIG_H -DDEFAULT_CONFIGDIR=\"/usr/local/etc\" -I. -I.
> -I.  -D_GNU_SOURCE -I /usr/include/pgsql   -g -O2 -Wall
> -Wmissing-prototypes -Wmissing-declarations -MT pool_shmem.o -MD -MP -MF
> ".deps/pool_shmem.Tpo" -c -o pool_shmem.o pool_shmem.c; \
>         then mv -f ".deps/pool_shmem.Tpo" ".deps/pool_shmem.Po"; else rm
> -f ".deps/pool_shmem.Tpo"; exit 1; fi
> if gcc -DHAVE_CONFIG_H -DDEFAULT_CONFIGDIR=\"/usr/local/etc\" -I. -I.
> -I.  -D_GNU_SOURCE -I /usr/include/pgsql   -g -O2 -Wall
> -Wmissing-prototypes -Wmissing-declarations -MT pool_sema.o -MD -MP -MF
> ".deps/pool_sema.Tpo" -c -o pool_sema.o pool_sema.c; \
>         then mv -f ".deps/pool_sema.Tpo" ".deps/pool_sema.Po"; else rm
> -f ".deps/pool_sema.Tpo"; exit 1; fi
> if gcc -DHAVE_CONFIG_H -DDEFAULT_CONFIGDIR=\"/usr/local/etc\" -I. -I.
> -I.  -D_GNU_SOURCE -I /usr/include/pgsql   -g -O2 -Wall
> -Wmissing-prototypes -Wmissing-declarations -MT pool_system.o -MD -MP
> -MF ".deps/pool_system.Tpo" -c -o pool_system.o pool_system.c; \
>         then mv -f ".deps/pool_system.Tpo" ".deps/pool_system.Po"; else
> rm -f ".deps/pool_system.Tpo"; exit 1; fi
> if gcc -DHAVE_CONFIG_H -DDEFAULT_CONFIGDIR=\"/usr/local/etc\" -I. -I.
> -I.  -D_GNU_SOURCE -I /usr/include/pgsql   -g -O2 -Wall
> -Wmissing-prototypes -Wmissing-declarations -MT pool_rewrite_query.o -MD
> -MP -MF ".deps/pool_rewrite_query.Tpo" -c -o pool_rewrite_query.o
> pool_rewrite_query.c; \
>         then mv -f ".deps/pool_rewrite_query.Tpo"
> ".deps/pool_rewrite_query.Po"; else rm -f
> ".deps/pool_rewrite_query.Tpo"; exit 1; fi
> if gcc -DHAVE_CONFIG_H -DDEFAULT_CONFIGDIR=\"/usr/local/etc\" -I. -I.
> -I.  -D_GNU_SOURCE -I /usr/include/pgsql   -g -O2 -Wall
> -Wmissing-prototypes -Wmissing-declarations -MT pool_rewrite_outfuncs.o
> -MD -MP -MF ".deps/pool_rewrite_outfuncs.Tpo" -c -o
> pool_rewrite_outfuncs.o pool_rewrite_outfuncs.c; \
>         then mv -f ".deps/pool_rewrite_outfuncs.Tpo"
> ".deps/pool_rewrite_outfuncs.Po"; else rm -f
> ".deps/pool_rewrite_outfuncs.Tpo"; exit 1; fi
> if gcc -DHAVE_CONFIG_H -DDEFAULT_CONFIGDIR=\"/usr/local/etc\" -I. -I.
> -I.  -D_GNU_SOURCE -I /usr/include/pgsql   -g -O2 -Wall
> -Wmissing-prototypes -Wmissing-declarations -MT pool_query_cache.o -MD
> -MP -MF ".deps/pool_query_cache.Tpo" -c -o pool_query_cache.o
> pool_query_cache.c; \
>         then mv -f ".deps/pool_query_cache.Tpo"
> ".deps/pool_query_cache.Po"; else rm -f ".deps/pool_query_cache.Tpo";
> exit 1; fi
> if gcc -DHAVE_CONFIG_H -DDEFAULT_CONFIGDIR=\"/usr/local/etc\" -I. -I.
> -I.  -D_GNU_SOURCE -I /usr/include/pgsql   -g -O2 -Wall
> -Wmissing-prototypes -Wmissing-declarations -MT pool_hba.o -MD -MP -MF
> ".deps/pool_hba.Tpo" -c -o pool_hba.o pool_hba.c; \
>         then mv -f ".deps/pool_hba.Tpo" ".deps/pool_hba.Po"; else rm -f
> ".deps/pool_hba.Tpo"; exit 1; fi
> if gcc -DHAVE_CONFIG_H -DDEFAULT_CONFIGDIR=\"/usr/local/etc\" -I. -I.
> -I.  -D_GNU_SOURCE -I /usr/include/pgsql   -g -O2 -Wall
> -Wmissing-prototypes -Wmissing-declarations -MT pool_path.o -MD -MP -MF
> ".deps/pool_path.Tpo" -c -o pool_path.o pool_path.c; \
>         then mv -f ".deps/pool_path.Tpo" ".deps/pool_path.Po"; else rm
> -f ".deps/pool_path.Tpo"; exit 1; fi
> if gcc -DHAVE_CONFIG_H -DDEFAULT_CONFIGDIR=\"/usr/local/etc\" -I. -I.
> -I.  -D_GNU_SOURCE -I /usr/include/pgsql   -g -O2 -Wall
> -Wmissing-prototypes -Wmissing-declarations -MT pool_ip.o -MD -MP -MF
> ".deps/pool_ip.Tpo" -c -o pool_ip.o pool_ip.c; \
>         then mv -f ".deps/pool_ip.Tpo" ".deps/pool_ip.Po"; else rm -f
> ".deps/pool_ip.Tpo"; exit 1; fi
> pool_ip.c: In function ‘SockAddr_cidr_mask’:
> pool_ip.c:455: warning: ‘mask4.sin_zero[7u]’ may be used uninitialized
> in this function
> pool_ip.c:455: warning: ‘mask4.sin_zero[6u]’ may be used uninitialized
> in this function
> pool_ip.c:455: warning: ‘mask4.sin_zero[5u]’ may be used uninitialized
> in this function
> pool_ip.c:455: warning: ‘mask4.sin_zero[4u]’ may be used uninitialized
> in this function
> pool_ip.c:455: warning: ‘mask4.sin_zero[3u]’ may be used uninitialized
> in this function
> pool_ip.c:455: warning: ‘mask4.sin_zero[2u]’ may be used uninitialized
> in this function
> pool_ip.c:455: warning: ‘mask4.sin_zero[1u]’ may be used uninitialized
> in this function
> pool_ip.c:455: warning: ‘mask4.sin_zero[0u]’ may be used uninitialized
> in this function
> if gcc -DHAVE_CONFIG_H -DDEFAULT_CONFIGDIR=\"/usr/local/etc\" -I. -I.
> -I.  -D_GNU_SOURCE -I /usr/include/pgsql   -g -O2 -Wall
> -Wmissing-prototypes -Wmissing-declarations -MT ps_status.o -MD -MP -MF
> ".deps/ps_status.Tpo" -c -o ps_status.o ps_status.c; \
>         then mv -f ".deps/ps_status.Tpo" ".deps/ps_status.Po"; else rm
> -f ".deps/ps_status.Tpo"; exit 1; fi
> if gcc -DHAVE_CONFIG_H -DDEFAULT_CONFIGDIR=\"/usr/local/etc\" -I. -I.
> -I.  -D_GNU_SOURCE -I /usr/include/pgsql   -g -O2 -Wall
> -Wmissing-prototypes -Wmissing-declarations -MT strlcpy.o -MD -MP -MF
> ".deps/strlcpy.Tpo" -c -o strlcpy.o strlcpy.c; \
>         then mv -f ".deps/strlcpy.Tpo" ".deps/strlcpy.Po"; else rm -f
> ".deps/strlcpy.Tpo"; exit 1; fi
> if gcc -DHAVE_CONFIG_H -DDEFAULT_CONFIGDIR=\"/usr/local/etc\" -I. -I.
> -I.  -D_GNU_SOURCE -I /usr/include/pgsql   -g -O2 -Wall
> -Wmissing-prototypes -Wmissing-declarations -MT recovery.o -MD -MP -MF
> ".deps/recovery.Tpo" -c -o recovery.o recovery.c; \
>         then mv -f ".deps/recovery.Tpo" ".deps/recovery.Po"; else rm -f
> ".deps/recovery.Tpo"; exit 1; fi
> if gcc -DHAVE_CONFIG_H -DDEFAULT_CONFIGDIR=\"/usr/local/etc\" -I. -I.
> -I.  -D_GNU_SOURCE -I /usr/include/pgsql   -g -O2 -Wall
> -Wmissing-prototypes -Wmissing-declarations -MT pool_proto_modules.o -MD
> -MP -MF ".deps/pool_proto_modules.Tpo" -c -o pool_proto_modules.o
> pool_proto_modules.c; \
>         then mv -f ".deps/pool_proto_modules.Tpo"
> ".deps/pool_proto_modules.Po"; else rm -f
> ".deps/pool_proto_modules.Tpo"; exit 1; fi
> /bin/sh ./libtool --tag=CC --mode=link gcc  -g -O2 -Wall
> -Wmissing-prototypes -Wmissing-declarations   -o pgpool -rpath /usr/lib
> -rpath /usr/local/lib main.o child.o pool_auth.o pool_config.o
> pool_error.o pool_process_query.o pool_stream.o pool_connection_pool.o
> pool_params.o pool_signal.o pcp_child.o md5.o pool_shmem.o pool_sema.o
> pool_system.o pool_rewrite_query.o pool_rewrite_outfuncs.o
> pool_query_cache.o pool_hba.o pool_path.o pool_ip.o ps_status.o
> strlcpy.o recovery.o pool_proto_modules.o -L/usr/lib -lpq
> parser/libsql-parser.a pcp/libpcp.la parser/nodes.o -lresolv -lnsl -lm
> mkdir .libs
> gcc -g -O2 -Wall -Wmissing-prototypes -Wmissing-declarations -o
> .libs/pgpool main.o child.o pool_auth.o pool_config.o pool_error.o
> pool_process_query.o pool_stream.o pool_connection_pool.o pool_params.o
> pool_signal.o pcp_child.o md5.o pool_shmem.o pool_sema.o pool_system.o
> pool_rewrite_query.o pool_rewrite_outfuncs.o pool_query_cache.o
> pool_hba.o pool_path.o pool_ip.o ps_status.o strlcpy.o recovery.o
> pool_proto_modules.o parser/nodes.o  -L/usr/lib -lpq
> parser/libsql-parser.a pcp/.libs/libpcp.so -lresolv -lnsl -lm
> -Wl,--rpath -Wl,/usr/lib -Wl,--rpath -Wl,/usr/local/lib
> child.o: In function `s_do_auth':
> /usr/src/pgpool-II-2.2.5/child.c:1610: undefined reference to `crypt'
> collect2: ld returned 1 exit status
> make[2]: *** [pgpool] Error 1
> make[2]: Leaving directory `/usr/src/pgpool-II-2.2.5'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/usr/src/pgpool-II-2.2.5'
> make: *** [all] Error 2
> 
> 
> 
> 
> Tatsuo Ishii wrote:
> > I'm not sure what is wrong since I can not see rest of error
> > messages(you do not submit full error messages), but I bet your system
> > lacks libcrypt.so or it's place in weired place.
> > --
> > Tatsuo Ishii
> > SRA OSS, Inc. Japan
> >
> >> Hello all,
> >>
> >> I am trying to compile pgpool-II-2.2.5 on OpenSuse-11.2 which was
> >> upgrade from 11.1.   Pgpool compiled on 11.1 just fine, but it is
> >> producing errors on 11.2.  How should I file a bug report?
> >>
> >>  From configure script:
> >> ...
> >> checking crypt.h usability... yes
> >> checking crypt.h presence... yes
> >> checking for crypt.h... yes
> >> ...
> >>
> >> These are all the crypt.h on my system:
> >> /usr/include/crypt.h
> >> /usr/include/pgsql/server/libpq/crypt.h
> >> /usr/src/linux-2.6.31.5-0.1-obj/i386/xen/include/config/dm/crypt.h
> >> /usr/src/linux-2.6.31.5-0.1-obj/i386/desktop/include/config/dm/crypt.h
> >> /usr/src/linux-2.6.31.5-0.1-obj/i386/pae/include/config/dm/crypt.h
> >> /usr/src/linux-2.6.31.5-0.1-obj/i386/debug/include/config/dm/crypt.h
> >> /usr/src/linux-2.6.31.5-0.1-obj/i386/default/include/config/dm/crypt.h
> >>
> >>
> >> But yet I get the following error:
> >> ...
> >> if gcc -DHAVE_CONFIG_H -DDEFAULT_CONFIGDIR=\"/usr/local/etc\" -I. -I.
> >> -I.  -D_GNU_SOURCE -I /usr/include/pgsql   -g -O2 -Wall
> >> -Wmissing-prototypes -Wmissing-declarations -MT pool_proto_modules.o -MD
> >> -MP -MF ".deps/pool_proto_module\
> >>          then mv -f ".deps/pool_proto_modules.Tpo"
> >> ".deps/pool_proto_modules.Po"; else rm -f
> >> ".deps/pool_proto_modules.Tpo"; exit 1; fi
> >>
> >> /bin/sh ./libtool --tag=CC --mode=link gcc  -g -O2 -Wall
> >> -Wmissing-prototypes -Wmissing-declarations   -o pgpool -rpath /usr/lib
> >> -rpath /usr/local/lib main.o child.o pool_auth.o pool_config.o
> >> pool_error.o pool_process_query.o pool_
> >> mkdir .libs
> >> gcc -g -O2 -Wall -Wmissing-prototypes -Wmissing-declarations -o
> >> .libs/pgpool main.o child.o pool_auth.o pool_config.o pool_error.o
> >> pool_process_query.o pool_stream.o pool_connection_pool.o pool_params.o
> >> pool_signal.o pcp_child.o mdb
> >> child.o: In function `s_do_auth':
> >>
> >> /usr/src/pgpool-II-2.2.5/child.c:1610: undefined reference to `crypt'
> >> collect2: ld returned 1 exit status
> >> make[2]: *** [pgpool] Error 1
> >> make[2]: Leaving directory `/usr/src/pgpool-II-2.2.5'
> >> make[1]: *** [all-recursive] Error 1
> >> make[1]: Leaving directory `/usr/src/pgpool-II-2.2.5'
> >> make: *** [all] Error 2
> >> _______________________________________________
> >> Pgpool-general mailing list
> >> Pgpool-general at pgfoundry.org
> >> http://pgfoundry.org/mailman/listinfo/pgpool-general


More information about the Pgpool-general mailing list