-   Slackware (
-   -   can't compile PAM in 13.0 x86_64 kenel (

bennethos 10-21-2009 07:06 AM

can't compile PAM in 13.0 x86_64 kenel
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-

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

5 - make gives :

pam_conv_l.o: In function `yylex':
/usr/local/tars/slackbuild/pam/Linux-PAM- 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-'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/usr/local/tars/slackbuild/pam/Linux-PAM-'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/local/tars/slackbuild/pam/Linux-PAM-'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/tars/slackbuild/pam/Linux-PAM-'
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.


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


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


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 05:22 PM.