Error on make: LINE_MAX undeclared
- Subject: Error on make: LINE_MAX undeclared
- From: Jacques Dirac <jacquesdirac@xxxxxxxxx>
- Date: Wed, 27 Jul 2011 15:15:41 +0200
Hi,
When running make (after ./configure), I get the error:
libtool: compile: i586-linux-gcc -DHAVE_CONFIG_H -I.
-I../../../modules/pam_localuser -I../.. -I../../../libpam/include
-I../../../libpamc/include -g -O2 -MT pam_localuser.lo -MD -MP -MF
.deps/pam_localuser.Tpo -c
../../../modules/pam_localuser/pam_localuser.c -fPIC -DPIC -o
.libs/pam_localuser.o
../../../modules/pam_localuser/pam_localuser.c: In function
'pam_sm_authenticate':
../../../modules/pam_localuser/pam_localuser.c:66: error: 'LINE_MAX'
undeclared (first use in this function)
../../../modules/pam_localuser/pam_localuser.c:66: error: (Each
undeclared identifier is reported only once
../../../modules/pam_localuser/pam_localuser.c:66: error: for each
function it appears in.)
m
I'm using:
- pam v1.1.4
- gcc v4.4.4
- glibc v2.11.2
- Linux v2.6.35.12
Seems that this has something to do with limits.h (glibc) and POSIX,
but I don't understand it :-(.
What can I do to fix?
Hope someone can help me!
_______________________________________________
Pam-list mailing list
Pam-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/pam-list
[Fedora Users]
[Kernel]
[Red Hat Install]
[Linux for the blind]
[Gimp]