crypt
Petr Novotny
Petr.Novotny na antek.cz
Pátek Leden 28 18:51:04 CET 2000
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 28 Jan 00, at 17:33, Tomas Kouba wrote:
> Chybove hlaseni :
> pokus.c: In function `main':
> pokus.c:11: warning: implicit declaration of function `crypt'
>
> -lcrypt pridano...
Aha, takze v uvedenem headeru nemate funkci crypt definovanou.
"Quick and dirty" lze tenhle warning ignorovat. (crypt() je sice
implicitne definovana, ze vraci int, ale jako argument printf() je to
naprosto fuk.)
Spravne reseni je najit, ktery header by mel crypt() definovat a
pripadne proc to nedela. (Na mem RH5.1 je to /usr/include/crypt.h -
i kdyz manpage rika, ze to zije v unistd.h.)
-----BEGIN PGP SIGNATURE-----
Version: PGP 6.0.2 -- QDPGP 2.60
Comment: http://community.wow.net/grt/qdpgp.html
iQA/AwUBOJHXB1MwP8g7qbw/EQKiPQCeKLxAMkknLpVTpDlbp47tS4NHaDEAn39D
Mz0twbF9fDcXwhzNK5JWCplE
=fMl5
-----END PGP SIGNATURE-----
--
Petr Novotny, ANTEK CS
Petr.Novotny na antek.cz
http://www.antek.cz
PGP key ID: 0x3BA9BC3F
-- Don't you know there ain't no devil there's just God when he's drunk.
[Tom Waits]
Další informace o konferenci Linux