None of the pam versions released since redhat-5.2 (6.0, 6.1, 6.2, Rawhide)
will rebuild on my heavily upgraded glibc20 rh51 system.
Required: packages by the most currect spec file:
Rebuilding 0.72-7 dies at:
mkdir -p ./dynamic
gcc -DPAM_READ_BOTH_CONFS -D_GNU_SOURCE -DLINUX_PAM -Wall -Wpointer-arith
-Wcast-qual -Wcast-align -Wtraditional -Wstrict-prototypes
-Wmissing-prototypes -Wnested-externs -Winline -Wshadow -fPIC -Dlinux
-DPAM_DYNAMIC -c pam_stack.c -o dynamic/pam_stack.o
pam_stack.c:47: `PAM_FAIL_DELAY' undeclared here (not in a function)
pam_stack.c:47: initializer element for `defined_items.num' is not
pam_stack.c: In function `_pam_stack_dispatch':
pam_stack.c:103: warning: implicit declaration of function `syslog'
pam_stack.c:103: `LOG_WARNING' undeclared (first use this function)
pam_stack.c:103: (Each undeclared identifier is reported only once
pam_stack.c:103: for each function it appears in.)
pam_stack.c:108: warning: function `syslog' was previously declared within
pam_stack.c:108: `LOG_DEBUG' undeclared (first use this function)
pam_stack.c:121: warning: implicit declaration of function `strncmp'
pam_stack.c:126: warning: implicit declaration of function `free'
pam_stack.c:140: warning: implicit declaration of function `calloc'
pam_stack.c:140: warning: assignment makes pointer from integer without a
pam_stack.c:213: warning: function `free' was previously declared within a
pam_stack.c:215: warning: function `free' was previously declared within a
make: *** [dynamic/pam_stack.o] Error 1
[ plus a few other warnings/errors ]
This will be resolved in pam-0.72-9 in the next Raw Hide snapshot