delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/02/02/06:54:45

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Message-ID: <000901c1abe0$96107710$1066460a@garbageworld>
From: "Ben Stewart" <ben AT whsc DOT vic DOT edu DOT au>
To: <cygwin AT cygwin DOT com>
Subject: crypt 1.0-1 - Errors linking a C program
Date: Sat, 2 Feb 2002 22:56:00 +1100
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 6.00.2600.0000
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000
X-Sina-Mail-Agent: sinadeliver-3.13-1.80.4.1

G'day all,

I've been trying to compile an app that makes use of crypt.h, and get the
following errors whenever trying to compile:

$ gcc -lcrypt -o app main.c

(5 times, different offsets)
/f/DOCUME~1/ADMINI~1/LOCALS~1/Temp/ccriYGpS.o(.text+0x298f9):main.c:
undefined reference to `crypt'
/f/DOCUME~1/ADMINI~1/LOCALS~1/Temp/ccriYGpS.o(.text+0x5d5ca):main.c: more
undefined references to `crypt' follow
collect2: ld returned 1 exit status

I've tried gcc with and without -lcrypt... any ideas?

Pls reply directly, not on the mailing list

Thanks



--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019