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

LacaK <[email protected]>
Newsgroups gmane.comp.db.tds.freetds
Message-ID <[email protected]>
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
> [email protected]
> http://lists.ibiblio.org/mailman/listinfo/freetds
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.