From owner-freebsd-questions Thu Jun 11 11:29:55 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id LAA20874 for freebsd-questions-outgoing; Thu, 11 Jun 1998 11:29:55 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from camel8.mindspring.com (camel8.mindspring.com [207.69.200.58]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id LAA20698 for ; Thu, 11 Jun 1998 11:29:24 -0700 (PDT) (envelope-from bkgold@mindspring.com) Received: from mindspring.com (user-38ld81s.dialup.mindspring.com [209.86.160.60]) by camel8.mindspring.com (8.8.5/8.8.5) with ESMTP id OAA20166 for ; Thu, 11 Jun 1998 14:29:17 -0400 (EDT) Message-ID: <358021B1.113F0D4A@mindspring.com> Date: Thu, 11 Jun 1998 14:28:01 -0400 From: Brian Gold Reply-To: bgold@reedycreek.com X-Mailer: Mozilla 4.05 [en] (Win95; I) MIME-Version: 1.0 To: freebsd-questions@FreeBSD.ORG Subject: gcc compiler Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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? -- Brian Gold Reedy Creek Direct Marketing Associates, LLC (919) 934-6869 Voice, (919) 934-1537 Fax bgold@reedycreek.com http://www.reedycreek.com/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message