www.delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
Date: | Thu, 14 Apr 2005 09:50:50 +0200 |
From: | Corinna Vinschen <corinna-cygwin AT cygwin DOT com> |
To: | cygwin AT cygwin DOT com |
Subject: | Re: problem linking to pcre |
Message-ID: | <20050414075050.GQ22241@cygbert.vinschen.de> |
Reply-To: | cygwin AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
References: | <003001c5406a$ffe7cea0$070aa8c0 AT adexainc DOT com> |
Mime-Version: | 1.0 |
In-Reply-To: | <003001c5406a$ffe7cea0$070aa8c0@adexainc.com> |
User-Agent: | Mutt/1.4.2i |
On Apr 13 16:54, Rob Siklos wrote: > Hi all, > > I'm trying to port an app from linux to Cygwin, and it's choking when > trying to link to the pcre library. > > When I compile (with "gcc -lpcre rob.c"), I get the message: > /c/DOCUME~1/rsiklos/LOCALS~1/Temp/cc7QPrgq.o(.text+0x44):rob.c: undefined > reference to `_pcre_compile' > collect2: ld returned 1 exit status Did you try `gcc rob.c -lpcre'? I suggest reading the ld(1) info pages. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader mailto:cygwin AT cygwin DOT com Red Hat, Inc. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |