--Boundary-02=_Z9aX+Rl3byCABzY Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Description: signed data Content-Disposition: inline =46urnish, Trever G wrote: >Thiago Macieira [mailto:thiagom@wanadoo.fr] wrote: >>Furnish, Trever G wrote: >>>checkpass_etcpasswd.o(.text+0x26): undefined reference to `crypt' >>>collect2: ld returned 1 exit status >> >>You're just missing -lcrypt in the link line. > >Thanks - I'll give it a try. Any thoughts on the "proper" way to get that >added to the line? And by "the link line", you're refering to the line th= at >begins with /bin/sh ../libtool, correct? You can compile manually by copy/pasting the link line (yes, the one that=20 starts with libtool and has -o myprogram) and adding -lcrypt to its end. The Right Solution (TM) would be to write a test case in the configure scri= pt=20 that detects that crypt(3) is in libcrypt and automatically add -lcrypt to= =20 the automatic library variable or to something like $(LIBCRYPT). That way,= =20 you can use myprogram_LDADD =3D $(LIBCRYPT) to make sure you link against t= he=20 proper libraries. > >Did I mention that my C skill level is pretty low? :-) As long as your make / Automake level is pretty high, it won't matter ;-) =2D-=20 Thiago Macieira - UFOT Registry number: 1001 thiagom@mail.com ICQ UIN: 1967141 PGP/GPG: 0x6EF45358 Registered Linux user #65028 --Boundary-02=_Z9aX+Rl3byCABzY Content-Type: application/pgp-signature Content-Description: signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQA+Xa9ZM/XwBW70U1gRAhJZAKC4JtVT5RF5Q/vUw+9gE9r5kMi3yQCglqh5 YBZ4E5gEb12Q3LzIecVNqzg= =GHkr -----END PGP SIGNATURE----- --Boundary-02=_Z9aX+Rl3byCABzY-- >> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<