problems when compiling under gentoo

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi!

when I try to compile pam 0.77 I get this errors:


make[2]: Entering directory `/var/tmp/portage/pam-0.77/work/Linux-PAM-0.77/modules/pam_access'
mkdir -p ./dynamic
gcc -Wall -Wwrite-strings -Wpointer-arith -Wcast-qual -Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wshadow -Dlinux -O3 -march=pentium4 -funroll-loops -fprefetch-loop-arrays -pipe -fPIC -I/var/tmp/portage/pam-0.77/work/Linux-PAM-0.77/include -I./include -I/var/tmp/portage/pam-0.77/work/Linux-PAM-0.77/libpam/include -I/var/tmp/portage/pam-0.77/work/Linux-PAM-0.77 -I/var/tmp/portage/pam-0.77/work/Linux-PAM-0.77/libpamc/include -DDEFAULT_CONF_FILE=\"/etc/security/access.conf\" -DNIS -I../pammodutil/include -DPAM_DYNAMIC -c pam_access.c -o dynamic/pam_access.o
pam_access.c: In function `pam_sm_acct_mgmt':
pam_access.c:411: warning: dereferencing type-punned pointer will break strict-aliasing rules
pam_access.c:427: warning: dereferencing type-punned pointer will break strict-aliasing rules
pam_access.c:437: warning: dereferencing type-punned pointer will break strict-aliasing rules
gcc -shared -L/var/tmp/portage/pam-0.77/work/Linux-PAM-0.77/lib -o pam_access.so dynamic/pam_access.o -lnsl -lc -L../pammodutil -lpammodutil
make[2]: Leaving directory `/var/tmp/portage/pam-0.77/work/Linux-PAM-0.77/modules/pam_access'
make[2]: Entering directory `/var/tmp/portage/pam-0.77/work/Linux-PAM-0.77/modules/pam_chroot'
mkdir -p ./dynamic
gcc -Wall -Wwrite-strings -Wpointer-arith -Wcast-qual -Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wshadow -Dlinux -O3 -march=pentium4 -funroll-loops -fprefetch-loop-arrays -pipe -fPIC -I/var/tmp/portage/pam-0.77/work/Linux-PAM-0.77/include -I./include -I/var/tmp/portage/pam-0.77/work/Linux-PAM-0.77/libpam/include -I/var/tmp/portage/pam-0.77/work/Linux-PAM-0.77 -I/var/tmp/portage/pam-0.77/work/Linux-PAM-0.77/libpamc/include -I../pammodutil/include -DPAM_DYNAMIC -c pam_chroot.c -o dynamic/pam_chroot.o
gcc -shared -L/var/tmp/portage/pam-0.77/work/Linux-PAM-0.77/lib -o pam_chroot.so dynamic/pam_chroot.o -lc -L../pammodutil -lpammodutil
make[2]: Leaving directory `/var/tmp/portage/pam-0.77/work/Linux-PAM-0.77/modules/pam_chroot'
make[2]: Entering directory `/var/tmp/portage/pam-0.77/work/Linux-PAM-0.77/modules/pam_console'
bison -d -p _pc_yy config.y
config.y: conflicts: 1 shift/reduce
sh ./sed-static config.tab.c
flex -Cr -oconfig.lex.c -P_pc_yy config.l
sh ./sed-static config.lex.c
gcc -Wall -Wwrite-strings -Wpointer-arith -Wcast-qual -Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wshadow -Dlinux -O3 -march=pentium4 -funroll-loops -fprefetch-loop-arrays -pipe -fPIC -I/var/tmp/portage/pam-0.77/work/Linux-PAM-0.77/include -I./include -I/var/tmp/portage/pam-0.77/work/Linux-PAM-0.77/libpam/include -I/var/tmp/portage/pam-0.77/work/Linux-PAM-0.77 -I/var/tmp/portage/pam-0.77/work/Linux-PAM-0.77/libpamc/include -I/usr/include/glib-1.2 -I/usr/lib/glib/include -D_GNU_SOURCE -DLOCKDIR=\"/var/run/console\" -I../pammodutil/include -DPAM_DYNAMIC -c pam_console.c -o dynamic/pam_console.o
In file included from pam_console.c:26:
../../_pam_aconf.h:28:1: warning: "_GNU_SOURCE" redefined
<command line>:5:1: warning: this is the location of the previous definition
In file included from pam_console.c:28:
/usr/include/glib-1.2/glib.h:1697: warning: declaration of `index' shadows a global declaration
<built-in>:0: warning: shadowed declaration is here
/usr/include/glib-1.2/glib.h:1703: warning: declaration of `index' shadows a global declaration
<built-in>:0: warning: shadowed declaration is here
/usr/include/glib-1.2/glib.h:1705: warning: declaration of `index' shadows a global declaration
<built-in>:0: warning: shadowed declaration is here
/usr/include/glib-1.2/glib.h:1719: warning: declaration of `index' shadows a global declaration
<built-in>:0: warning: shadowed declaration is here
/usr/include/glib-1.2/glib.h:1721: warning: declaration of `index' shadows a global declaration
<built-in>:0: warning: shadowed declaration is here
/usr/include/glib-1.2/glib.h:1745: warning: declaration of `index' shadows a global declaration
<built-in>:0: warning: shadowed declaration is here
/usr/include/glib-1.2/glib.h:1747: warning: declaration of `index' shadows a global declaration
<built-in>:0: warning: shadowed declaration is here
/usr/include/glib-1.2/glib.h:2319: warning: declaration of `index' shadows a global declaration
<built-in>:0: warning: shadowed declaration is here
pam_console.c: In function `pam_sm_authenticate':
pam_console.c:286: warning: dereferencing type-punned pointer will break strict-aliasing rules
pam_console.c: In function `pam_sm_open_session':
pam_console.c:337: warning: dereferencing type-punned pointer will break strict-aliasing rules
pam_console.c:349: warning: dereferencing type-punned pointer will break strict-aliasing rules
pam_console.c: In function `pam_sm_close_session':
pam_console.c:404: warning: dereferencing type-punned pointer will break strict-aliasing rules
pam_console.c:408: warning: dereferencing type-punned pointer will break strict-aliasing rules
In file included from /usr/include/ap_config.h:1129,
from /usr/include/fnmatch.h:38,
from chmod.c:27,
from pam_console.c:490:
/usr/include/hsregex.h: At top level:
/usr/include/hsregex.h:25: error: conflicting types for `regoff_t'
/usr/include/regex.h:415: error: previous declaration of `regoff_t'
/usr/include/hsregex.h:31: error: conflicting types for `regex_t'
/usr/include/regex.h:412: error: previous declaration of `regex_t'
/usr/include/hsregex.h:35: error: conflicting types for `regmatch_t'
/usr/include/regex.h:443: error: previous declaration of `regmatch_t'
/usr/include/hsregex.h:39: error: conflicting types for `regcomp'
/usr/include/regex.h:558: error: previous declaration of `regcomp'
/usr/include/hsregex.h:69: error: conflicting types for `regerror'
/usr/include/regex.h:567: error: previous declaration of `regerror'
/usr/include/hsregex.h:73: error: conflicting types for `regexec'
/usr/include/regex.h:562: error: previous declaration of `regexec'
/usr/include/hsregex.h:83: error: conflicting types for `regfree'
/usr/include/regex.h:570: error: previous declaration of `regfree'
In file included from pam_console.c:490:
chmod.c: In function `change_via_fstab':
chmod.c:227: warning: implicit declaration of function `fnmatch'
In file included from pam_console.c:493:
config.tab.c: At top level:
config.tab.c:777: warning: static declaration for `_pc_yyparse' follows non-static
config.y: In function `_pc_yyparse':
config.y:104: warning: char format, void arg (arg 4)
config.tab.c:1203: warning: passing arg 1 of `_pc_yyerror' discards qualifiers from pointer target type
config.tab.c:1302: warning: passing arg 1 of `_pc_yyerror' discards qualifiers from pointer target type
config.y: In function `check_one_console_name':
config.y:163: warning: passing arg 2 of `do_regerror' from incompatible pointer type
pam_console.c: At top level:
config.y:327: warning: `set_permissions_single' defined but not used
config.y:367: warning: `reset_permissions_single' defined but not used
config.lex.c:1432: warning: `_pc_yy_delete_buffer' defined but not used
config.lex.c:1549: warning: `_pc_yy_scan_string' defined but not used
config.lex.c:1227: warning: `yyunput' defined but not used
config.y:467: warning: `do_yyerror' defined but not used
make[2]: *** [dynamic/pam_console.o] Error 1
make[2]: Leaving directory `/var/tmp/portage/pam-0.77/work/Linux-PAM-0.77/modules/pam_console'
make[1]: *** [all] Error 1
make[1]: Leaving directory `/var/tmp/portage/pam-0.77/work/Linux-PAM-0.77/modules'
make: *** [modules] Error 2



has anybody an hind for me why it doesn't work?

thx
Montolio

_______________________________________________

Pam-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/pam-list

[Index of Archives]     [Fedora Users]     [Kernel]     [Red Hat Install]     [Linux for the blind]     [Gimp]

  Powered by Linux