This is the mail archive of the
libc-alpha@sourceware.cygnus.com
mailing list for the glibc project.
Re: PAM builds fail
- To: Peter Gavin <pbg1854@garnet.acns.fsu.edu>
- Subject: Re: PAM builds fail
- From: Andreas Jaeger <aj@arthur.rhein-neckar.de>
- Date: 24 Jun 1999 06:59:39 +0200
- Cc: libc-alpha@sourceware.cygnus.com, bug-glibc@gnu.org
- References: <XFMail.990623214805.pbg1854@garnet.acns.fsu.edu>
>>>>> Peter Gavin writes:
Peter> glibc-2.1.1, egcs-1.1.2, linux-2.2.10
Peter> Hi,
Peter> I can't get anything that uses pam to build...
Peter> For example, building util-linux-2.9s:
Peter> In file included from /usr/include/security/pam_misc.h:24,
Peter> from login.c:139:
Peter> /usr/include/security/_pam_macros.h:12: parse error before `__extension__'
Peter> /usr/include/security/_pam_macros.h:12: `__len' undeclared here (not in a
Peter> function)
Peter> /usr/include/security/_pam_macros.h:12: initializer element is not constant
Peter> /usr/include/security/_pam_macros.h:12: parse error before `if'
Peter> /usr/include/security/_pam_macros.h:12: conflicting types for `__retval'
Peter> /usr/include/security/_pam_macros.h:12: previous declaration of `__retval'
Peter> /usr/include/security/_pam_macros.h:12: warning: data definition has no type or
Peter> storage class
Peter> /usr/include/security/_pam_macros.h:12: parse error before `}'
Peter> I got this same gcc error in anything involving pam.
Thanks for your detailed bug report. What's the contents of the line
12? If it's a string function, read the FAQ that comes with glibc:
3.8. I've got errors compiling code that uses certain string
functions. Why?
Andreas
--
Andreas Jaeger aj@arthur.rhein-neckar.de jaeger@informatik.uni-kl.de
for pgp-key finger ajaeger@aixd1.rhrk.uni-kl.de