delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/07/12/17:43:42

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Message-ID: <396CE476.38873C24@ece.gatech.edu>
Date: Wed, 12 Jul 2000 17:34:46 -0400
From: Charles Wilson <cwilson AT ece DOT gatech DOT edu>
X-Mailer: Mozilla 4.73 [en] (Windows NT 5.0; U)
X-Accept-Language: en
MIME-Version: 1.0
To: Andreas =?iso-8859-1?Q?Bergstr=F8m?= <abergstr AT halden DOT net>
CC: "Uwe H. Steinfeld" <usteinfeld AT nikocity DOT de>,
Cygwin mailing list <cygwin AT sourceware DOT cygnus DOT com>
Subject: Re: Error: undefined reference to `_imp__pcre_malloc'
References: <396B38E8 DOT E92A2C65 AT halden DOT net> <000901bfec26$a4ca58a0$a92036d5 AT uhs> <396CD2A8 DOT C664E88E AT halden DOT net>

Andreas Bergstrøm wrote:
> 
> "Uwe H. Steinfeld" wrote:
> >
> > Hi Andreas,
> >
> > looks like you need the PCRE library (Perl-compatible regular expresions).
> > The latest version should be on
> > ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/pcre-xxx.tar.gz
> 
> Thanks for the information, but as far as I can see it is included with
> Exim. A pcre_malloc() is defined in the pcre.h file, but not
> _imp__pcre_malloc, which is the macro that make is complaining about.
> 
> So, I ask once again, is this a cygwin bug?
> 
> But, thanks anyway.
> 
> May you live long and spamless,
> 

You see _imp__ stuff when building/linking to dll's. Check your code for
'declspec(dllimport)' or 'declspec(dllexport)'. If you're not
building/linking to a dll, then these declspec things need to go away.
If you *are* building/linking to a dll, then you've got a lot of reading
in the mailing list archives to do yet, if you haven't already learned
about declspec.

--Chuck

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


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