View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0000037 | Pgpool-II | Bug | public | 2012-11-20 20:48 | 2012-11-21 08:30 |
| Reporter | Marcin | Assigned To | t-ishii | ||
| Priority | normal | Severity | minor | Reproducibility | always |
| Status | resolved | Resolution | open | ||
| Platform | amd64 | OS | Linux | OS Version | Gentoo |
| Summary | 0000037: pgpool2-{3.0.4,3.2.1} doesn't compile without pam (./configure --without-pam) | ||||
| Description | x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -DDEFAULT_CONFIGDIR=\"/etc/pgpool2\" -I. -D_GNU_SOURCE -I /usr/include/postgresql-9.2 -march=native -O2 -pipe -combine -Wdi sabled-optimization -Wstack-protector -fexpensive-optimizations -fpeel-loops -fgraphite-identity -floop-interchange -ftree-loop-linear -floop-block -floop- strip-mine -fira-loop-pressure -fpredictive-commoning -freorder-blocks-and-partition -ftracer -ftree-vectorize --param l2-cache-size=128 --param l1-cache-siz e=16 --param l1-cache-line-size=32 -Wall -Wmissing-prototypes -Wmissing-declarations -c pool_rewrite_query.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -DDEFAULT_CONFIGDIR=\"/etc/pgpool2\" -I. -D_GNU_SOURCE -I /usr/include/postgresql-9.2 -march=native -O2 -pipe -combine -Wdi sabled-optimization -Wstack-protector -fexpensive-optimizations -fpeel-loops -fgraphite-identity -floop-interchange -ftree-loop-linear -floop-block -floop- strip-mine -fira-loop-pressure -fpredictive-commoning -freorder-blocks-and-partition -ftracer -ftree-vectorize --param l2-cache-size=128 --param l1-cache-siz e=16 --param l1-cache-line-size=32 -Wall -Wmissing-prototypes -Wmissing-declarations -c pool_rewrite_outfuncs.c pool_rewrite_outfuncs.c: In function ‘append_join_natural.clone.79’: pool_rewrite_outfuncs.c:1199:13: warning: not protecting local variables: variable length buffer pool_rewrite_outfuncs.c: In function ‘append_join_using.clone.80’: pool_rewrite_outfuncs.c:1112:13: warning: not protecting local variables: variable length buffer x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -DDEFAULT_CONFIGDIR=\"/etc/pgpool2\" -I. -D_GNU_SOURCE -I /usr/include/postgresql-9.2 -march=native -O2 -pipe -combine -Wdi sabled-optimization -Wstack-protector -fexpensive-optimizations -fpeel-loops -fgraphite-identity -floop-interchange -ftree-loop-linear -floop-block -floop- strip-mine -fira-loop-pressure -fpredictive-commoning -freorder-blocks-and-partition -ftracer -ftree-vectorize --param l2-cache-size=128 --param l1-cache-siz e=16 --param l1-cache-line-size=32 -Wall -Wmissing-prototypes -Wmissing-declarations -c pool_query_cache.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -DDEFAULT_CONFIGDIR=\"/etc/pgpool2\" -I. -D_GNU_SOURCE -I /usr/include/postgresql-9.2 -march=native -O2 -pipe -combine -Wdi sabled-optimization -Wstack-protector -fexpensive-optimizations -fpeel-loops -fgraphite-identity -floop-interchange -ftree-loop-linear -floop-block -floop- strip-mine -fira-loop-pressure -fpredictive-commoning -freorder-blocks-and-partition -ftracer -ftree-vectorize --param l2-cache-size=128 --param l1-cache-siz e=16 --param l1-cache-line-size=32 -Wall -Wmissing-prototypes -Wmissing-declarations -c pool_hba.c pool_hba.c:79:86: warning: ‘struct pam_response’ declared inside parameter list pool_hba.c:79:86: warning: its scope is only this definition or declaration, which is probably not what you want pool_hba.c:79:86: warning: ‘struct pam_message’ declared inside parameter list pool_hba.c:87:15: error: variable ‘pam_passw_conv’ has initializer but incomplete type pool_hba.c:88:2: warning: excess elements in struct initializer pool_hba.c:88:2: warning: (near initialization for ‘pam_passw_conv’) pool_hba.c:90:1: warning: excess elements in struct initializer pool_hba.c:90:1: warning: (near initialization for ‘pam_passw_conv’) pool_hba.c:1295:16: warning: ‘struct pam_response’ declared inside parameter list pool_hba.c:1295:16: warning: ‘struct pam_message’ declared inside parameter list pool_hba.c:1294:12: error: conflicting types for ‘pam_passwd_conv_proc’ pool_hba.c:79:12: note: previous declaration of ‘pam_passwd_conv_proc’ was here pool_hba.c: In function ‘pam_passwd_conv_proc’: pool_hba.c:1297:28: error: dereferencing pointer to incomplete type pool_hba.c:1297:43: error: ‘PAM_PROMPT_ECHO_OFF’ undeclared (first use in this function) pool_hba.c:1297:43: note: each undeclared identifier is reported only once for each function it appears in pool_hba.c:1299:17: error: dereferencing pointer to incomplete type pool_hba.c:1301:9: error: ‘PAM_ERROR_MSG’ undeclared (first use in this function) pool_hba.c:1303:14: error: dereferencing pointer to incomplete type pool_hba.c:1304:12: error: ‘PAM_CONV_ERR’ undeclared (first use in this function) pool_hba.c:1307:14: error: dereferencing pointer to incomplete type pool_hba.c:1307:33: error: dereferencing pointer to incomplete type pool_hba.c:1346:33: error: invalid application of ‘sizeof’ to incomplete type ‘struct pam_response’ pool_hba.c:1354:2: error: invalid use of undefined type ‘struct pam_response’ pool_hba.c:1354:9: error: dereferencing pointer to incomplete type pool_hba.c:1355:2: error: invalid use of undefined type ‘struct pam_response’ pool_hba.c:1355:13: error: dereferencing pointer to incomplete type pool_hba.c:1360:2: error: invalid use of undefined type ‘struct pam_response’ pool_hba.c:1360:9: error: dereferencing pointer to incomplete type pool_hba.c:1362:2: error: invalid use of undefined type ‘struct pam_response’ pool_hba.c:1362:17: error: dereferencing pointer to incomplete type pool_hba.c:1362:28: error: ‘PAM_SUCCESS’ undeclared (first use in this function) pool_hba.c: In function ‘CheckPAMAuth’: pool_hba.c:1372:2: error: ‘pam_handle_t’ undeclared (first use in this function) pool_hba.c:1372:16: error: ‘pamh’ undeclared (first use in this function) pool_hba.c:1385:2: error: invalid use of undefined type ‘struct pam_conv’ pool_hba.c:1390:3: warning: implicit declaration of function ‘pam_start’ pool_hba.c:1396:16: error: ‘PAM_SUCCESS’ undeclared (first use in this function) pool_hba.c:1399:6: warning: implicit declaration of function ‘pam_strerror’ pool_hba.c:1404:2: warning: implicit declaration of function ‘pam_set_item’ pool_hba.c:1404:30: error: ‘PAM_USER’ undeclared (first use in this function) pool_hba.c:1413:30: error: ‘PAM_CONV’ undeclared (first use in this function) pool_hba.c:1422:2: warning: implicit declaration of function ‘pam_authenticate’ pool_hba.c:1431:2: warning: implicit declaration of function ‘pam_acct_mgmt’ pool_hba.c:1440:2: warning: implicit declaration of function ‘pam_end’ pool_hba.c: At top level: pool_hba.c:79:12: warning: ‘pam_passwd_conv_proc’ used but never defined pool_hba.c:1294:12: warning: ‘pam_passwd_conv_proc’ defined but not used pool_hba.c: In function ‘CheckPAMAuth’: pool_hba.c:1450:1: warning: control reaches end of non-void function make[2]: *** [pool_hba.o] Error 1 make[2]: Leaving directory `/var/tmp/portage/dev-db/pgpool2-3.2.1/work/pgpool-II-3.2.1' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/dev-db/pgpool2-3.2.1/work/pgpool-II-3.2.1' make: *** [all] Error 2 * ERROR: dev-db/pgpool2-3.2.1 failed (compile phase): * emake failed | ||||
| Additional Information | * econf: updating pgpool-II-3.2.1/config.sub with /usr/share/gnuconfig/config.sub ./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/ etc --localstatedir=/var/lib --libdir=/usr/lib64 --disable-dependency-tracking --disable-rpath --sysconfdir=/etc/pgpool2 --without-pam --without-openssl --disable-static | ||||
| Tags | No tags attached. | ||||