From: Tim S. - F. S. E. <ti...@fo...> - 2003-01-04 16:29:40
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.comhttp://wecanstopspam.org
There has been a discussion on the mingw-users list about this.
It has been summarized in:
http://mywebpage.netscape.com/yongweiwu/stdcall.htmhttp://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" <ti...@fo...>
To: <gnu...@li...>
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
> Gnu...@li...
> https://lists.sourceforge.net/lists/listinfo/gnuwin32-users
>