linux-pam on MIPS: ld error

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

 



Hello,

I tried to build linux-pam 1.1.7 on MIPS with:

    ./configure --prefix=/usr
    make

The build fails on make with:

/bin/sh ../../libtool --tag=CC   --mode=link gcc -I../../libpam/include -I../../libpamc/include
-DCHKPWD_HELPER=\"/sbin/unix_chkpwd\" -DUPDATE_HELPER=\"/sbin/unix_update\"   -g -O2 -no-undefined
-avoid-version -module -Wl,--version-script=./../modules.map -Wl,--as-needed -Wl,--no-undefined
-Wl,-O1 -o pam_unix.la -rpath /lib/security bigcrypt.lo pam_unix_acct.lo pam_unix_auth.lo
pam_unix_passwd.lo pam_unix_sess.lo support.lo passverify.lo yppasswd_xdr.lo md5_good.lo
md5_broken.lo  ../../libpam/libpam.la -lcrypt  -lnsl
libtool: link: gcc -shared  .libs/bigcrypt.o .libs/pam_unix_acct.o .libs/pam_unix_auth.o
.libs/pam_unix_passwd.o .libs/pam_unix_sess.o .libs/support.o .libs/passverify.o
.libs/yppasswd_xdr.o .libs/md5_good.o .libs/md5_broken.o   -Wl,-rpath
-Wl,/usr/src/linux-pam/Linux-PAM-1.1.7/libpam/.libs ../../libpam/.libs/libpam.so -ldl -lcrypt
-lnsl  -Wl,--version-script=./../modules.map -Wl,--as-needed -Wl,--no-undefined -Wl,-O1  
-Wl,-soname -Wl,pam_unix.so -o .libs/pam_unix.so
.libs/pam_unix_passwd.o: In function `_do_setpass':
/usr/src/linux-pam/Linux-PAM-1.1.7/modules/pam_unix/pam_unix_passwd.c:371: undefined reference to
`clnt_create'
/usr/src/linux-pam/Linux-PAM-1.1.7/modules/pam_unix/pam_unix_passwd.c:371: undefined reference to
`clnt_create'
/usr/src/linux-pam/Linux-PAM-1.1.7/modules/pam_unix/pam_unix_passwd.c:372: undefined reference to
`authunix_create_default'
/usr/src/linux-pam/Linux-PAM-1.1.7/modules/pam_unix/pam_unix_passwd.c:372: undefined reference to
`authunix_create_default'
/usr/src/linux-pam/Linux-PAM-1.1.7/modules/pam_unix/pam_unix_passwd.c:376: undefined reference to
`xdr_int'
.libs/yppasswd_xdr.o: In function `xdr_xpasswd':
/usr/src/linux-pam/Linux-PAM-1.1.7/modules/pam_unix/yppasswd_xdr.c:23: undefined reference to
`xdr_string'
/usr/src/linux-pam/Linux-PAM-1.1.7/modules/pam_unix/yppasswd_xdr.c:23: undefined reference to
`xdr_string'
/usr/src/linux-pam/Linux-PAM-1.1.7/modules/pam_unix/yppasswd_xdr.c:29: undefined reference to
`xdr_string'
/usr/src/linux-pam/Linux-PAM-1.1.7/modules/pam_unix/yppasswd_xdr.c:24: undefined reference to
`xdr_string'
/usr/src/linux-pam/Linux-PAM-1.1.7/modules/pam_unix/yppasswd_xdr.c:25: undefined reference to
`xdr_int'
/usr/src/linux-pam/Linux-PAM-1.1.7/modules/pam_unix/yppasswd_xdr.c:25: undefined reference to
`xdr_int'
/usr/src/linux-pam/Linux-PAM-1.1.7/modules/pam_unix/yppasswd_xdr.c:26: undefined reference to
`xdr_int'
/usr/src/linux-pam/Linux-PAM-1.1.7/modules/pam_unix/yppasswd_xdr.c:26: undefined reference to
`xdr_int'
/usr/src/linux-pam/Linux-PAM-1.1.7/modules/pam_unix/yppasswd_xdr.c:27: undefined reference to
`xdr_string'
/usr/src/linux-pam/Linux-PAM-1.1.7/modules/pam_unix/yppasswd_xdr.c:27: undefined reference to
`xdr_string'
/usr/src/linux-pam/Linux-PAM-1.1.7/modules/pam_unix/yppasswd_xdr.c:28: undefined reference to
`xdr_string'
/usr/src/linux-pam/Linux-PAM-1.1.7/modules/pam_unix/yppasswd_xdr.c:28: undefined reference to
`xdr_string'
/usr/src/linux-pam/Linux-PAM-1.1.7/modules/pam_unix/yppasswd_xdr.c:29: undefined reference to
`xdr_string'
.libs/yppasswd_xdr.o:/usr/src/linux-pam/Linux-PAM-1.1.7/modules/pam_unix/yppasswd_xdr.c:29: more
undefined references to `xdr_string' follow
collect2: error: ld returned 1 exit status
make[3]: *** [pam_unix.la] Error 1
make[3]: Leaving directory `/usr/src/linux-pam/Linux-PAM-1.1.7/modules/pam_unix'

Do you know how to fix this problem?

Thanks,

Christophe

_______________________________________________
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