There has been a discussion on the mingw-users list about this.
It has been summarized in:
http://mywebpage.netscape.com/yongweiwu/stdcall.htm
http://mywebpage.netscape.com/yongweiwu/dllfaq.htm
Perhaps prefixing the extern declaration with
 __declspec(dllimport) solves your problem.

Kees Zeelenberg

----- Original Message -----
From: "Tim Stone - Four Stones Expressions" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, January 04, 2003 5:29 PM
Subject: [GnuWin32-Users] (no subject)


> I'm trying to use gdbm 1.8.0, and am having trouble linking my program
given
> the distributed libs.  The problem is that I'm getting an unresolved
extern on
> _gdbm_errno.  gdbm.h defines an extern of gdbm_errno, and the libgdbm.lib
has
> this as a symbol, but not with the preceeding underscore.  I'm using vc++
6.0.
> Any suggestions?
>
> c'est moi - TimS
> http://www.fourstonesExpressions.com
> http://wecanstopspam.org
>
>
>
>
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf
> _______________________________________________
> GnuWin32-Users mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/gnuwin32-users
>



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
GnuWin32-Users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/gnuwin32-users

Reply via email to