LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   can't compile PAM in 13.0 x86_64 kenel 2.6.31.1 (https://www.linuxquestions.org/questions/slackware-14/cant-compile-pam-in-13-0-x86_64-kenel-2-6-31-1-a-763421/)

bennethos 10-21-2009 07:06 AM

can't compile PAM in 13.0 x86_64 kenel 2.6.31.1
 
Here's what I did :

1- I have a multilib system 32bit & 64 bit libs (see alien's wiki on howto do this)

2- Installed the cracklibs package

3- wgetted & extracted Linux-PAM-0.99.10.0

4 - ./configure --> OK , no errors

5 - make gives :

pam_conv_l.o: In function `yylex':
/usr/local/tars/slackbuild/pam/Linux-PAM-0.99.10.0/conf/pam_conv1/pam_conv_l.c:843: undefined reference to `yywrap'
collect2: ld returned 1 exit status
make[4]: *** [pam_conv1] Error 1
make[4]: Leaving directory `/usr/local/tars/slackbuild/pam/Linux-PAM-0.99.10.0/conf/pam_conv1'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/usr/local/tars/slackbuild/pam/Linux-PAM-0.99.10.0/conf/pam_conv1'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/local/tars/slackbuild/pam/Linux-PAM-0.99.10.0/conf'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/tars/slackbuild/pam/Linux-PAM-0.99.10.0'
make: *** [all] Error 2

any idea's ?

wildwizard 10-21-2009 07:15 AM

Well I did compile Linux-PAM 1.1.0 under Slackware64 13.0 so you might want to try the current version of PAM first.

slackd 10-21-2009 07:27 AM

u might wanna check here...
just modify the slackbuild and try.

GO--->>

bennethos 10-21-2009 08:40 AM

thx for the slack package, couldn't fine one

I'll try that one

ivan73rus 11-28-2009 07:50 AM

Hi,

i have fixed the problem with not defined yywrap() by specifying the lidfl path prefix (/usr in my case) to configure executable:

--with-libiconv-prefix=/usr

entire command line looks as follows:

# ./configure --prefix=/user --exec-prefix=/usr --localstatedir=/var --sysconfdir=/etc --disable-selinux --with-libiconv-prefix=/usr

i am using ASPLinux 11.2 (Ladoga) (RedHat based)


All times are GMT -5. The time now is 11:22 PM.