Do not define crypt(). The supported function is DES_crypt() (an des_crypt()