This is the mail archive of the
cygwin@sources.redhat.com
mailing list for the Cygwin project.
Re: Error: undefined reference to `_imp__pcre_malloc'
Charles Wilson wrote:
> 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.
Thanks, that worked. I seems that the PCRE-library was set to link
to a DLL when _WIN32 was defined.
May you live long and spamless,
Andreas Bergstrøm
--
HTTP://www.thespambuster.net/
Fight Spam! Join EuroCAUCE! == http://www.euro.cauce.org/
Using Linux? Register at: http://counter.li.org/
Feel good? Don't worry; you'll get over it!
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com