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

Frediano Ziglio freddy77 at gmail.com
Thu Apr 3 16:52:20 EDT 2014


Sure!

Frediano

2014-04-03 9:41 GMT+01:00 LacaK <lacak at zoznam.sk>:
> 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
>>
>
> _______________________________________________
> FreeTDS mailing list
> FreeTDS at lists.ibiblio.org
> http://lists.ibiblio.org/mailman/listinfo/freetds


More information about the FreeTDS mailing list