Skip to Content.
Sympa Menu

freetds - Re: [freetds] Compiling db-lib using Visual C++ 2005 Express

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: LacaK <lacak AT zoznam.sk>
  • To: FreeTDS Development Group <freetds AT lists.ibiblio.org>
  • Subject: Re: [freetds] Compiling db-lib using Visual C++ 2005 Express
  • Date: Thu, 03 Apr 2014 10:41:14 +0200

I have resolved these errors.
I have added
- socketpair.c to "replacements"
- #define HAVE_GETADDRINFO 1 in win32/config.h
- add define _WIN32_WINNT=0x0400 to "replacements"
Is it okay?
If I prepare patch for VS C++ project files, do you will accept them ?
Thanks
-Laco.

Hi,
I am trying compile dblib.dll using Microsoft Visual C++ 2005 Express
I use freetds-master/FreeTDS.sln as starting point (after time I have added some missing files)
But I still can not resolve these errors:
tds.lib(mem.obj) : error LNK2001: unresolved external symbol _tds_freeaddrinfo
tds.lib(config.obj) : error LNK2001: unresolved external symbol _tds_freeaddrinfo
tds.lib(mem.obj) : error LNK2001: unresolved external symbol _tds_socketpair
tds.lib(config.obj) : error LNK2001: unresolved external symbol _tds_getaddrinfo
tds.lib(net.obj) : error LNK2001: unresolved external symbol _tds_getnameinfo
replacements.lib(win_mutex.obj) : error LNK2001: unresolved external symbol _TryEnterCriticalSection
Any suggestions?
Thanks
-Laco.
_______________________________________________
FreeTDS mailing list
FreeTDS AT lists.ibiblio.org
http://lists.ibiblio.org/mailman/listinfo/freetds






Archive powered by MHonArc 2.6.24.

Top of Page