Date: Fri, 12 Jun 1998 03:21:11 -0700 (PDT) From: Doug White <dwhite@resnet.uoregon.edu> To: bgold@reedycreek.com Cc: freebsd-questions@FreeBSD.ORG Subject: Re: gcc compiler Message-ID: <Pine.BSF.3.96.980612032040.11999v-100000@resnet.uoregon.edu> In-Reply-To: <358021B1.113F0D4A@mindspring.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 11 Jun 1998, Brian Gold wrote: > I have a basic C program that uses the crypt() function. When I try to > compile it on FreeBSD 2.2.5 I get the error message: > /var/tmp/cc0010551.o: undefined symbol '_crypt' referenced from text > segment > > I have compiled this same program on almost every other Unix version > including Linux without any problems. Can anyone help? Add -lcrypt to teh CFLAGS in the Makefile. Doug White | University of Oregon Internet: dwhite@resnet.uoregon.edu | Residence Networking Assistant http://gladstone.uoregon.edu/~dwhite | Computer Science Major To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.980612032040.11999v-100000>