Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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 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?= CC: "Uwe H. Steinfeld" , Cygwin mailing list 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> Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit 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