I am having problem in installing Linux PAM 0.99.9.0 in Fedora Core 6.
The 'configure' command I am using is:
"
[root@nms Linux-PAM-0.99.9.0]# CFLAGS="-O3 -static -march=i686 -mtune=i686 -funroll-loops -fomit-frame-pointer" CXXFLAGS="-O3 -static -march=i686 -mtune=i686 -funroll-loops -fomit-frame-pointer -felide-constructors -fno-exceptions -fno-rtti" ./configure --disable-selinux
"
Below is the error message I am getting during 'make':
"
gcc -DHAVE_CONFIG_H -I. -I../.. -O3 -static -march=i686 -mtune=i686 -funroll-loops -fomit-frame-pointer -W -Wall -Wbad-function-cast -Wcast-align -Wcast-qual -Wmissing-declarations -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wstrict-prototypes -Wwrite-strings -Winline -Wshadow -MT pam_conv_l.o -MD -MP -MF .deps/pam_conv_l.Tpo -c -o pam_conv_l.o pam_conv_l.c
pam_conv_l.c: In function 'yy_get_next_buffer':
pam_conv_l.c:995: warning: comparison between signed and unsigned
pam_conv_l.c: At top level:
pam_conv_l.c:1579: warning: no previous prototype for 'yyget_in'
pam_conv_l.c:1587: warning: no previous prototype for 'yyget_out'
pam_conv_l.c:1595: warning: no previous prototype for 'yyget_leng'
pam_conv_l.c:1604: warning: no previous prototype for 'yyget_text'
pam_conv_l.c:1615: warning: no previous prototype for 'yyset_in'
pam_conv_l.c:1620: warning: no previous prototype for 'yyset_out'
pam_conv_l.c:1625: warning: no previous prototype for 'yyget_debug'
pam_conv_l.c:1630: warning: no previous prototype for 'yyset_debug'
pam_conv_l.c:1664: warning: no previous prototype for 'yylex_destroy'
pam_conv_l.c:1087: warning: 'yyunput' defined but not used
mv -f .deps/pam_conv_l.Tpo .deps/pam_conv_l.Po
gcc -DHAVE_CONFIG_H -I. -I../.. -O3 -static -march=i686 -mtune=i686 -funroll-loops -fomit-frame-pointer -W -Wall -Wbad-function-cast -Wcast-align -Wcast-qual -Wmissing-declarations -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wstrict-prototypes -Wwrite-strings -Winline -Wshadow -MT pam_conv_y.o -MD -MP -MF .deps/pam_conv_y.Tpo -c -o pam_conv_y.o pam_conv_y.c
mv -f .deps/pam_conv_y.Tpo .deps/pam_conv_y.Po
/bin/sh ../../libtool --tag=CC --mode=link gcc -O3 -static -march=i686 -mtune=i686 -funroll-loops -fomit-frame-pointer -W -Wall -Wbad-function-cast -Wcast-align -Wcast-qual -Wmissing-declarations -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wstrict-prototypes -Wwrite-strings -Winline -Wshadow -Wl,--as-needed -Wl,-O1 -o pam_conv1 pam_conv_l.o pam_conv_y.o
gcc -O3 -march=i686 -mtune=i686 -funroll-loops -fomit-frame-pointer -W -Wall -Wbad-function-cast -Wcast-align -Wcast-qual -Wmissing-declarations -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wstrict-prototypes -Wwrite-strings -Winline -Wshadow -Wl,--as-needed -Wl,-O1 -o pam_conv1 pam_conv_l.o pam_conv_y.o
pam_conv_l.o: In function `yylex':
pam_conv_l.c:(.text+0x1206): undefined reference to `yywrap'
collect2: ld returned 1 exit status
make[4]: *** [pam_conv1] Error 1
make[4]: Leaving directory `/tmp/Linux- PAM-0.99.9.0/conf/pam_conv1'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/tmp/Linux-PAM-0.99.9.0/conf/pam_conv1'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/tmp/Linux-PAM-0.99.9.0 /conf'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/Linux-PAM-0.99.9.0'
make: *** [all] Error 2
"
Kindly assist.
With kindest regards,
Emmanuel
_______________________________________________ Pam-list mailing list Pam-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/pam-list