RLIMIT_NICE xtests

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

 




Hi,

Using the latest pam, I'm getting a 'RLIMIT_NICE' error on tst-pam_limits1.c on my LinuxFromScratch-6.2 system.

I've grep'ed all my includes, but didn't find any relative defines and then found out that my headers are from a 2.6.12 kernel which should be the reason why this define doesn't exist.

Maybe a check to see if this define exists, and avoid to the test in case of an older kernel would be nice.

Julien.


Here's my conf line and makefile output:
./configure --libdir=/usr/lib --sbindir=/lib/security --enable-securedir=/lib/security --enable-docdir=/usr/share/doc/Linux-PAM --enable-read-both-confs
(...)

gcc -DHAVE_CONFIG_H -I. -I.. -DLIBPAM_COMPILE -I../libpam/include -I../libpamc/include -I../libpam_misc/include -O2 -MT tst-pam_limits1.o -MD -MP -MF .deps/tst-pam_limits1.Tpo -c -o tst-pam_limits1.o tst-pam_limits1.c
tst-pam_limits1.c: In function 'main':
tst-pam_limits1.c:130: error: 'RLIMIT_NICE' undeclared (first use in this function) tst-pam_limits1.c:130: error: (Each undeclared identifier is reported only once
tst-pam_limits1.c:130: error: for each function it appears in.)
make[2]: *** [tst-pam_limits1.o] Error 1
make[2]: Leaving directory `/srv/src/Linux-From-Scratch/blfs/Linux-PAM-0.99.8.1/xtests'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/srv/src/Linux-From-Scratch/blfs/Linux-PAM-0.99.8.1'
make: *** [all] Error 2

_______________________________________________
Pam-list mailing list
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