From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <4a8055b50c0877686570b0842621d8a0.axp-list@archive.invalid> X-Archive-Original-Message-ID: <199708041435.JAA21558@melanoma.uchicago.edu> Date: Mon, 4 Aug 1997 10:26:56 -0400 (EDT) From: Paul N. Subject: Re: crypt In-Reply-To: <19970803161446.26520@wizard.real-time.com> i had this problem when i tried compiling xlockmore. it would compile fine...then it would bomb out w/ a similar msg. isnce the error occured after linking the *.o files...and while it trying to load the libs i just added "-lcrypt" to the loading/linking phase of compilation and it worked. paul On Sun, 3 Aug 1997, Bob Tanner wrote: > I am tring to compile a program that uses the crypt() program and > under Redhat 4.1 Alpha version gcc reports that it cannot find crypt. > Where can I get a version of of glibc with crypt support? > > [4:18pm] 123 :metal-forge% make > /dev/null > main.o: In function `crypt_string': > main.c(.text+0xad4): undefined reference to `crypt' > main.c(.text+0xad8): undefined reference to `crypt' > make[1]: *** [crossfire] Error 1 > > [4:20pm] 125 :metal-forge% rpm -qa | grep libc > glibc-devel-0.961212-3 > glibc-static-0.961212-3 > glibc-0.961212-4 > > [4:20pm] 126 :metal-forge% rpm -qa | grep gcc > gcc-2.7.2.1-2 > gcc-c++-2.7.2.1-2 > > [4:22pm] 127 :metal-forge% uname -a > Linux metal-forge 2.0.27 #1 Sun Dec 22 01:14:45 EST 1996 alpha > > Thanks. > > -- > Bob Tanner | Phone : 612.943.8700 > http://www.real-time.com | Fax : 612.943.8300 > Key fingerprint = 6C E9 51 4F D5 3E 4C 66 62 A9 10 E5 35 85 39 D9 > > -- > To unsubscribe: send e-mail to axp-list-request@redhat.com with > 'unsubscribe' as the subject. Do not send it to axp-list@redhat.com > -- To unsubscribe: send e-mail to axp-list-request@redhat.com with 'unsubscribe' as the subject. Do not send it to axp-list@redhat.com