[Samba]Compiler Error --with-pam

Tom Syroid tom at syroidmanor.com
Tue Jan 29 10:42:45 GMT 2002


Jerry, et. al.

Grabbed the CVS tree this morning about 9am local (CST).

Compiled with the following options:

--with-smbwrapper
--with-smbmount
--with-pam
--with-utmp

Which generated the following 'make' error:


> Using FLAGS32 =  -O  -Iinclude -I./include -I./ubiqx -I./smbwrapper
> -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE
> -DLOGFILEBASE="/usr/local/samba/var"
> -DCONFIGFILE="/usr/local/samba/lib/smb.conf"
> -DLMHOSTSFILE="/usr/local/samba/lib/lmhosts"
> -DSWATDIR="/usr/local/samba/swat" -DSBINDIR="/usr/local/samba/bin"
> -DLOCKDIR="/usr/local/samba/var/locks"
> -DCODEPAGEDIR="/usr/local/samba/lib/codepages"
> -DDRIVERFILE="/usr/local/samba/lib/printers.def"
> -DBINDIR="/usr/local/samba/bin"  -DHAVE_INCLUDES_H
> -DPASSWD_PROGRAM="/bin/passwd"
> -DSMB_PASSWD_FILE="/usr/local/samba/private/smbpasswd"
> -DTDB_PASSWD_FILE="/usr/local/samba/private/smbpasswd.tdb"
>
> Using LIBS = -ldl -lnsl -lpam
>
> Linking bin/smbd
>
> passdb/pass_check.o: In function `password_check':
>
> passdb/pass_check.o(.text+0x12f): undefined reference to `crypt'
>
> collect2: ld returned 1 exit status
>
> make: *** [bin/smbd] Error 1

Is the problem on my end, or your? If you need more info, shout.

Thanks for a great product.

Best,
/tom





More information about the samba mailing list