Santosh Singh wrote (sanhackin@xxxxxxxxx): > anyone can help me when I tried to compile a program > using function crypt(), encrypt() defined in unistd.h > I am not getting it. Did you link with libcrypt?? Try - gcc -Wall foo.c -lcrypt -Raja